So with TabPanel there is an addBeforeSelectionHandler() method which allows me to show the tab header and delay loading the content until the tab is selected, how can i do this same thing with StackPanel? I don't see where i could hook that in.
What i'm considering is creating a set of nested stack panels that generate themselves dynamically. When you click a panel header, it makes an RPC call to see if there is a need to show a sub-stackpanel, or content. I guess i could do something similar with a tree (using the addOpenHandler() method) but stack panel i think would work better for how i'd like to interact with it. I guess worst case scenario could perhaps create a custom component which detects if it is being shown, and then have it populate itself via an rpc call... But it sure would be nice to have an event fire when the panels in the stack change. I haven't found much info on onBrowserEvent, i wonder if that would help? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---