]> git.mxchange.org Git - pizzaservice-war.git/blob - web/index.xhtml
Please cherry-pick:
[pizzaservice-war.git] / web / index.xhtml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition template="/WEB-INF/templates/guest/guest_base.tpl"
3                                 xmlns="http://www.w3.org/1999/xhtml"
4                                 xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
5                                 xmlns:h="http://xmlns.jcp.org/jsf/html"
6                                 xmlns:f="http://xmlns.jcp.org/jsf/core">
7
8         <!--
9         TODO: Not used:
10         xmlns:basket="http://mxchange.org/jshop/tags/basket"
11         //-->
12
13         <ui:define name="guest_title">
14                 <h:outputText value="#{msg.PAGE_TITLE_INDEX_WELCOME}" />
15         </ui:define>
16
17         <ui:define name="content_header">
18                 <h:outputText value="#{msg.CONTENT_TITLE_INDEX_WELCOME}" />
19         </ui:define>
20
21         <ui:define name="content">
22                 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_registration_in_index')}">
23                         <h:panelGroup layout="block" styleClass="registration_form">
24                                 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_register_multiple_page')}">
25                                         <ui:include src="/WEB-INF/templates/guest/user/register/guest_form_register_page1.tpl" />
26                                 </ui:fragment>
27                         </h:panelGroup>
28
29                         <h:panelGroup styleClass="para" layout="block">
30                                 <h:outputText value="#{msg.CONTENT_PAGE_INDEX_PARA3}" />
31                         </h:panelGroup>
32                 </ui:fragment>
33
34                 <ui:fragment rendered="#{not featureController.isFeatureEnabled('user_registration_in_index')}">
35                         <ui:include src="/WEB-INF/templates/guest/guest_index.tpl" />
36                 </ui:fragment>
37         </ui:define>
38 </ui:composition>