1. #1
    Ext User
    Join Date
    Mar 2007
    Posts
    20
    Vote Rating
    0
    Dextro is on a distinguished road

      0  

    Default borderlayout problem

    borderlayout problem


    I try to make a borderlayout. I have a working example. But in another place I get the following error and I really don't know the answer.


    Code:
    Layout = function(){
            return {
                init: function(){
                   var layout = new YAHOO.ext.BorderLayout(document.body, {
                   		hideOnLayout: true,
                        layoutheader: {
                            split:false,
                            initialSize: 80
                        }
                    });
                    layout.add('header', new YAHOO.ext.ContentPanel('layoutheader', {fitToFrame:true}));
    
               }
         }
    
    }();
    YAHOO.ext.EventManager.onDocumentReady(Layout.init, Layout, true);
    Code:
    this.regions[target] has no properties
    add("header", Object closable=false loaded=false active=false)yui-ext-debug.js (line 12343)
    init()layout.js (line 11)
    namespace()utilities.js (line 2)
    fireDocReady()yui-ext-debug.js (line 3386)
    CustomEvent(DOMContentLoaded )event-min.js (line 1)
    [Break on this error] return this.regions[target].add(panel);
    Does someone know what goes wrong here?

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,499
    Vote Rating
    47
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Where in the documentation and examples do you see "header" as the name of a Region?

  3. #3
    Ext User
    Join Date
    Mar 2007
    Posts
    20
    Vote Rating
    0
    Dextro is on a distinguished road

      0  

    Default


    Damn, I thought I could give it any name I want. Not very smart.

    Can you give me a hint where I can find that in the documentation? Just to solve such stupid mistakes by my self the next time.

  4. #4
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,499
    Vote Rating
    47
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Go to the main page. Jack's blog has a lot of worked examples. And the "DOCUMENTATION" link works, and has examples.

Similar Threads

  1. BorderLayout : Z-index problem
    By saasira in forum Ext 3.x: Help & Discussion
    Replies: 9
    Last Post: 10 Mar 2010, 8:34 AM
  2. Possible BorderLayout problem?
    By salix in forum Ext 1.x: Bugs
    Replies: 11
    Last Post: 26 Mar 2007, 10:13 AM
  3. BorderLayout Problem.
    By fsuguinness in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 20 Mar 2007, 6:09 AM
  4. Newbie problem with BorderLayout
    By dotnetCarpenter in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 10 Mar 2007, 10:25 AM
  5. Newbie with a problem with BorderLayout and Tabs
    By ElGranAzul in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 24 Nov 2006, 11:29 AM

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi