0 Replies Latest reply on Dec 7, 2008 4:16 PM by blochaou

    problem with <a4j:repeater

    blochaou

      hi everybody

      i try to use repeater to dispay a menu. I use one repeater to display the items of the first level and another repeater for each items to display the subitems. Here is my code. Unfortunatly the second repeater does not work probably because the value of the second repeater depends on the var of the first repeater.
      Does anybody have a solution?
      Thanks

       <a4j:repeat id="rubriqueRepeat" value="#{AnnoncesBackingBean.rubriques}" var="rub">
       <rich:dropDownMenu direction="bottom-right" jointPoint="tr" value="#{rub.designation}">
      
       <a4j:repeat id="categorieRepeat" value="#{rub.categorieCollection}" var="cat">
       <rich:menuItem value="#{cat.designation}">
      
       </rich:menuItem>
       <rich:menuItem value="ffh"/>
       </a4j:repeat>
       </rich:dropDownMenu>
       </a4j:repeat>