1 <?xml version="1.0" encoding="UTF-8" ?>
3 xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:f="http://java.sun.com/jsf/core"
5 xmlns:h="http://java.sun.com/jsf/html"
6 xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
7 xmlns:p="http://primefaces.org/ui"
10 <h:form rendered="#{featureController.isFeatureEnabled('user_registration')}">
11 <h:panelGroup layout="block">
12 <div class="table-header">
13 <h:outputText value="#{msg.GUEST_REGISTRATION_PAGE1_TITLE}" />
17 <fieldset class="fieldset">
18 <legend title="#{msg.GUEST_REGISTRATION_EMAIL_LEGEND_TITLE}">
19 <h:outputText value="#{msg.GUEST_REGISTRATION_EMAIL_LEGEND}" />
22 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_login_require_user_name')}">
23 <h:panelGroup styleClass="table-row" layout="block">
24 <div class="table-left-medium">
25 <p:outputLabel for="userName" value="#{msg.GUEST_REGISTRATION_ENTER_USER_NAME}" />
28 <div class="table-right-medium">
33 value="#{userRegistrationController.userName}"
35 requiredMessage="#{msg.GUEST_REGISTRATION_USER_NAME_NOT_ENTERED}"
40 <h:panelGroup styleClass="error-container" layout="block">
41 <p:message for="userName" />
45 <ui:include src="/WEB-INF/templates/guest/guest_email_address_repeat_fields.tpl" />
47 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_login_require_user_name')}">
48 <div class="para"></div>
50 <h:panelGroup styleClass="table-row" layout="block">
51 <div class="table-left-medium">
52 <p:outputLabel for="userPassword" value="#{msg.GUEST_REGISTRATION_ENTER_PASSWORD}" />
55 <div class="table-right-medium">
56 <p:inputText type="secret" id="userPassword" size="10" maxlength="255" value="#{userRegistrationController.userPassword}" required="#{not featureController.isFeatureEnabled('allow_user_registration_empty_password')}" requiredMessage="#{msg.GUEST_REGISTRATION_PASSWORD_NOT_ENTERED}" />
60 <h:panelGroup styleClass="error-container" layout="block">
61 <p:message for="userPassword" />
64 <h:panelGroup styleClass="table-row" layout="block">
65 <div class="table-left-medium">
66 <p:outputLabel for="userPasswordRepeat" value="#{msg.GUEST_REGISTRATION_ENTER_PASSWORD_REPEAT}" />
69 <div class="table-right-medium">
70 <p:inputText type="secret" id="userPasswordRepeat" size="10" maxlength="255" value="#{userRegistrationController.userPasswordRepeat}" required="#{not featureController.isFeatureEnabled('allow_user_registration_empty_password')}" requiredMessage="#{msg.GUEST_REGISTRATION_PASSWORD_REPEAT_NOT_ENTERED}" />
74 <h:panelGroup styleClass="error-container" layout="block">
75 <p:message for="userPasswordRepeat" />
78 <div class="para notice">
80 <li><h:outputText value="#{msg.GUEST_REGISTRATION_USER_NAME_NOTICE}" /></li>
81 <ui:fragment rendered="#{featureController.isFeatureEnabled('allow_user_registration_empty_password')}">
82 <li><h:outputText value="#{msg.GUEST_REGISTRATION_USER_PASSWORDS_EMPTY_ALLOWED}" /></li>
84 <ui:fragment rendered="#{not featureController.isFeatureEnabled('allow_user_registration_empty_password')}">
85 <li><h:outputText value="#{msg.GUEST_REGISTRATION_USER_PASSWORDS_EMPTY_NOT_ALLOWED}" /></li>
93 <ui:include src="/WEB-INF/templates/guest/guest_privacy_terms.tpl" />
95 <p:panelGrid columns="2" layout="grid">
98 value="#{msg.BUTTON_RESET_FORM}"
103 value="#{msg.BUTTON_CONTINUE_REGISTER_PAGE2}"
104 action="#{userRegistrationController.doRegisterMultiPage1()}"