This content has been marked as final.
Show 2 replies
-
1. Re: Page navigation with Seam
ilya_shaikovsky Feb 19, 2008 6:29 AM (in response to phread)You mean that your action changes the current tab to another using selectedTab="#{navigation.selectedTab}" property change?
In this case you should develop the methods for sure. -
2. Re: Page navigation with Seam
phread Feb 20, 2008 4:32 AM (in response to phread)I've found a satisfying solution :
<rich:tabPanel selectedTab="#{navigation.selectedTab}"> <rich:tab label="tab1" name="subpage1" action="/subpage1"> <ui:insert name="subpage1"/> </rich:tab> <rich:tab label="tab2" name="subpage2" action="/subpage2"> <ui:insert name="subpage2"/> </rich:tab> ... <rich:tabPanel>
and in seam's pages.xml I added for each view :
<action execute="#{navigation.setSelectedTab('subpage2')}"/>