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">
8 <h:form id="form_register_page1" rendered="#{featureController.isFeatureEnabled('user_registration')}">
9 <h:panelGroup styleClass="table table-medium" layout="block">
10 <div class="table-header">
11 <h:outputText value="#{msg.GUEST_REGISTRATION_PAGE1_TITLE}" />
15 <fieldset class="fieldset" id="login_data">
16 <legend title="#{msg.GUEST_REGISTRATION_EMAIL_LEGEND_TITLE}">
17 <h:outputText value="#{msg.GUEST_REGISTRATION_EMAIL_LEGEND}" />
20 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_login_require_user_name')}">
21 <h:panelGroup styleClass="table-row" layout="block">
22 <div class="table-left-medium">
23 <h:outputLabel for="userName" value="#{msg.GUEST_REGISTRATION_ENTER_USER_NAME}" />
26 <div class="table-right-medium">
27 <h:inputText styleClass="input" id="userName" size="20" maxlength="255" value="#{userController.userName}" required="true" requiredMessage="#{msg.GUEST_REGISTRATION_USER_NAME_NOT_ENTERED}" />
31 <h:panelGroup styleClass="error_container" layout="block">
32 <h:message for="userName" errorClass="alert-danger" fatalClass="alert-danger" warnClass="alert-warning" />
36 <ui:include src="/WEB-INF/templates/guest/guest_email_address_repeat_fields.tpl" />
38 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_login_require_user_name')}">
39 <div class="para"></div>
41 <h:panelGroup styleClass="table-row" layout="block">
42 <div class="table-left-medium">
43 <h:outputLabel for="userPassword" value="#{msg.GUEST_REGISTRATION_ENTER_PASSWORD}" />
46 <div class="table-right-medium">
47 <h:inputSecret styleClass="input" id="userPassword" size="10" maxlength="255" value="#{userController.userPassword}" required="#{not featureController.isFeatureEnabled('allow_user_registration_empty_password')}" requiredMessage="#{msg.GUEST_REGISTRATION_PASSWORD_NOT_ENTERED}" />
51 <h:panelGroup styleClass="error_container" layout="block">
52 <h:message for="userPassword" errorClass="alert-danger" fatalClass="alert-danger" warnClass="alert-warning" />
55 <h:panelGroup styleClass="table-row" layout="block">
56 <div class="table-left-medium">
57 <h:outputLabel for="userPasswordRepeat" value="#{msg.GUEST_REGISTRATION_ENTER_PASSWORD_REPEAT}" />
60 <div class="table-right-medium">
61 <h:inputSecret styleClass="input" id="userPasswordRepeat" size="10" maxlength="255" value="#{userController.userPasswordRepeat}" required="#{not featureController.isFeatureEnabled('allow_user_registration_empty_password')}" requiredMessage="#{msg.GUEST_REGISTRATION_PASSWORD_REPEAT_NOT_ENTERED}" />
65 <h:panelGroup styleClass="error_container" layout="block">
66 <h:message for="userPasswordRepeat" errorClass="alert-danger" fatalClass="alert-danger" warnClass="alert-warning" />
69 <div class="para notice">
71 <li><h:outputText value="#{msg.GUEST_REGISTRATION_USER_NAME_NOTICE}" /></li>
72 <ui:fragment rendered="#{featureController.isFeatureEnabled('allow_user_registration_empty_password')}">
73 <li><h:outputText value="#{msg.GUEST_REGISTRATION_USER_PASSWORDS_EMPTY_ALLOWED}" /></li>
75 <ui:fragment rendered="#{not featureController.isFeatureEnabled('allow_user_registration_empty_password')}">
76 <li><h:outputText value="#{msg.GUEST_REGISTRATION_USER_PASSWORDS_EMPTY_NOT_ALLOWED}" /></li>
84 <ui:include src="/WEB-INF/templates/guest/guest_privacy_terms.tpl" />
86 <div class="table-footer">
87 <h:commandButton styleClass="reset divider-right" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
88 <h:commandButton styleClass="submit" type="submit" id="button_continue_register_page1" value="#{msg.BUTTON_CONTINUE_REGISTER_PAGE2}" action="#{userRegistrationController.doRegisterMultiPage1()}" />