Results 1 to 4 of 4

Thread: Error om closing extjs window with panel or formpanel

  1. #1
    Sencha User
    Join Date
    Feb 2010
    Posts
    96
    Vote Rating
    0
      0  

    Default Error om closing extjs window with panel or formpanel

    After closing an ext-Window which contains an ext-FormPanel or ext-Panel I get the error message "b.getPositionEl().dom is undefined".

    The weird thing is that this error does not occur when the ext-window contains only ext-Toolbars or when the ext-window configuration option "modal" is set to be "false".

    I'd appreciate any suggestion.

    Thanks in advance!

  2. #2
    Sencha User
    Join Date
    Feb 2010
    Posts
    96
    Vote Rating
    0
      0  

    Default

    Finally I found the solution!

    The problem was that the FormPanel and the Panel were instantiating with an ID that was already used in my code somewhere.

    My new question is that if there is a smart (ext)way to set different unique ID's to ext components

  3. #3
    Sencha User fay's Avatar
    Join Date
    Apr 2007
    Location
    Ireland
    Posts
    1,750
    Vote Rating
    10
      0  

    Default

    Ext.id()

    Generates unique ids. If the element already has an id, it is unchanged.

  4. #4
    Sencha User
    Join Date
    Feb 2010
    Posts
    96
    Vote Rating
    0
      0  

    Default

    Thank you fay!!!

    Your suggestion has worked!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •