View Full Version : id already registered - problem - extjs4.1

2 Apr 2012, 3:07 AM
yesterday i updated to extjs 4.1-rc

now i have the following problem:

i have a treepanel (my navigation to get my forms), and a tabpanel (to display my forms).

when i open a form the first time and add it to the tabpanel everything works fine, after closing and reopening the panel i get an error that the ids (which are used in the form) are already registered.

is there a way to unregister the whole form, so i dont have to unregister each item. (because i dont know all of the ids inside the form)

or is it possible to deactive this "id checker" or any other idea how to solve my problem?


edit: solved by using .removeAll(true) on the parent of my form element

3 Apr 2012, 10:43 AM
So you solved it using removeAll(true) on destroy it doesn't do this automatically or do you change the autoDestroy config?

3 Apr 2012, 1:41 PM
used autoDestroy: False on the TabPanel and the Panel in the TapPanel.

autoDestroy: true on this containers just brought me some failures

4 Apr 2012, 4:19 AM
But solving this brought me a new failure: