[jboss-user] [JBoss Seam] - Iterating over @Factory list - c:forEach vs ui:repeat

jazir1979 do-not-reply at jboss.com
Sun Nov 19 19:34:01 EST 2006


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.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987182#3987182

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987182



More information about the jboss-user mailing list