use parameters

PageParameters parameters = new PageParameters();
parameters.set("TAB_NUM", 3);
parameters.set("USERNAME_ID", "username);

setResponsePage(YourCLaasContainingTheTabbedPanel.class, pageParameters);

and in your YourCLaasContainingTheTabbedPanel.class
extract the parameters

int tabindex = pageParameters.get("TAB_NUM").toInt();

and set tabbedPanel # setSelectedTab accordingly



François Meillet
Formation Wicket - Développement Wicket





Le 20 déc. 2014 à 08:44, K <kondetiudayki...@gmail.com> a écrit :

> Hi 
> 
> I have a similar issue. i am trying to navigate to tab i intend to but issue
> is i have  parameters i need to forward to that tab. can anyone suggest how
> to handle it.
> 
> Scenario: i have list of items displaying in tab1 and when i click on the
> item it has to be redirected to tab3 with the item details (lets say
> username and password).
> 
> Thanks in advance
> K
> 
> -----
> K
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Switching-between-wicket-tabs-tp3044579p4668862.html
> Sent from the Users forum mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 

Reply via email to