1 Reply Latest reply on May 19, 2008 12:09 PM by Sergey Smirnov

    Dynamic tab with a4j:repeat

    Shimon Lifshitz Newbie

      Can I use a4j:repeat for DynamicTab creation?
      code sample (That doesm't work...)

      <a4j:repeat value="#{package.categories}" rowKeyVar="ind" rows="0" var="var">
       <rich:tab label="#{var}" actionListener="#{package.categoryAction}">
       <f:attribute name="category" value="#{ind}"/>
       </rich:tab>
       <rich:tab label="#{var}" actionListener="#{package.categoryAction}">
       <f:attribute name="category" value="#{ind}"/>
       </rich:tab>
       </a4j:repeat>