1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 lang="#{localizationController.language}" xml:lang="#{localizationController.language}"
5 xmlns="http://www.w3.org/1999/xhtml"
6 xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
7 xmlns:h="http://xmlns.jcp.org/jsf/html"
8 xmlns:f="http://xmlns.jcp.org/jsf/core"
11 <ui:composition template="/WEB-INF/templates/guest/guest_base.tpl">
12 <ui:define name="guest_title">
13 <h:outputText value="#{msg.PAGE_TITLE_USER_LOST_PASSWORD}" />
16 <ui:define name="content_header">
17 <h:outputText value="#{msg.CONTENT_TITLE_USER_LOST_PASSWORD}" />
20 <ui:define name="content">
21 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_name_required') and featureController.isFeatureEnabled('user_password_recovery')}">
22 <div class="para" id="user_lost_password_content">
23 <h:form id="form_lost_password">
24 <h:panelGroup styleClass="table" layout="block">
25 <div class="table_header">
26 <h:outputText value="#{msg.GUEST_LOST_PASSWORD_TITLE}" />
29 <fieldset class="fieldset" id="login_data">
30 <legend title="#{msg.GUEST_LOST_PASSWORD_LEGEND_TITLE}">
31 <h:outputText value="#{msg.GUEST_LOST_PASSWORD_LEGEND}" />
34 <h:panelGroup styleClass="table_row" layout="block">
35 <div class="table_left">
36 <h:outputLabel for="id" value="#{msg.ENTER_USER_NAME}" />
39 <div class="table_right">
40 <h:inputText styleClass="input" id="id" size="10" maxlength="20" value="#{passwordRecoveryController.userId}" />
43 <div class="clear"></div>
46 <div class="table_header">
47 <h:outputText value="#{msg.GUEST_LOST_PASSWORD_NUMBER_OR_EMAIL}" />
50 <h:panelGroup styleClass="table_row" layout="block">
51 <div class="table_left">
52 <h:outputLabel for="email" value="#{msg.ENTER_EMAIL_ADDRESS}" />
55 <div class="table_right">
56 <h:inputText styleClass="input" id="email" size="20" maxlength="255" value="#{passwordRecoveryController.emailAddress}" />
59 <div class="clear"></div>
64 <div class="table_footer">
65 <h:commandButton styleClass="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
66 <h:commandButton styleClass="submit" type="submit" value="#{msg.BUTTON_CONTINUE_STEP_2}" action="#{passwordRecoveryController.doLostPasswordStep2()}" />
73 <ui:fragment rendered="#{not featureController.isFeatureEnabled('user_name_required') or not featureController.isFeatureEnabled('user_password_recovery')}">
74 <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
75 <ui:param name="message" value="#{msg.ERROR_GUEST_USER_RECOVER_PASSWORD_DEACTIVATED}" />
76 <ui:param name="styleClass" value="errors" />