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">
8 <ui:define name="guest_title">
9 <h:outputText value="#{msg.PAGE_TITLE_USER_LOST_PASSWORD}" />
12 <ui:define name="content_header">
13 <h:outputText value="#{msg.CONTENT_TITLE_USER_LOST_PASSWORD}" />
16 <ui:define name="content">
17 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_login_require_user_name') and featureController.isFeatureEnabled('user_password_recovery')}">
18 <div class="para" id="user_lost_password_content">
19 <h:form id="form_lost_password">
20 <h:panelGroup styleClass="table" layout="block">
21 <div class="table_header">
22 <h:outputText value="#{msg.GUEST_LOST_PASSWORD_TITLE}" />
25 <fieldset class="fieldset" id="login_data">
26 <legend title="#{msg.GUEST_LOST_PASSWORD_LEGEND_TITLE}">
27 <h:outputText value="#{msg.GUEST_LOST_PASSWORD_LEGEND}" />
30 <h:panelGroup styleClass="table_row" layout="block">
31 <div class="table_left">
32 <h:outputLabel for="id" value="#{msg.ENTER_USER_NAME}" />
35 <div class="table_right">
36 <h:inputText styleClass="input" id="id" size="10" maxlength="20" value="#{passwordRecoveryController.userId}" />
39 <div class="clear"></div>
42 <div class="table_header">
43 <h:outputText value="#{msg.GUEST_LOST_PASSWORD_NUMBER_OR_EMAIL}" />
46 <h:panelGroup styleClass="table_row" layout="block">
47 <div class="table_left">
48 <h:outputLabel for="email" value="#{msg.ENTER_EMAIL_ADDRESS}" />
51 <div class="table_right">
52 <h:inputText styleClass="input" id="email" size="20" maxlength="255" value="#{passwordRecoveryController.emailAddress}" />
55 <div class="clear"></div>
60 <div class="table_footer">
61 <h:commandButton styleClass="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
62 <h:commandButton styleClass="submit" type="submit" value="#{msg.BUTTON_CONTINUE_STEP_2}" action="#{passwordRecoveryController.doLostPasswordStep2()}" />
69 <ui:fragment rendered="#{not featureController.isFeatureEnabled('user_login_require_user_name') or not featureController.isFeatureEnabled('user_password_recovery')}">
70 <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
71 <ui:param name="message" value="#{msg.ERROR_GUEST_USER_RECOVER_PASSWORD_DEACTIVATED}" />
72 <ui:param name="styleClass" value="errors" />