This content has been marked as final.
Show 2 replies
-
1. Re: Dynamically create tabs for tabPanel
anacarda Mar 22, 2008 7:45 PM (in response to anacarda)I found using c:forEach works better:
<rich:tabPanel switchType="ajax"> <rich:tab label="Testing"> <h:outputText value="Testing"/> </rich:tab> <c:forEach items="#{settingGroupAction.resultList}" var="settingGroup"> <rich:tab label="#{settingGroup.group_name}"> <h:outputText value="This is just a test"/> </rich:tab> </c:forEach> </rich:tabPanel>
Also, I am now letting the id created automaticaly -
2. Re: Dynamically create tabs for tabPanel
mars1412 Mar 25, 2008 5:08 AM (in response to anacarda)read this to find out why this works:
http://www.ilikespam.com/blog/c:foreach-vs-ui:repeat-in-facelets