siriusblack
27 Nov 2011, 9:05 PM
Hi All,
I am using ExtJS for one of my projects. In the project, I have two similar forms, scheduleForm and scheduleTemplate. Functionality of these forms are similar, and their elements are also same. I have kept variable names different. In my project, if I load scheduleForm or scheduleTemplate separately, they work fine. But if I load scheduleForm after opening (and closing) scheduleTemplate, the system keeps referring to objects in scheduleTemplate.
To close the forms, I have called form.destroy and form.close. Theoritically, what I have understood is, if I call these functions, they will remove the scope of that form from the memory. So, after closing scheduleTemplate, if I open scheduleForm, it should work properly. But this isn't happening right now.
Can anybody help me with this problem?
I have attached xds and associated javascript files with this post.
29604
Thanks in advance.
Regards,
Sushil
I am using ExtJS for one of my projects. In the project, I have two similar forms, scheduleForm and scheduleTemplate. Functionality of these forms are similar, and their elements are also same. I have kept variable names different. In my project, if I load scheduleForm or scheduleTemplate separately, they work fine. But if I load scheduleForm after opening (and closing) scheduleTemplate, the system keeps referring to objects in scheduleTemplate.
To close the forms, I have called form.destroy and form.close. Theoritically, what I have understood is, if I call these functions, they will remove the scope of that form from the memory. So, after closing scheduleTemplate, if I open scheduleForm, it should work properly. But this isn't happening right now.
Can anybody help me with this problem?
I have attached xds and associated javascript files with this post.
29604
Thanks in advance.
Regards,
Sushil