PDA

View Full Version : preveious DOM gets repeated on each construction



anilbms
14 Aug 2013, 10:54 PM
I have implemented reusable component - [singltabpanel]panel which has [header] and [body] by extending Container.
I am dynamically updating body part with my custom component, when I call this singletabpanel second time, my body part dom persists, my i know what could the reason?

I know I could have used standard tabpanel class and implemented my requirements, but I wanted to have css3 transition for my accordion behavior and dynamic height behavior.

For me it looks like by mistake , I may be updating to prototype,

slemmon
19 Aug 2013, 7:28 AM
I think you'll need to share your code for how you're defining your custom component and an example of how you're using it such that it's creating an issue for you.