Sorry wrong code fragment! Here is the right one:
/* 'search by MobiNET ID tab */
tabs.add(new PanelCachingTab(new AbstractTab(new
StringResourceModel("title.byMobinetId",
FindUserAccount.this, null)) {
private static final long serialVersionUID =
5564837747113048306L;
public Panel getPanel(String panelId) {
return new MobinetTab(panelId);
}
}));
/* 'search by person's details tab */
tabs.add(new PanelCachingTab(new AbstractTab(new
StringResourceModel("title.byPersonDetails",
FindUserAccount.this, null)) {
private static final long serialVersionUID =
211211104202913141L;
public Panel getPanel(String panelId) {
return new PersonDetailTab(panelId);
}
}));
--
View this message in context:
http://www.nabble.com/Is-there-a-way-to-be-notified-when-a-tab-in-a-TabbedPanel-is-selected--tp21713724p21728517.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]