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_single" 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_TITLE}" />
14 <ui:include src="/WEB-INF/templates/contact/form_contact_data.tpl" />
17 <fieldset class="fieldset" id="login_data">
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">
25 <h:outputLabel for="userName" value="#{msg.GUEST_REGISTRATION_ENTER_USER_NAME}" />
28 <div class="table_right">
29 <h:inputText styleClass="input" id="userName" size="20" maxlength="255" value="#{userController.userName}" required="true" requiredMessage="#{msg.GUEST_REGISTRATION_USER_NAME_NOT_ENTERED}" />
32 <div class="clear"></div>
34 <h:panelGroup styleClass="error_container" layout="block">
35 <h:message for="userName" errorClass="errors" fatalClass="errors" warnClass="errors" />
40 <ui:include src="/WEB-INF/templates/guest/guest_email_address_repeat_fields.tpl" />
42 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_login_require_user_name')}">
43 <div class="para"></div>
45 <h:panelGroup styleClass="table_row" layout="block">
46 <div class="table_left">
47 <h:outputLabel for="userPassword" value="#{msg.GUEST_REGISTRATION_ENTER_PASSWORD}" />
50 <div class="table_right">
51 <h:inputSecret styleClass="input" id="userPassword" size="10" maxlength="255" value="#{userController.userPassword}" />
54 <div class="clear"></div>
57 <h:panelGroup styleClass="error_container" layout="block">
58 <h:message for="userPassword" errorClass="errors" fatalClass="errors" warnClass="errors" />
61 <h:panelGroup styleClass="table_row" layout="block">
62 <div class="table_left">
63 <h:outputLabel for="userPasswordRepeat" value="#{msg.GUEST_REGISTRATION_ENTER_PASSWORD_REPEAT}" />
66 <div class="table_right">
67 <h:inputSecret styleClass="input" id="userPasswordRepeat" size="10" maxlength="255" value="#{userController.userPasswordRepeat}" />
70 <div class="clear"></div>
73 <h:panelGroup styleClass="error_container" layout="block">
74 <h:message for="userPasswordRepeat" errorClass="errors" fatalClass="errors" warnClass="errors" />
77 <div class="para notice">
79 <li><h:outputText value="#{msg.GUEST_REGISTRATION_USER_NAME_NOTICE}" /></li>
80 <ui:fragment rendered="#{featureController.isFeatureEnabled('allow_user_registration_empty_password')}">
81 <li><h:outputText value="#{msg.GUEST_REGISTRATION_USER_PASSWORDS_EMPTY_ALLOWED}" /></li>
83 <ui:fragment rendered="#{not featureController.isFeatureEnabled('allow_user_registration_empty_password')}">
84 <li><h:outputText value="#{msg.GUEST_REGISTRATION_USER_PASSWORDS_EMPTY_NOT_ALLOWED}" /></li>
92 <ui:include src="/WEB-INF/templates/guest/guest_privacy_terms.tpl" />
94 <div class="table_footer">
95 <h:commandButton styleClass="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
96 <h:commandButton styleClass="submit" type="submit" id="finish_registration_single" value="#{msg.BUTTON_FINISH_REGISTRATION}" action="#{userRegistrationController.doFinishRegistration()}" />