[jboss-user] [JBoss Seam] - Re: How to import (include) .xhtml code

miloslav.vlach do-not-reply at jboss.com
Fri Jun 15 02:43:50 EDT 2007


Solved !!

The problem is not in ui:include but in ui:repeat - 


http://www.ninthavenue.com.au/blog/c:foreach-vs-ui:repeat-in-facelets

Working code...


  |         <s:fragment rendered="#{articleAction.article != null}">
  |            <c:forEach items="#{articleAction.article.articles}" var="a">
  |            	#{a.template}
  |            		<ui:include src="/templates/#{a.template}.xhtml" />
  |            </c:forEach>
  |         </s:fragment>
  | [/code[

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

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



More information about the jboss-user mailing list