3 Replies Latest reply on Dec 13, 2006 12:51 AM by Daniel Young

    Iterating over @Factory list - c:forEach vs ui:repeat

    Daniel Young Novice

      Hi all,

      I'm using facelets and had been building up a menu of modules that a user has access to using a list outjected by a Seam @Factory method:

      <c:forEach items="#{moduleList}" var="module">
       <t:navigationMenuItem ............
       </t:navigationMenuItem>
      </c:forEach>
      


      I attempted to change this to use ui:repeat with value="#{moduleList}", but now my @Factory method is never called, it's just as if the list is empty. I am including the ui namespace in my xhtml header.

      Does anybody have an idea why this would happen?

      cheers,
      Daniel.