TabbedPanel.setSelectedTab(zeroBasedIndex)

On Fri, May 9, 2008 at 2:42 PM, rtow <[EMAIL PROTECTED]> wrote:
>
>  hi,
>
>  I have a tab just like "Tabbed Panel Example: demonstrates ajax enabled
>  tabbed panel "
>
>  List tabs = new ArrayList();
>         tabs.add(new AbstractTab(new Model("first tab"))
>         {
>             public Panel getPanel(String panelId)
>             {
>                 return new TabPanel1(panelId);
>             }
>         });
>
>         tabs.add(new AbstractTab(new Model("second tab"))
>         {
>             public Panel getPanel(String panelId)
>             {
>                 return new TabPanel2(panelId);
>             }
>         });
>
>  When comes to this page, it always goes to the first tab.  Is it a way to
>  dynamically goes to other tab?
>
>  thanks!
>  rtow
>  --
>  View this message in context: 
> http://www.nabble.com/Jump-to-tab-in-tabbed-panel-dynamically-tp17156868p17156868.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]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to