This code looks cool, thanks a lot!
Erik van Oosten wrote:
>
> How about this:
>
> 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);
> }
> }) {
>
> @Override
> public Panel getPanel(final String panelId) {
>
> // ... DO SOMETHING UPON TAB SELECTION ...
>
> return super.getPanel(panelId);
> }
>
> });
>
> This override getPanel from PanelCachingTab. But you could also
> implement your own ITab.
>
> Regards,
> Erik.
>
--
View this message in context:
http://www.nabble.com/Is-there-a-way-to-be-notified-when-a-tab-in-a-TabbedPanel-is-selected--tp21713724p21728759.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]