View Full Version : display problems when adding and removing components dynamically.please help:)

5 Oct 2010, 3:36 AM
I have 2 panels and I want to add and remove components dynamically to/from them.
the problem is, that when I press a button (that was part of a composite field that was added to the panel by the add method) and this buttons causes an alert,and I press the ok button on the alert, all the items that were beneath the alert just vanish!!
when I move the mouse out of the the vanished space the content returns....
I am using the component.rendered = false before adding each component and using the doLayout method of each panel(with a false parameter) and the problem persists....besides that,everything works fine..
please,I really need your help:s

5 Oct 2010, 3:44 AM
can you give us a resume of your code to reproduce your problem, it's more easy for helping !