]> git.mxchange.org Git - addressbook-war.git/blobdiff - 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
index 25f95e22b519a15be60170bae326beb3a5eee309..37637119b0b92596c0dc13da167c6b08c5495136 100644 (file)
@@ -1,26 +1,23 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
+<html
+       lang="#{localizationController.language}" xml:lang="#{localizationController.language}"
+       xmlns="http://www.w3.org/1999/xhtml"
          xmlns:ui="http://java.sun.com/jsf/facelets"
          xmlns:h="http://xmlns.jcp.org/jsf/html"
-         xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
          xmlns:f="http://xmlns.jcp.org/jsf/core"
          >
 
        <ui:composition template="/WEB-INF/templates/guest/guest_base.tpl">
-               <ui:define name="title">#{msg.PAGE_TITLE_CUSTOMER_LOST_PASSWORD}</ui:define>
-
-               <ui:define name="menu">
-                       <ui:include id="menu" class="guest_menu" src="/WEB-INF/templates/guest/guest_menu.tpl" />
-               </ui:define>
+               <ui:define name="guest_title">#{msg.PAGE_TITLE_USER_LOST_PASSWORD}</ui:define>
 
                <ui:define name="content_header">
-                       #{msg.SUB_TITLE_CUSTOMER_LOST_PASSWORD}
+                       #{msg.CONTENT_TITLE_USER_LOST_PASSWORD}
                </ui:define>
 
                <ui:define name="content">
-                       <div class="para" id="customer_lost_password_content">
-                               <h:form acceptcharset="utf-8" id="lost_password_form">
+                       <div class="para" id="user_lost_password_content">
+                               <h:form id="lost_password_form">
                                        <div class="table">
                                                <div class="table_header">
                                                        #{msg.GUEST_LOST_PASSWORD_TITLE}
 
                                                        <div class="table_row">
                                                                <div class="table_left">
-                                                                       <h:outputLabel for="id" value="#{msg.ENTER_CUSTOMER_NUMBER}" />
+                                                                       <h:outputLabel for="id" value="#{msg.ENTER_USER_NAME}" />
                                                                </div>
 
                                                                <div class="table_right">
-                                                                       <h:inputText class="input" id="id" size="10" maxlength="20" />
+                                                                       <h:inputText class="input" id="id" size="10" maxlength="20" value="#{passwordRecoveryController.userId}" />
                                                                </div>
 
                                                                <div class="clear"></div>
@@ -51,7 +48,7 @@
                                                                </div>
 
                                                                <div class="table_right">
-                                                                       <h:inputText class="input" id="email" size="20" maxlength="255" />
+                                                                       <h:inputText class="input" id="email" size="20" maxlength="255" value="#{passwordRecoveryController.emailAddress}" />
                                                                </div>
 
                                                                <div class="clear"></div>
 
                                                <div class="table_footer">
                                                        <h:commandButton class="reset" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
-                                                       <h:commandButton class="submit" type="submit" value="#{msg.BUTTON_CONTINUE_STEP_2}" action="#{passwdRecoverController.doLostPasswordStep2()}" />
+                                                       <h:commandButton class="submit" type="submit" value="#{msg.BUTTON_CONTINUE_STEP_2}" action="#{passwordRecoveryController.doLostPasswordStep2()}" />
                                                </div>
                                        </div>
                                </h:form>
                        </div>
                </ui:define>
-
-               <ui:define name="footer">
-                       <ui:include id="footer" class="guest_footer" src="/WEB-INF/templates/guest/guest_footer.tpl" />
-               </ui:define>
        </ui:composition>
 </html>