On Wed, Feb 20, 2008 at 10:51 AM, Michael Mehrle <[EMAIL PROTECTED]> wrote: > I have a TabbedPanel (a) that contains two panels which in turn each > contain one TabbedPanel (b) and (c). When I switch a tab in (b) or (c) I > need to retain the tab selection of (a) in their link logic. I am > currently overriding newLink() for all panels using > IndexedParamUrlCodingStrategy. > > One approach I am considering is to capture the event when (a) is being > switched to another tab, catching its tab index and putting it into an > instance variable of the enclosing page. > > Questions: > > 1) How do I catch that tab switching event?
you provide the ITab implementaton. your event is when ITab.getPanel() is called.. > 2) Does anyone know a better way of correlating link generation logic > with nested tabbed panels? yes. use normal links, that way everything is done automatically :) -igor > > Thanks in advance! > > Michael > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]