Hi!

I have an AccordionLayoutPanel where each Panel it contains has an
onClick:

panelOne.addListener(new ContainerListenerAdapter() {
                                                        public void 
onRender(Component component) {
                                                                
panelOne.getEl().addListener("click", new EventCallback() {
}.....

This works fine and I can load data into the tab on demand.. The
problem is that the toggle button on the Panel doesn't respond to the
on click but only tries to show the content of the Panel which is
emtpt if the Panel hasn't been clicked and rendered. I know that I can
hide the toggle button(panelOne.setHideCollapseTool(true);) but it
would be cooler to be able to set a listener for them as well,
hopefully the same as the Panel.

Any ideas?

regards

/h
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to