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_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_name_required')}">
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}" />
30 <div class="clear"></div>
33 <h:panelGroup styleClass="error_container" layout="block">
34 <h:message for="userName" errorClass="errors" fatalClass="errors" warnClass="errors" />
38 <ui:include src="/WEB-INF/templates/guest/guest_email_address_repeat_fields.tpl" />
40 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_name_required')}">
41 <div class="para"></div>
43 <h:panelGroup styleClass="table_row" layout="block">
44 <div class="table_left_medium">
45 <h:outputLabel for="userPassword" value="#{msg.GUEST_REGISTRATION_ENTER_PASSWORD}" />
48 <div class="table_right_medium">
49 <h:inputSecret styleClass="input" id="userPassword" size="10" maxlength="255" value="#{userController.userPassword}" />
52 <div class="clear"></div>
55 <h:panelGroup styleClass="error_container" layout="block">
56 <h:message for="userPassword" errorClass="errors" fatalClass="errors" warnClass="errors" />
59 <h:panelGroup styleClass="table_row" layout="block">
60 <div class="table_left_medium">
61 <h:outputLabel for="userPasswordRepeat" value="#{msg.GUEST_REGISTRATION_ENTER_PASSWORD_REPEAT}" />
64 <div class="table_right_medium">
65 <h:inputSecret styleClass="input" id="userPasswordRepeat" size="10" maxlength="255" value="#{userController.userPasswordRepeat}" />
68 <div class="clear"></div>
71 <h:panelGroup styleClass="error_container" layout="block">
72 <h:message for="userPasswordRepeat" errorClass="errors" fatalClass="errors" warnClass="errors" />
75 <div class="para notice">
77 <li><h:outputText value="#{msg.GUEST_REGISTRATION_USER_NAME_NOTICE}" /></li>
78 <ui:fragment rendered="#{featureController.isFeatureEnabled('allow_user_registration_empty_password')}">
79 <li><h:outputText value="#{msg.GUEST_REGISTRATION_USER_PASSWORDS_EMPTY_ALLOWED}" /></li>
81 <ui:fragment rendered="#{not featureController.isFeatureEnabled('allow_user_registration_empty_password')}">
82 <li><h:outputText value="#{msg.GUEST_REGISTRATION_USER_PASSWORDS_EMPTY_NOT_ALLOWED}" /></li>
90 <ui:include src="/WEB-INF/templates/guest/guest_privacy_terms.tpl" />
92 <div class="table_footer">
93 <h:commandButton styleClass="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
94 <h:commandButton styleClass="submit" type="submit" id="continueRegisterPage1" value="#{msg.BUTTON_CONTINUE_REGISTER_PAGE2}" action="#{userRegistrationController.doRegisterMultiPage1()}" />