|
Francisco, component tr:navigationPane is an iterating component by itself - no need for an explicit loop. I do it like this (using Facelets): <ui:component> <c:if test="#{bean.visible}"> <t:saveState id="selected" value="#{bean.selected}"/> <t:saveState id="tabs" value="#{bean.tabs}"/> <tr:navigationPane id="tabber" hint="tabs" value="#{bean.tabModel}" var="tab" styleClass="navigator"> <f:facet name="nodeStamp"> <tr:commandNavigationItem text="#{tab.label}" actionListener="#{bean.navigation}" id="tab" selected="#{cx:isSelected(bean, tab)}" icon="#{tab.icon}"/> </f:facet> </tr:navigationPane> <cx:include src="" bean="#{bean.componentBean}" container="#{container}tabby:"/> </c:if> </ui:component> Here everythings - from the tab list to the child component to appear below the tabs - is dynamically taken from a bean. Tab list and current selection are made persistent across requests by means of saveState (my beans are only request-scoped). Hope it helps. -- Renzo Francisco Passos wrote: By the way, I'm trying to populate dinamically either a panelTabbed or a navigationPane. |
- [Trinidad] tr:panelTabbed examples? Francisco Passos
- Re: [Trinidad] tr:panelTabbed examples? Adam Winer
- Re: [Trinidad] tr:panelTabbed examples? Francisco Passos
- Re: [Trinidad] tr:panelTabbed examples? Simon Lessard
- Re: [Trinidad] tr:panelTabbed example... Matthias Wessendorf
- Re: [Trinidad] tr:panelTabbed ex... Francisco Passos
- Re: [Trinidad] tr:panelTabbe... Francisco Passos
- Re: [Trinidad] tr:panelT... Renzo Tomaselli
- Re: [Trinidad] tr:panelT... Francisco Passos
- Re: [Trinidad] tr:panelT... Simon Lessard
- Re: [Trinidad] tr:panelT... Renzo Tomaselli
- Re: [Trinidad] tr:panelT... Francisco Passos
- Re: [Trinidad] tr:panelT... Simon Lessard
- Re: [Trinidad] tr:panelT... Francisco Passos
- Re: [Trinidad] tr:panelT... Francisco Passos
- Re: [Trinidad] tr:panelT... Simon Lessard
- Re: [Trinidad] tr:panelT... Francisco Passos
- Re: [Trinidad] tr:panelT... Simon Lessard

