I don't know if it is doable with the declarative syntax via jsp/facelets, but it would be easy to use a parent panel's binding, then build your tabs in java code.

Shane


geirgp wrote:
Hi,

Is it possible for the panelTabbedPane to iterate over a java.util.List and
create one tab for each entry in the list?

I tried enclosing the panelTabs in a dataList (see below) but then no tabs
were created and all information from all objects in the list were printed
on the same panel.

<t:panelTabbedPane serverSideTabSwitch="false"
        <t:dataList var="segment" value="#{queryBean.result.segments}">
                <h:column>
                        <t:panelTab label="#{segment.name}" >
                                <h:outputText 
value="#{segment.name}"></h:outputText>
                        </t:panelTab>
                </h:column>
        </t:dataList>
</t:panelTabbedPane>


--
Shane

Reply via email to