1. #1
    Ext JS Premium Member
    Join Date
    Jan 2008
    Posts
    378
    Vote Rating
    2
    silcreval is on a distinguished road

      0  

    Red face ContainerLayout error 'A is undefined'

    ContainerLayout error 'A is undefined'


    I'm using a Ext.Component to create a small custom
    class. A single element is added to the Ext.Component
    in the onRender class using document.createElement
    and then component.dom.insertBefore(el, position)

    The component works fine, events respond, and displays
    OK. However the element is placed inside a TabPanel
    and when initially rendered I always get the message:-

    A is undefined
    [Break on this error] Ext.layout.ContainerLayout=function(A){E...OUTS["auto"]=Ext.layout.ContainerLayout;

    Any idea what this might be?

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

      0  

    Default


    Use ext-all-debug.js!

  3. #3
    Ext JS Premium Member
    Join Date
    Jan 2008
    Posts
    378
    Vote Rating
    2
    silcreval is on a distinguished road

      0  

    Default


    Thanks, enabled that and managed to work out the problem.

    Is there a big overhead to using the debug versions of ext?

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

      0  

    Default


    A slightly slower page load of course.

    But you won't be using it in your live system when you have debugged all your code will you?

Thread Participants: 1