]> git.mxchange.org Git - jjobs-war.git/blobdiff - web/WEB-INF/templates.dist/guest_login_page.xhtml
Please cherry-pick:
[jjobs-war.git] / web / WEB-INF / templates.dist / guest_login_page.xhtml
index 2e7bc380f8d842da02a633c71e2dbc264eea1c09..e14db199db5c72d59df0826be9fd65458c4bd721 100644 (file)
@@ -1,22 +1,24 @@
-<?xml version="1.0" encoding="UTF-8" ?>\r
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\r
-<html\r
-       lang="#{localizationController.language}" xml:lang="#{localizationController.language}"\r
-       xmlns="http://www.w3.org/1999/xhtml"\r
-         xmlns:ui="http://xmlns.jcp.org/jsf/facelets"\r
-         xmlns:h="http://xmlns.jcp.org/jsf/html"\r
-         xmlns:f="http://xmlns.jcp.org/jsf/core"\r
-         >\r
-\r
-       <ui:composition template="/WEB-INF/templates/#{userLoginController.templateType}/#{userLoginController.templateType}_base.tpl">\r
-               <ui:define name="guest_title">#{msg.PAGE_TITLE_INDEX_FOO}</ui:define>\r
-\r
-               <ui:define name="content_header">\r
-                       #{msg.CONTENT_TITLE_INDEX_FOO}\r
-               </ui:define>\r
-\r
-               <ui:define name="content">\r
-                       Here goes your content.\r
-               </ui:define>\r
-       </ui:composition>\r
-</html>\r
+<?xml version="1.0" encoding="UTF-8" ?>
+<ui:composition
+       template="/WEB-INF/templates/#{userLoginController.baseTemplatePathName}_base.tpl"
+       xmlns="http://www.w3.org/1999/xhtml"
+       xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
+       xmlns:h="http://xmlns.jcp.org/jsf/html"
+       >
+
+       <ui:define name="document_guest_title">
+               <h:outputText value="#{msg.PAGE_TITLE_INDEX_FOO}" />
+       </ui:define>
+
+       <ui:define name="document_login_title">
+               <h:outputText value="#{msg.PAGE_TITLE_INDEX_FOO}" />
+       </ui:define>
+
+       <ui:define name="content_header">
+               <h:outputText value="#{msg.CONTENT_TITLE_INDEX_FOO}" />
+       </ui:define>
+
+       <ui:define name="content">
+               <!-- @TODO Here goes your content. //-->
+       </ui:define>
+</ui:composition>