You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Antonio Mauriello <an...@gmail.com> on 2010/06/01 12:11:15 UTC
how to get the selected tabbedpanel
Hi All,
I have the following issue:
A wicket page where I'm working on has a Form plus an AjaxTabbedPannel.
The form has only buttons that change the status of some values in the page.
In each onSubmit() I set the response page to reload the same page but it
goes the default tab and not to the one selected when I click the button.
(All the buttons are outside the tabbedPanels, the panels just show
different details..)
Is there a way to get from an onSubmit() button method the selectedTab?
I cannot find a way to call from onSubmit the getSelectedTab() and pass it
as pageparameter to the wicketPage (to use then the setSelectedTab)
Regards,
Antonio
Re: how to get the selected tabbedpanel
Posted by Igor Vaynberg <ig...@gmail.com>.
TabbedPanel#getSelectedTab()
-igor
On Tue, Jun 1, 2010 at 3:11 AM, Antonio Mauriello
<an...@gmail.com> wrote:
> Hi All,
>
> I have the following issue:
>
> A wicket page where I'm working on has a Form plus an AjaxTabbedPannel.
>
> The form has only buttons that change the status of some values in the page.
>
> In each onSubmit() I set the response page to reload the same page but it
> goes the default tab and not to the one selected when I click the button.
>
> (All the buttons are outside the tabbedPanels, the panels just show
> different details..)
>
>
> Is there a way to get from an onSubmit() button method the selectedTab?
>
> I cannot find a way to call from onSubmit the getSelectedTab() and pass it
> as pageparameter to the wicketPage (to use then the setSelectedTab)
>
>
> Regards,
>
> Antonio
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org