myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Walter Mourão" <walter.mou...@gmail.com>
Subject Re: [TRINIDAD] - Change tab in panelTabbed using a button
Date Wed, 07 Jan 2009 15:41:43 GMT
You can use the "disclosed" property in showDetailItem to show/hide its
content.

Walter Mourão
http://waltermourao.com.br
http://arcadian.com.br
http://oriens.com.br



On Wed, Jan 7, 2009 at 1:22 PM, Enrique Medina Montenegro <
e.medina.m@gmail.com> wrote:

> Hi,
>
> I'm using a panelTabbed component, and I would like to allow the user to
> change between the tabs not only by clicking the tab itself, but also using
> a button in order to simulate a wizard, let's say.
>
> Let me put an example. Imagine we have a 3 tabs panelTabbed component, so
> in the content for the first tab I define a button (NEXT), then in the
> second tab's content I define two buttons (PRIOR and NEXT), and finally in
> the last tab I define another two buttons (PRIOR and SUBMIT).
>
> What would the code be to simulate clicking on the tab itself but from a
> button click?
>
> Thanks.
>
Mime
View raw message