]> git.mxchange.org Git - addressbook-war.git/blob - web/user/lost_passwd.xhtml
need to add language stuff in every page. :-( Maybe one day there is a better solutio...
[addressbook-war.git] / web / user / lost_passwd.xhtml
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">
3 <html
4         lang="#{localizationController.language}" xml:lang="#{localizationController.language}"
5         xmlns="http://www.w3.org/1999/xhtml"
6           xmlns:ui="http://java.sun.com/jsf/facelets"
7           xmlns:h="http://xmlns.jcp.org/jsf/html"
8           xmlns:f="http://xmlns.jcp.org/jsf/core"
9           >
10
11         <ui:composition template="/WEB-INF/templates/guest/guest_base.tpl">
12                 <ui:define name="guest_title">#{msg.PAGE_TITLE_USER_LOST_PASSWORD}</ui:define>
13
14                 <ui:define name="content_header">
15                         #{msg.CONTENT_TITLE_USER_LOST_PASSWORD}
16                 </ui:define>
17
18                 <ui:define name="content">
19                         <div class="para" id="user_lost_password_content">
20                                 <h:form id="lost_password_form">
21                                         <div class="table">
22                                                 <div class="table_header">
23                                                         #{msg.GUEST_LOST_PASSWORD_TITLE}
24                                                 </div>
25
26                                                 <fieldset id="login_data">
27                                                         <legend title="#{msg.GUEST_LOST_PASSWORD_LEGEND_TITLE}">#{msg.GUEST_LOST_PASSWORD_LEGEND}</legend>
28
29                                                         <div class="table_row">
30                                                                 <div class="table_left">
31                                                                         <h:outputLabel for="id" value="#{msg.ENTER_USER_NAME}" />
32                                                                 </div>
33
34                                                                 <div class="table_right">
35                                                                         <h:inputText class="input" id="id" size="10" maxlength="20" value="#{passwordRecoveryController.userId}" />
36                                                                 </div>
37
38                                                                 <div class="clear"></div>
39                                                         </div>
40
41                                                         <div class="table_header">
42                                                                 #{msg.GUEST_LOST_PASSWORD_NUMBER_OR_EMAIL}
43                                                         </div>
44
45                                                         <div class="table_row">
46                                                                 <div class="table_left">
47                                                                         <h:outputLabel for="email" value="#{msg.ENTER_EMAIL_ADDRESS}" />
48                                                                 </div>
49
50                                                                 <div class="table_right">
51                                                                         <h:inputText class="input" id="email" size="20" maxlength="255" value="#{passwordRecoveryController.emailAddress}" />
52                                                                 </div>
53
54                                                                 <div class="clear"></div>
55                                                         </div>
56
57                                                 </fieldset>
58
59                                                 <div class="table_footer">
60                                                         <h:commandButton class="reset" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
61                                                         <h:commandButton class="submit" type="submit" value="#{msg.BUTTON_CONTINUE_STEP_2}" action="#{passwordRecoveryController.doLostPasswordStep2()}" />
62                                                 </div>
63                                         </div>
64                                 </h:form>
65                         </div>
66                 </ui:define>
67         </ui:composition>
68 </html>