I see there is a

http://api.jqueryui.com/tabs/#option-active

which does not seem to be implemented on wiquery (I will add it). So, what
you will need is some sort of AJAX version for

http://api.jqueryui.com/tabs/#event-activate

and on server side record this number (that you will pass as an extra
parameter to AJAX request). Which wicket version are you using?


On Mon, Nov 26, 2012 at 1:07 PM, Stefan Renz <s.r...@efonds.com> wrote:

> In principle, yes, that's one part of the solution. However, I need to
> know which index the page currently displays. How can I get the
> information, which tab is selected?
>
> Ernesto Reinaldo Barreiro wrote:
> > Can you try setDefaultSelectedTabIndex?
> >
> > On Mon, Nov 26, 2012 at 12:55 PM, Stefan Renz <s.r...@efonds.com> wrote:
> >
> >> Hi,
> >>
> >> we're using WiQuery tabs in our web application to divide information
> >> into smaller, logically grouped chunks.
> >>
> >> Often times, our users will select a few items in a list in order to
> >> browse through information. For each of those selected items we present
> >> a detail page with WiQuery tabs on them, along with a navigation toolbar
> >> to quickly flip through the selected items.
> >>
> >> Now, when clicking Prev or Next on the navigation toolbar, we swap the
> >> information panels with Ajax, but the selected WiQuery tab will of
> >> course by default reset itself to the first tab.
> >>
> >> How can I make the selected tab remain "sticky"? Is there a way to
> >> register for a "tab selected" event, so that I can manage the selection
> >> on the server?
> >>
> >> Thanks for your help,
> >> bye
> >>     Stefan
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> >> For additional commands, e-mail: users-h...@wicket.apache.org
> >>
> >>
> >
> >
>
> --
> im Auftrag der eFonds Solutions AG, +49-89-579494-3417
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
Regards - Ernesto Reinaldo Barreiro
Antilia Soft
http://antiliasoft.com/ <http://antiliasoft.com/antilia>

Reply via email to