2
0
Fork 0
imxmi/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/WEB-INF/template/page-wiki.xhtml
2012-06-04 22:49:12 +02:00

18 lines
678 B
HTML

<ui:composition template="/WEB-INF/template/structure/main.xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:jawr="https://jawr.dev.java.net/jsf/facelets"
>
<ui:define name="page_title">
<h:outputText value="#{vascPageController.pageTitle}" />
</ui:define>
<ui:insert name="main_head_js">
<jawr:script src="/jawr/wiki.js" />
</ui:insert>
<ui:define name="page_content">
<ui:repeat var="part" value="#{vascPageController.pageParts}">
<h2><h:outputText value="#{part.title}"/></h2>
<h:outputText value="#{vascPageController.renderContent(part)}" escape="false"/>
</ui:repeat>
</ui:define>
</ui:composition>