[jboss-user] [JBoss Seam] - Recursive facelets

dilator do-not-reply at jboss.com
Fri Jan 12 13:01:16 EST 2007


Has anyone got recursive facelets working, either using ui:include or a custom tag?

I have something like this:


  | <ui:repeat var="c" value="#{collection}">
  |   <custom:tag component="#{c}" />
  | </ui:repeat>
  | 

Custom tag:


  | <ui:composition>
  |   <h:outputText value="#{component.name}" />
  | 
  |   <ui:repeat var="c" value="#{component.children}">
  |     <custom:tag component="#{c}" />
  |   </ui:repeat>
  | </ui:composition>

I get a big fat stack overflow.  Scoping (lack of?) issue?

Thanks - ben

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

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



More information about the jboss-user mailing list