Created
August 17, 2012 15:51
-
-
Save pauldijou/3380078 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <ui:composition template="/resources/template.xhtml" xmlns="http://www.w3.org/1999/xhtml" | |
| xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/jsf/facelets" | |
| xmlns:b="http://richfaces.org/sandbox/bootstrap"> | |
| <ui:define name="content"> | |
| <b:gridRow fluid="#{sessionBean.fluid}" styleClass="component"> | |
| <b:gridColumn span="6"> | |
| <ui:insert name="body">Body</ui:insert> | |
| <ui:repeat var="_sample" value="#{samples.split(',')}"> | |
| <h2 id="#{_sample}">#{_sample}</h2> | |
| <ui:include src="/resources/sample.xhtml"> | |
| <ui:param name="tag" value="#{tag}" /> | |
| <ui:param name="sample" value="#{_sample}" /> | |
| </ui:include> | |
| </ui:repeat> | |
| </b:gridColumn> | |
| <b:gridColumn span="6"> | |
| <ui:include src="/resources/taglib.xhtml"> | |
| <ui:param name="tag" value="#{tag}" /> | |
| </ui:include> | |
| </b:gridColumn> | |
| </b:gridRow> | |
| </ui:define> | |
| </ui:composition> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| An Error Occurred: | |
| /resources/sample.xhtml @13,68 <ui:include src="/component/#{tag}/sample/#{sample}.xhtml"> Invalid path : /component/modal/sample/.xhtml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <ui:param name="samples" value="basic,custom,complex" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment