]> git.mxchange.org Git - addressbook-war.git/blobdiff - web/user/login_add_addressbook.xhtml
Maybe cherry-pick:
[addressbook-war.git] / web / user / login_add_addressbook.xhtml
index a3d17464bc386a4c3e2334f5256197f6dcc6bdab..eadc7656adefefc1a09d84a4fe95de897ea05613 100644 (file)
@@ -8,11 +8,13 @@
          xmlns:f="http://xmlns.jcp.org/jsf/core"
          >
 
-       <ui:composition template="/WEB-INF/templates/login/login_base.tpl">
-               <ui:define name="login_title">#{msg.PAGE_TITLE_LOGIN_ADD_ADDRESSBOOK}</ui:define>
+       <ui:composition template="/WEB-INF/templates/login/user/user_base.tpl">
+               <ui:define name="login_title">
+                       <h:outputText value="#{msg.PAGE_TITLE_LOGIN_ADD_ADDRESSBOOK}" />
+               </ui:define>
 
                <ui:define name="content_header">
-                       #{msg.CONTENT_TITLE_LOGIN_ADD_ADDRESSBOOK}
+                       <h:outputText value="#{msg.CONTENT_TITLE_LOGIN_ADD_ADDRESSBOOK}" />
                </ui:define>
 
                <ui:define name="content">
@@ -20,7 +22,7 @@
                                <h:form id="add_addressbook" acceptcharset="utf-8">
                                        <div class="table">
                                                <div class="table_header">
-                                                       #{msg.FORM_LOGIN_ADD_ADDRESSBOOK_TITLE}
+                                                       <h:outputText value="#{msg.FORM_LOGIN_ADD_ADDRESSBOOK_TITLE}" />
                                                </div>
 
                                                <div class="table_row">
@@ -30,7 +32,7 @@
 
                                                        <div class="table_right">
                                                                <h:inputText styleClass="input" id="addressbookName" value="#{addressbookController.addressbookName}" maxlength="50" size="20" title="#{msg.LOGIN_ENTER_ADDRESSBOOK_NAME_TITLE}" required="true" requiredMessage="#{msg.LOGIN_ADDRESSBOOK_NAME_REQUIRED_MESSAGE}">
-                                                                       <f:validator for="addressbookName" validatorId="AddressbookNameValidator" />
+                                                                       <f:validator for="addressbookName" validatorId="NameValidator" />
                                                                </h:inputText>
                                                        </div>
                                                </div>
@@ -44,7 +46,7 @@
                        </ui:fragment>
 
                        <ui:fragment rendered="#{not userLoginController.isUserLoggedIn()}">
-                               <ui:include id="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
+                               <ui:include src="/WEB-INF/templates/user/user_not_logged_in.tpl" />
                        </ui:fragment>
                </ui:define>
        </ui:composition>