muselmanach
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?
thx
edit: solved by using .removeAll(true) on the parent of my form element
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?
thx
edit: solved by using .removeAll(true) on the parent of my form element