You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Petr Fejfar <pe...@gmail.com> on 2009/07/22 12:46:48 UTC

How to keep selection of TabbedPanel

Hi all,

I have nested tabbed panels and I'd like save/restore
currect selected tab on each nested page when
e.g. switching parent tab.

What is a recommended way to achieve this?


Thanks, Petr

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: How to keep selection of TabbedPanel

Posted by Mathias Nilsson <wi...@gmail.com>.
You have the setSelectedTab(int index) the you could save. If you are not
certain if the tabbes are added in the same order use a factory or something
to get the tabs by identifier.


-- 
View this message in context: http://www.nabble.com/How-to-keep-selection-of-TabbedPanel-tp24604063p24604948.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org