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:widgets="http://mxchange.org/jsf/core/widgets"
5 xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
6 xmlns:h="http://xmlns.jcp.org/jsf/html"
7 xmlns:f="http://xmlns.jcp.org/jsf/core">
9 <ui:define name="guest_title">
10 <h:outputText value="#{msg.PAGE_TITLE_USER_LOST_PASSWORD}" />
13 <ui:define name="content_header">
14 <h:outputText value="#{msg.CONTENT_TITLE_USER_LOST_PASSWORD}" />
17 <ui:define name="content">
18 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_login_require_user_name') and featureController.isFeatureEnabled('user_password_recovery')}">
19 <div id="user_lost_password_content">
20 <h:form id="form_lost_password">
21 <h:panelGroup styleClass="table" layout="block">
22 <div class="table_header">
23 <h:outputText value="#{msg.GUEST_LOST_PASSWORD_TITLE}" />
26 <fieldset class="fieldset" id="login_data">
27 <legend title="#{msg.GUEST_LOST_PASSWORD_LEGEND_TITLE}">
28 <h:outputText value="#{msg.GUEST_LOST_PASSWORD_LEGEND}" />
31 <h:panelGroup styleClass="table_row" layout="block">
32 <div class="table_left">
33 <h:outputLabel for="id" value="#{msg.ENTER_USER_NAME}" />
36 <div class="table_right">
37 <h:inputText styleClass="input" id="id" size="10" maxlength="20" value="#{passwordRecoveryController.userId}" />
40 <div class="clear"></div>
43 <div class="table_header">
44 <h:outputText value="#{msg.GUEST_LOST_PASSWORD_NUMBER_OR_EMAIL}" />
47 <h:panelGroup styleClass="table_row" layout="block">
48 <div class="table_left">
49 <h:outputLabel for="email" value="#{msg.ENTER_EMAIL_ADDRESS}" />
52 <div class="table_right">
53 <h:inputText styleClass="input" id="email" size="20" maxlength="255" value="#{passwordRecoveryController.emailAddress}" />
56 <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 <widgets:outputMessageBox message="#{msg.ERROR_GUEST_USER_RECOVER_PASSWORD_DEACTIVATED}" styleClass="errors" rendered="#{not featureController.isFeatureEnabled('user_login_require_user_name') or not featureController.isFeatureEnabled('user_password_recovery')}" />