incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Denham" <>
Subject Re: How to handle a button action in ShowOneTab
Date Tue, 09 May 2006 15:24:17 GMT
First I tried using the disclosed attribute:
<af:showDetailItem text="User's Customers" disclosed="#{backbean.tab2}">
   <ui:include src="tab2.xhtml" />

which did not initially work until I discovered that I had forgotten
to enclose the content of tab2.xhtml with ui:composition.

Now if I call setTab2(true) in the action method tab2 is shown on
return from the action.

Is there a better way to do this?


On 5/9/06, Martin Denham <> wrote:
> I have a ShowOneTab containing 3 tabs.  Tab 2 contains a Find button
> which populates a list displayed on tab 2.
> The problem is that tab 1 is always displayed after processing the
> action associated with the button, but the button was on tab 2.
> What is the correct way to handle a button on a tab and return to the
> same tab containing the button?
> Thanks
> Martin

View raw message