[jboss-user] [JBoss Seam] - Re: How to import (include) .xhtml code
Hi, I tried to use ui:include but with no success. When I use | ui:include src=/templates/testtemplate.xhtml / | it works. But the I use | ui:include src=/templates/#{a.template}.xhtml / | where #{a.template} = testtemplate I got | HTTP Status 404 - /cms/index.seam | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4054606#4054606 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4054606 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to import (include) .xhtml code
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=bbop=viewtopicp=4054610#4054610 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4054610 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to import (include) .xhtml code
ui:include from facelets (you are using facelets, right?) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4054527#4054527 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4054527 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to import (include) .xhtml code
ui:include/ does not allow rtexp View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4054531#4054531 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4054531 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to import (include) .xhtml code
What's rtexp? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4054534#4054534 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4054534 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to import (include) .xhtml code
a runtime expression View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4054537#4054537 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4054537 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to import (include) .xhtml code
Oh, you're trying to say it doesn't support EL expressions? It does :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4054538#4054538 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4054538 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to import (include) .xhtml code
Ah, my mistake, I guess EL doesn't qualify as a runtime expression. tag | nameinclude/name | tag-class/tag-class | tei-class/tei-class | body-contentJSP/body-content | descriptionThe include tag can point at any Facelet which might use the composition tag, component tag, or simply be straight XHTML/XML. It should be noted that the src path does allow relative path names, but they will always be resolved against the original Facelet requested. The include tag can be used in conjunction with multiple ui:param/ tags to pass EL expressions/values to the target page./description | attribute | namesrc/name | requiredtrue/required | rtexprvaluefalse/rtexprvalue | descriptionA literal or EL expression that specifies the target Facelet that you would like to include into your document./description | /attribute | /tag View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4054539#4054539 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4054539 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user