PDA

View Full Version : Expand/Collapse content panel-GXT



sbarakat
16 Nov 2009, 9:57 PM
Hello,
I don't know if its a bug, but i have the following problem:
When i try to find the contentPanel component using the ComponentManager and the content panel was collapsed the component can not be found. Is it a bug?
If not, is there any work around to solve this problem?

Thanks in advance for your answers.

sven
17 Nov 2009, 4:50 AM
Is the ContentPanel inside a borderlayout? If so, than it is not attached. Only attached Componens are registered in the ComponentManager.

sbarakat
17 Nov 2009, 11:51 PM
It is not inside a border layout.
When the content Panel(Left menu) is expanded the componentManager works normally, but when it is collapsed(hidden) the componentManager couldn't find it.
in fact it is something related to the collapsed/Expanded functions.

Another thing the event on Expand and Collapse doesn't work. Do you have any idea about this issue?

thank you a lot for your support.

sbarakat
18 Nov 2009, 2:24 AM
Sorry, i double check the code and in fact it is inside a border layout...and for this reason the Expand event doesn't work properly.
I mentioned from the threads here that it was a bug and it is fixed in the release gxt2.0.3.
Can you please tell me from where i can install this jar file in order to have the above bug corrected.

Thank you.

sbarakat
20 Nov 2009, 11:23 PM
Any feedback on this?