]> git.mxchange.org Git - jjobs-war.git/commitdiff
Continued with switching vanilla HTML -> JSF2.0 tags: (please cherry-pick)
authorRoland Häder <roland@mxchange.org>
Mon, 15 Aug 2016 13:49:44 +0000 (15:49 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 19 Aug 2016 21:21:37 +0000 (23:21 +0200)
- Switched some div tags (for "tables") to h:panelGroup
- Maybe more can be changed without having ugly nested h:panelGroup tags ?

Signed-off-by: Roland Häder <roland@mxchange.org>
32 files changed:
web/WEB-INF/templates/admin/contact/admin_contact_links.tpl
web/WEB-INF/templates/admin/user/admin_user_links.tpl
web/WEB-INF/templates/guest/user/guest_login_form.tpl
web/WEB-INF/templates/guest/user/register/guest_form_register_page1.tpl
web/WEB-INF/templates/guest/user/register/guest_form_register_page2.tpl
web/WEB-INF/templates/guest/user/register/guest_form_register_single.tpl
web/WEB-INF/templates/user/user_not_logged_in.tpl
web/WEB-INF/templates/user/userid_error.tpl
web/admin/admin_logout.xhtml
web/admin/cellphone/admin_cellphone_delete.xhtml
web/admin/cellphone/admin_cellphone_edit.xhtml
web/admin/cellphone/admin_contact_cellphone_unlink.xhtml
web/admin/contact/admin_contact_delete.xhtml
web/admin/contact/admin_contact_edit.xhtml
web/admin/contact/admin_contact_export.xhtml
web/admin/contact/admin_contact_list.xhtml
web/admin/country/admin_country_list.xhtml
web/admin/mobile_provider/admin_mobile_provider_list.xhtml
web/admin/user/admin_user_edit.xhtml
web/admin/user/admin_user_export.xhtml
web/admin/user/admin_user_list.xhtml
web/admin/user/admin_user_lock.xhtml
web/admin/user/admin_user_unlock.xhtml
web/guest/user/confirm_account.xhtml
web/guest/user/lost_passwd.xhtml
web/guest/user/resend_link.xhtml
web/guest/user/user_list.xhtml
web/user/login_change_email_address.xhtml
web/user/login_change_password.xhtml
web/user/login_change_personal_data.xhtml
web/user/login_edit_user_data.xhtml
web/user/login_logout.xhtml

index 175474e2342095fb2c11a095a845ce8a53c09ac8..312e437c5b4be615ad05a53fadd2b403d00d910f 100644 (file)
@@ -7,28 +7,26 @@
 
        <h:outputText styleClass="errors" value="#{msg.ERROR_BEAN_HELPER_CONTACT_NOT_SET}" rendered="#{empty beanHelper.contact}" />
 
-       <ui:fragment rendered="#{not empty beanHelper.contact}">
-               <div class="table">
-                       <div class="table_header">
-                               <h:outputText value="#{msg.ADMIN_LINKS_HEADER}" />
-                       </div>
+       <h:panelGroup styleClass="table" layout="block" rendered="#{not empty beanHelper.contact}">
+               <div class="table_header">
+                       <h:outputText value="#{msg.ADMIN_LINKS_HEADER}" />
+               </div>
 
-                       <div class="table_row">
-                               <ul>
-                                       <li>
-                                               <h:link outcome="admin_edit_contact" value="#{msg.ADMIN_LINK_EDIT_CONTACT}" title="#{msg.ADMIN_LINK_EDIT_CONTACT_TITLE}">
-                                                       <f:param name="contactId" value="#{beanHelper.contact.contactId}" />
-                                               </h:link>
-                                       </li>
+               <div class="table_row">
+                       <ul>
+                               <li>
+                                       <h:link outcome="admin_edit_contact" value="#{msg.ADMIN_LINK_EDIT_CONTACT}" title="#{msg.ADMIN_LINK_EDIT_CONTACT_TITLE}">
+                                               <f:param name="contactId" value="#{beanHelper.contact.contactId}" />
+                                       </h:link>
+                               </li>
 
-                                       <li>
-                                               <h:link outcome="admin_delete_contact" title="#{msg.ADMIN_LINK_DELETE_CONTACT_TITLE}">
-                                                       <h:outputText styleClass="delete_link" value="#{msg.ADMIN_LINK_DELETE_CONTACT}" />
-                                                       <f:param name="contactId" value="#{beanHelper.contact.contactId}" />
-                                               </h:link>
-                                       </li>
-                               </ul>
-                       </div>
+                               <li>
+                                       <h:link outcome="admin_delete_contact" title="#{msg.ADMIN_LINK_DELETE_CONTACT_TITLE}">
+                                               <h:outputText styleClass="delete_link" value="#{msg.ADMIN_LINK_DELETE_CONTACT}" />
+                                               <f:param name="contactId" value="#{beanHelper.contact.contactId}" />
+                                       </h:link>
+                               </li>
+                       </ul>
                </div>
-       </ui:fragment>
+       </h:panelGroup>
 </ui:composition>
index 34cb19a5c3bf7d753a59a48cc1c589e72db30e45..180cc90b5aabda3d149c9a16c48679f3d1a70fa5 100644 (file)
@@ -7,46 +7,44 @@
 
        <h:outputText styleClass="errors" value="#{msg.ERROR_BEAN_HELPER_USER_NOT_SET}" rendered="#{empty beanHelper.user}" />
 
-       <ui:fragment rendered="#{not empty beanHelper.user}">
-               <div class="table">
-                       <div class="table_header">
-                               <h:outputText value="#{msg.ADMIN_LINKS_HEADER}" />
-                       </div>
+       <h:panelGroup styleClass="table" layout="block" rendered="#{not empty beanHelper.user}">
+               <div class="table_header">
+                       <h:outputText value="#{msg.ADMIN_LINKS_HEADER}" />
+               </div>
 
-                       <div class="table_row">
-                               <ul>
-                                       <li>
-                                               <h:link outcome="admin_edit_user" value="#{msg.ADMIN_LINK_EDIT_USER}" title="#{msg.ADMIN_LINK_EDIT_USER_TITLE}">
-                                                       <f:param name="userId" value="#{beanHelper.user.userId}" />
-                                               </h:link>
-                                       </li>
+               <div class="table_row">
+                       <ul>
+                               <li>
+                                       <h:link outcome="admin_edit_user" value="#{msg.ADMIN_LINK_EDIT_USER}" title="#{msg.ADMIN_LINK_EDIT_USER_TITLE}">
+                                               <f:param name="userId" value="#{beanHelper.user.userId}" />
+                                       </h:link>
+                               </li>
+
+                               <li>
+                                       <h:link outcome="admin_edit_contact" value="#{msg.ADMIN_LINK_EDIT_CONTACT}" title="#{msg.ADMIN_LINK_EDIT_CONTACT_TITLE}">
+                                               <f:param name="contactId" value="#{beanHelper.user.userContact.contactId}" />
+                                       </h:link>
+                               </li>
 
+                               <ui:fragment rendered="#{beanHelper.user.userAccountStatus != 'UNCONFIRMED'}">
                                        <li>
-                                               <h:link outcome="admin_edit_contact" value="#{msg.ADMIN_LINK_EDIT_CONTACT}" title="#{msg.ADMIN_LINK_EDIT_CONTACT_TITLE}">
-                                                       <f:param name="contactId" value="#{beanHelper.user.userContact.contactId}" />
+                                               <h:link outcome="admin_unlock_user" value="#{msg.ADMIN_LINK_UNLOCK_USER}" title="#{msg.ADMIN_LINK_UNLOCK_USER_TITLE}" rendered="#{beanHelper.user.userAccountStatus == 'LOCKED'}">
+                                                       <f:param name="userId" value="#{beanHelper.user.userId}" />
                                                </h:link>
-                                       </li>
-
-                                       <ui:fragment rendered="#{beanHelper.user.userAccountStatus != 'UNCONFIRMED'}">
-                                               <li>
-                                                       <h:link outcome="admin_unlock_user" value="#{msg.ADMIN_LINK_UNLOCK_USER}" title="#{msg.ADMIN_LINK_UNLOCK_USER_TITLE}" rendered="#{beanHelper.user.userAccountStatus == 'LOCKED'}">
-                                                               <f:param name="userId" value="#{beanHelper.user.userId}" />
-                                                       </h:link>
 
-                                                       <h:link outcome="admin_lock_user" value="#{msg.ADMIN_LINK_LOCK_USER}" title="#{msg.ADMIN_LINK_LOCK_USER_TITLE}" rendered="#{beanHelper.user.userAccountStatus == 'CONFIRMED'}">
-                                                               <f:param name="userId" value="#{beanHelper.user.userId}" />
-                                                       </h:link>
-                                               </li>
-                                       </ui:fragment>
-
-                                       <li>
-                                               <h:link outcome="admin_delete_user" title="#{msg.ADMIN_LINK_DELETE_USER_TITLE}">
-                                                       <h:outputText styleClass="delete_link" value="#{msg.ADMIN_LINK_DELETE_USER}" />
+                                               <h:link outcome="admin_lock_user" value="#{msg.ADMIN_LINK_LOCK_USER}" title="#{msg.ADMIN_LINK_LOCK_USER_TITLE}" rendered="#{beanHelper.user.userAccountStatus == 'CONFIRMED'}">
                                                        <f:param name="userId" value="#{beanHelper.user.userId}" />
                                                </h:link>
                                        </li>
-                               </ul>
-                       </div>
+                               </ui:fragment>
+
+                               <li>
+                                       <h:link outcome="admin_delete_user" title="#{msg.ADMIN_LINK_DELETE_USER_TITLE}">
+                                               <h:outputText styleClass="delete_link" value="#{msg.ADMIN_LINK_DELETE_USER}" />
+                                               <f:param name="userId" value="#{beanHelper.user.userId}" />
+                                       </h:link>
+                               </li>
+                       </ul>
                </div>
-       </ui:fragment>
+       </h:panelGroup>
 </ui:composition>
index aeb0ae8127cffd271478d1dbe4661519896c9bf8..2387a5feac8b42bad705e0c6d54f6899a707cfcb 100644 (file)
@@ -6,7 +6,7 @@
        xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
        <div id="user_login_content">
                <h:form id="form_user_login">
-                       <div class="table">
+                       <h:panelGroup styleClass="table" layout="block">
                                <div class="table_header">
                                        #{msg.GUEST_ENTER_USER_LOGIN_DATA_TITLE}
                                </div>
@@ -45,7 +45,7 @@
                                        <h:commandButton styleClass="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
                                        <h:commandButton styleClass="submit" type="submit" action="#{userLoginController.doUserLogin()}" value="#{msg.BUTTON_USER_LOGIN}" />
                                </div>
-                       </div>
+                       </h:panelGroup>
                </h:form>
        </div>
 </ui:composition>
index 284aea508d329569970878388f10a66b0bfb02d9..a1fb51cdaef14d524e7109639b049b65eb0539e7 100644 (file)
@@ -7,7 +7,7 @@
 
 
        <h:form id="form_register_page1">
-               <div class="table_medium">
+               <h:panelGroup styleClass="table_medium" layout="block">
                        <div class="table_header">
                                #{msg.GUEST_REGISTRATION_PAGE1_TITLE}
                        </div>
@@ -74,6 +74,6 @@
                                <h:commandButton styleClass="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
                                <h:commandButton styleClass="submit" type="submit" id="continueRegisterPage1" value="#{msg.BUTTON_CONTINUE_REGISTER_PAGE2}" action="#{registerController.doRegisterMultiPage1()}" />
                        </div>
-               </div>
+               </h:panelGroup>
        </h:form>
 </ui:composition>
index b62cf97ea2e9b0a26041871d945d38d457d9b16e..b68b6e8d7b8a72954af190c8b83a2464f2587782 100644 (file)
@@ -6,7 +6,7 @@
        xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
 
        <h:form id="form_register_page2">
-               <div class="table_medium">
+               <h:panelGroup styleClass="table_medium" layout="block">
                        <div class="table_header">
                                #{msg.GUEST_REGISTRATION_PAGE2_TITLE}
                        </div>
@@ -17,6 +17,6 @@
                                <h:commandButton styleClass="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
                                <h:commandButton styleClass="submit" type="submit" value="#{msg.BUTTON_FINISH_REGISTRATION}" action="#{registerController.doFinishRegistration()}" />
                        </div>
-               </div>
+               </h:panelGroup>
        </h:form>
 </ui:composition>
index 1b084bd5e49f918bfceaa50852ef061a3ebd973c..cd7b8f40c544508716e0fb6d4c999cd44f01fa89 100644 (file)
@@ -6,7 +6,7 @@
        xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
 
        <h:form id="form_register_single">
-               <div class="table_medium">
+               <h:panelGroup styleClass="table_medium" layout="block">
                        <div class="table_header">
                                <h:outputText value="#{msg.GUEST_REGISTRATION_TITLE}" />
                        </div>
@@ -79,6 +79,6 @@
                                <h:commandButton styleClass="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
                                <h:commandButton styleClass="submit" type="submit" id="finish_registration_single" value="#{msg.BUTTON_FINISH_REGISTRATION}" action="#{registerController.doFinishRegistration()}" />
                        </div>
-               </div>
+               </h:panelGroup>
        </h:form>
 </ui:composition>
index 2bce29de87fc4362cf1463735e51f8e07d3c9d1c..5981ed05647f6c51bb230af92fbd2da8d772810b 100644 (file)
@@ -5,7 +5,7 @@
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
 
-       <div class="table">
+       <h:panelGroup styleClass="table" layout="block">
                <div class="table_header">
                        <h:outputText value="#{msg.TABLE_HEADER_ERROR_USER_NOT_LOGGED_IN}" />
                </div>
@@ -13,5 +13,5 @@
                <div class="para errors">
                        <h:outputText value="#{msg.USER_IS_NOT_LOGGED_IN_FULL}" />
                </div>
-       </div>
+       </h:panelGroup>
 </ui:composition>
index 4b3fec3c569d4e4adfe6ba841aa9675b54c93f7b..0d45fc32c7b720963fad2d6f203833974a40ff92 100644 (file)
@@ -5,7 +5,7 @@
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
 
-       <div class="table">
+       <h:panelGroup styleClass="table" layout="block">
                <div class="table_header">
                        <h:outputText value="#{msg.TABLE_HEADER_ERROR_HANDLING_USER_ID}" />
                </div>
@@ -13,5 +13,5 @@
                <div class="para">
                        <h:messages errorClass="errors" fatalClass="fatals" infoClass="infos" warnClass="warnings" showDetail="true" />
                </div>
-       </div>
+       </h:panelGroup>
 </ui:composition>
index 17ac3d5e9a9f2372cf773c4fb150e46a7e1718ff..25b55f2948a8a5749abe5f8cc2934a3e7a9fee94 100644 (file)
@@ -16,7 +16,7 @@
 
                <ui:define name="content">
                        <h:form id="form_admin_logout">
-                               <div class="table">
+                               <h:panelGroup styleClass="table" layout="block">
                                        <div class="table_header">
                                                <h:outputText value="#{msg.ADMIN_LOGOUT_TITLE}" />
                                        </div>
@@ -28,7 +28,7 @@
                                        <div class="table_footer">
                                                <h:commandButton styleClass="submit" type="submit" action="#{userLoginController.doAdminLogout()}" value="#{msg.BUTTON_USER_LOGOUT}" />
                                        </div>
-                               </div>
+                               </h:panelGroup>
                        </h:form>
                </ui:define>
        </ui:composition>
index 38166fb148a5edcac11a33aa90dfe1d45c39ba8a..1464fc11d37d70fb61b56ba51096cbdce5e446ab 100644 (file)
@@ -20,7 +20,7 @@
 
                <ui:define name="content">
                        <h:form id="form_delete_cellphone" rendered="#{not empty beanHelper.cellPhoneNumber}">
-                               <div class="table">
+                               <h:panelGroup styleClass="table" layout="block">
                                        <div class="table_header">
                                                <h:outputText value="#{msg.ADMIN_DELETE_CELLPHONE_TITLE}" />
                                        </div>
@@ -39,7 +39,7 @@
                                        <div class="table_footer">
                                                <h:commandButton styleClass="delete_button" type="submit" id="delete_cellphone" value="#{msg.BUTTON_ADMIN_DELETE_CELLPHONE}" action="#{adminPhoneController.deleteCellphoneData()}" />
                                        </div>
-                               </div>
+                               </h:panelGroup>
                        </h:form>
 
                        <h:outputText styleClass="errors" value="#{msg.ERROR_BEAN_HELPER_CELLPHONE_NUMBER_NOT_SET}" rendered="#{empty beanHelper.cellPhoneNumber}" />
index 192a2914af93567d2483be14599240c0412f32f8..9c8fe9bfa9a59590bd59aabc0670f1078f7fdf7e 100644 (file)
@@ -21,7 +21,7 @@
 
                <ui:define name="content">
                        <h:form id="form_edit_cellphone" rendered="#{not empty beanHelper.cellPhoneNumber}">
-                               <div class="table_medium">
+                               <h:panelGroup styleClass="table_medium" layout="block">
                                        <div class="table_header">
                                                #{msg.ADMIN_EDIT_CELLPHONE_TITLE}
                                        </div>
@@ -32,7 +32,7 @@
                                                <h:commandButton styleClass="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
                                                <h:commandButton styleClass="submit" type="submit" id="edit_cellphone" value="#{msg.BUTTON_ADMIN_EDIT_CELLPHONE}" action="#{adminPhoneController.editCellphoneData()}" />
                                        </div>
-                               </div>
+                               </h:panelGroup>
                        </h:form>
 
                        <h:outputText styleClass="errors" value="#{msg.ERROR_BEAN_HELPER_CELLPHONE_NUMBER_NOT_SET}" rendered="#{empty beanHelper.cellPhoneNumber}" />
index f39b1e2b5810107825a7ecc426e29bf699604da7..4e15c78dda616d0e6baa36f7670605c5e65b903d 100644 (file)
@@ -21,7 +21,7 @@
 
                <ui:define name="content">
                        <h:form id="form_unlink_contact_cellphone" rendered="#{not empty beanHelper.cellPhoneNumber and not empty beanHelper.contact and beanHelper.contact.contactCellphoneNumber == beanHelper.cellPhoneNumber}">
-                               <div class="table">
+                               <h:panelGroup styleClass="table" layout="block">
                                        <div class="table_header">
                                                <h:outputText value="#{msg.ADMIN_UNLINK_CONTACT_CELLPHONE_TITLE}" />
                                        </div>
@@ -47,7 +47,7 @@
                                        <div class="table_footer">
                                                <h:commandButton styleClass="unlink_button" type="submit" id="unlink_cellphone" value="#{msg.BUTTON_ADMIN_UNLINK_CONTACT_CELLPHONE}" action="#{adminContactPhoneController.unlinkCellphoneContactData()}" />
                                        </div>
-                               </div>
+                               </h:panelGroup>
                        </h:form>
 
                        <h:outputText styleClass="errors" value="#{msg.ERROR_BEAN_HELPER_CELLPHONE_NUMBER_NOT_SET}" rendered="#{empty beanHelper.cellPhoneNumber}" />
index 11b5641c77386f79b39d7f64c7fa8ac93a350216..214ac554d5a9aa70f9d9bebe26030d8181f5f506 100644 (file)
@@ -23,7 +23,7 @@
                        <h:outputText styleClass="errors" value="#{msg.ERROR_CONTACT_ID_NOT_FOUND}" rendered="#{empty beanHelper.contact}" />
 
                        <h:form id="form_admin_edit_user" rendered="#{not empty beanHelper.contact}">
-                               <div class="table">
+                               <h:panelGroup styleClass="table" layout="block">
                                        <div class="table_header">
                                                <h:outputFormat value="#{msg.ADMIN_DELETE_CONTACT_TITLE}">
                                                        <f:param value="#{beanHelper.contact.contactId}" />
@@ -40,7 +40,7 @@
                                                <h:commandButton styleClass="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
                                                <h:commandButton styleClass="delete_button" type="submit" id="delete_contact" value="#{msg.BUTTON_ADMIN_DELETE_CONTACT}" action="#{adminContactController.deleteContactData()}" />
                                        </div>
-                               </div>
+                               </h:panelGroup>
                        </h:form>
                </ui:define>
        </ui:composition>
index 7968f503f8d4ca8482b83ade88d8f5d1f2606d7b..587d7cc20e2c314af138d420dfc31c3e5e7fd3f7 100644 (file)
@@ -23,7 +23,7 @@
                        <h:outputText styleClass="errors" value="#{msg.ERROR_CONTACT_ID_NOT_FOUND}" rendered="#{empty beanHelper.contact}" />
 
                        <h:form id="form_admin_edit_user" rendered="#{not empty beanHelper.contact}">
-                               <div class="table_medium">
+                               <h:panelGroup styleClass="table_medium" layout="block">
                                        <div class="table_header">
                                                <h:outputFormat value="#{msg.ADMIN_EDIT_CONTACT_TITLE}">
                                                        <f:param value="#{beanHelper.contact.contactId}" />
@@ -42,7 +42,7 @@
                                                <h:commandButton styleClass="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
                                                <h:commandButton styleClass="submit" type="submit" id="edit_contact" value="#{msg.BUTTON_ADMIN_EDIT_CONTACT}" action="#{adminContactController.editContactData()}" />
                                        </div>
-                               </div>
+                               </h:panelGroup>
                        </h:form>
                </ui:define>
        </ui:composition>
index 502d57a38f63e6aee5b086beb71e460bf6bf08cf..4de001b8ea985bfc72dcb808053b44f528e23274 100644 (file)
                                        </p:column>
                                </p:dataTable>
 
-                               <div class="table_medium">
+                               <h:panelGroup styleClass="table_medium" layout="block">
                                        <div class="table_header">
                                                <h:outputText value="#{msg.ADMIN_EXPORT_CONTACTS_TITLE}" />
                                        </div>
                                                        <p:dataExporter type="xls" target="table_export_contacts" fileName="all_contacts" />
                                                </h:commandButton>
                                        </div>
-                               </div>
+                               </h:panelGroup>
                        </h:form>
                </ui:define>
        </ui:composition>
index 3b03197cf0e56e3a0bf19f7762a777b4fbd9e75e..4f82f3e2fa72de4e8d0430a9a29088ec515e0c62 100644 (file)
@@ -69,8 +69,8 @@
                                </h:column>
                        </h:dataTable>
 
-                       <div class="table_medium">
-                               <h:form id="form_admin_add_contact">
+                       <h:form id="form_admin_add_contact">
+                               <h:panelGroup styleClass="table_medium" layout="block">
                                        <div class="table_header">
                                                <h:outputText value="#{msg.ADMIN_ADD_CONTACT_TITLE}" />
                                        </div>
@@ -85,7 +85,8 @@
                                                <h:commandButton styleClass="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
                                                <h:commandButton styleClass="submit" type="submit" id="add_contact" value="#{msg.BUTTON_ADMIN_ADD_CONTACT}" action="#{adminContactController.addContact()}" />
                                        </div>
-                               </h:form>
+                               </h:panelGroup>
+                       </h:form>
                        </div>
                </ui:define>
        </ui:composition>
index 752e9f4928a36baf6273b1229714acd412baae08..a34b34060877ab4d5c75b9a5d0a4df939ca44f54 100644 (file)
@@ -52,7 +52,7 @@
                        </h:dataTable>
 
                        <h:form id="form_add_country">
-                               <div class="table_medium">
+                               <h:panelGroup styleClass="table_medium" layout="block">
                                        <div class="table_header">
                                                <h:outputText value="#{msg.ADMIN_ADD_COUNTRY_TITLE}" />
                                        </div>
@@ -63,7 +63,7 @@
                                                <h:commandButton styleClass="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
                                                <h:commandButton styleClass="submit" type="submit" id="add_country" value="#{msg.BUTTON_ADMIN_ADD_COUNTRY}" action="#{adminCountryController.addCountry()}" />
                                        </div>
-                               </div>
+                               </h:panelGroup>
 
                                <div class="para notice">
                                        <h:outputText value="#{msg.ADMIN_ADD_COUNTRY_NOTICES}" />
index 50515f7b7e6ea64c56da64287bf0629d5690c8ec..a34d37774882942f4017eee9b58bae781cd2fb76 100644 (file)
@@ -62,7 +62,7 @@
                        </h:dataTable>
 
                        <h:form id="form_add_mobile_provider">
-                               <div class="table_medium">
+                               <h:panelGroup styleClass="table_medium" layout="block">
                                        <div class="table_header">
                                                <h:outputText value="#{msg.ADMIN_ADD_MOBILE_PROVIDER_TITLE}" />
                                        </div>
@@ -73,7 +73,7 @@
                                                <h:commandButton styleClass="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
                                                <h:commandButton styleClass="submit" type="submit" id="add_mobile_provider" value="#{msg.BUTTON_ADMIN_ADD_MOBILE_PROVIDER}" action="#{adminMobileProviderController.addMobileProvider()}" />
                                        </div>
-                               </div>
+                               </h:panelGroup>
 
                                <div class="para notice">
                                        <h:outputText value="#{msg.ADMIN_ADD_MOBILE_PROVIDER_NOTICES}" />
index 2f28bda7fc972e42be9b8d38df2563ae2f84d9ed..630bb23e06121324e3ee5575c317d63a27abeea3 100644 (file)
@@ -24,7 +24,7 @@
                        <h:outputText styleClass="errors" value="#{msg.ERROR_USER_ID_NOT_FOUND}" rendered="#{empty beanHelper.user}" />
 
                        <h:form id="form_edit_user" rendered="#{not empty beanHelper.user}">
-                               <div class="table">
+                               <h:panelGroup styleClass="table" layout="block">
                                        <div class="table_header">
                                                #{msg.ADMIN_EDIT_USER_TITLE}
                                        </div>
@@ -41,7 +41,7 @@
                                                <h:commandButton styleClass="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
                                                <h:commandButton styleClass="submit" type="submit" id="edit_user" value="#{msg.BUTTON_ADMIN_EDIT_USER}" action="#{adminUserController.editUserData()}" />
                                        </div>
-                               </div>
+                               </h:panelGroup>
                        </h:form>
                </ui:define>
        </ui:composition>
index 151ea73dbc0fcc561c7c7598bf7c76069d2c1fbd..41ea92d3715520bc81c520c00c1854b7b08dd366 100644 (file)
                                        </p:column>
                                </p:dataTable>
 
-                               <div class="table_medium">
+                               <h:panelGroup styleClass="table_medium" layout="block">
                                        <div class="table_header">
                                                <h:outputText value="#{msg.ADMIN_EXPORT_USERS_TITLE}" />
                                        </div>
                                                        <p:dataExporter type="xls" target="table_export_users" fileName="all_users" />
                                                </h:commandButton>
                                        </div>
-                               </div>
+                               </h:panelGroup>
                        </h:form>
                </ui:define>
        </ui:composition>
index 6d03cc0d345d6886e568aac5214b4a2ca7bdad47..d81c1ce02bb90a1f7dd6df1dea4f896f088bd0e1 100644 (file)
@@ -85,7 +85,7 @@
                                </h:column>
                        </h:dataTable>
 
-                       <div class="table_medium">
+                       <h:panelGroup styleClass="table_medium" layout="block">
                                <h:form id="admin_add_user">
                                        <div class="table_header">
                                                <h:outputText value="#{msg.ADMIN_ADD_USER_TITLE}" />
                                                <h:commandButton styleClass="submit" type="submit" id="add_user" value="#{msg.BUTTON_ADMIN_ADD_USER}" action="#{adminUserController.addUser()}" />
                                        </div>
                                </h:form>
-                       </div>
+                       </h:panelGroup>
                </ui:define>
        </ui:composition>
 </html>
index 7c683b7be535925117ca34e4a666f01d7aa27494..357c1df3ef8e6c5f625e7603cbcc1769ff4afbd8 100644 (file)
@@ -24,7 +24,7 @@
                        <h:outputFormat styleClass="errors" value="#{msg.ERROR_USER_ID_NOT_FOUND}" rendered="#{empty beanHelper.user}" />
 
                        <h:form id="form_admin_user_unlock" rendered="#{not empty beanHelper.user and beanHelper.user.userAccountStatus == 'CONFIRMED'}">
-                               <div class="table_medium">
+                               <h:panelGroup styleClass="table_medium" layout="block">
                                        <div class="table_header">
                                                <h:outputFormat value="#{msg.ADMIN_LOCK_USER_TITLE}">
                                                        <f:param value="#{beanHelper.user.userName}" />
@@ -77,7 +77,7 @@
 
                                                <h:commandButton styleClass="submit" type="submit" action="#{adminUserController.lockUserAccount(beanHelper.user)}" value="#{msg.BUTTON_ADMIN_LOCK_USER_ACCOUNT}" />
                                        </div>
-                               </div>
+                               </h:panelGroup>
                        </h:form>
 
                        <h:outputFormat styleClass="errors" value="#{msg.ERROR_ADMIN_CANNOT_LOCK_USER_ACCOUNT_UNCONFIRMED}" rendered="#{beanHelper.user.userAccountStatus == 'UNCONFIRMED'}">
index 9583039570c0b028cdeb70f43fd7b1c20dce5183..41cbfe119bce423f88f9e3c9fcaf01dbd0af54e4 100644 (file)
@@ -23,7 +23,7 @@
                        <h:outputText styleClass="errors" value="#{msg.ERROR_USER_ID_NOT_FOUND}" rendered="#{empty beanHelper.user}" />
 
                        <h:form id="form_admin_user_unlock" rendered="#{not empty beanHelper.user and beanHelper.user.userAccountStatus == 'LOCKED'}">
-                               <div class="table_medium">
+                               <h:panelGroup styleClass="table_medium" layout="block">
                                        <div class="table_header">
                                                <h:outputFormat value="#{msg.ADMIN_UNLOCK_USER_TITLE}">
                                                        <f:param value="#{beanHelper.user.userName}" />
@@ -88,7 +88,7 @@
 
                                                <h:commandButton styleClass="submit" type="submit" action="#{adminUserController.unlockUserAccount(beanHelper.user)}" value="#{msg.BUTTON_ADMIN_UNLOCK_USER_ACCOUNT}" />
                                        </div>
-                               </div>
+                               </h:panelGroup>
                        </h:form>
 
                        <h:outputFormat styleClass="errors" value="#{msg.ERROR_ADMIN_CANNOT_UNLOCK_USER_ACCOUNT_UNCONFIRMED}" rendered="#{beanHelper.user.userAccountStatus == 'UNCONFIRMED'}">
index a7d6a9c1f03f2f3a47dac3ae4e4bdd0899fce99b..0adfb02da00bcc7bca676248a5ca0b0f23c8565f 100644 (file)
 
                <ui:define name="content">
                        <ui:fragment rendered="#{not empty confirmationLinkController.confirmationKey}">
-                               <ui:fragment rendered="#{not empty beanHelper.user}">
-                                       <div class="table">
-                                               <div class="table_header">
-                                                       <h:outputText value="#{msg.GUEST_CONFIRM_USER_ACCOUNT_DONE_TITLE}" />
-                                               </div>
+                               <h:panelGroup styleClass="table" layout="block" rendered="#{not empty beanHelper.user}">
+                                       <div class="table_header">
+                                               <h:outputText value="#{msg.GUEST_CONFIRM_USER_ACCOUNT_DONE_TITLE}" />
+                                       </div>
 
-                                               <div class="table_row">
-                                                       <h:outputFormat value="#{msg.GUEST_USER_CONFIRM_ACCOUNT_DONE}">
-                                                               <f:param value="#{msg[beanHelper.user.userContact.contactGender.messageKey]}" />
-                                                               <f:param value="#{beanHelper.user.userContact.contactFirstName}" />
-                                                               <f:param value="#{beanHelper.user.userContact.contactFamilyName}" />
-                                                       </h:outputFormat>
-                                               </div>
+                                       <div class="table_row">
+                                               <h:outputFormat value="#{msg.GUEST_USER_CONFIRM_ACCOUNT_DONE}">
+                                                       <f:param value="#{msg[beanHelper.user.userContact.contactGender.messageKey]}" />
+                                                       <f:param value="#{beanHelper.user.userContact.contactFirstName}" />
+                                                       <f:param value="#{beanHelper.user.userContact.contactFamilyName}" />
+                                               </h:outputFormat>
                                        </div>
-                               </ui:fragment>
+                               </h:panelGroup>
 
-                               <ui:fragment rendered="#{empty beanHelper.user}">
-                                       <h:outputText styleClass="errors" value="#{msg.GUEST_CONFIRMATION_LINK_INVALID}" />
-                               </ui:fragment>
+                               <h:outputText styleClass="errors" value="#{msg.GUEST_CONFIRMATION_LINK_INVALID}" rendered="#{empty beanHelper.user}" />
                        </ui:fragment>
 
                        <ui:fragment rendered="#{empty confirmationLinkController.confirmationKey}">
index 4bfc01c4cabb07a6b66688f0c8f7faf536eacb80..4e8536ea739ccf5e6bd15c99566014a2b520e571 100644 (file)
@@ -18,7 +18,7 @@
                        <ui:fragment rendered="#{featureController.isFeatureEnabled('user_name_required') and featureController.isFeatureEnabled('user_password_recovery')}">
                                <div class="para" id="user_lost_password_content">
                                        <h:form id="form_lost_password">
-                                               <div class="table">
+                                               <h:panelGroup styleClass="table" layout="block">
                                                        <div class="table_header">
                                                                <h:outputText value="#{msg.GUEST_LOST_PASSWORD_TITLE}" />
                                                        </div>
@@ -62,7 +62,7 @@
                                                                <h:commandButton styleClass="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
                                                                <h:commandButton styleClass="submit" type="submit" value="#{msg.BUTTON_CONTINUE_STEP_2}" action="#{passwordRecoveryController.doLostPasswordStep2()}" />
                                                        </div>
-                                               </div>
+                                               </h:panelGroup>
                                        </h:form>
                                </div>
                        </ui:fragment>
index ff57a37ec691b0025416a1b0fce49ff4c2c22507..49c48c22be25d79a72c0a33a61ba53ea49875a35 100644 (file)
@@ -16,7 +16,7 @@
 
                <ui:define name="content">
                        <h:form id="form_resend_link" rendered="#{featureController.isFeatureEnabled('user_resend_confirmation_link')}">
-                               <div class="table">
+                               <h:panelGroup styleClass="table" layout="block">
                                        <div class="table_header">
                                                <h:outputText value="#{msg.GUEST_RESEND_LINK_TITLE}" />
                                        </div>
@@ -51,7 +51,7 @@
                                                <h:commandButton styleClass="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
                                                <h:commandButton styleClass="submit" type="submit" id="resend_link" value="#{msg.BUTTON_RESEND_CONFIRMATION_LINK}" action="#{resendController.doResendLink()}" />
                                        </div>
-                               </div>
+                               </h:panelGroup>
                        </h:form>
 
                        <<<<<<< HEAD
index ba5819161505825c39b18cb599a37e77ad096284..a14220e3d73959394c24382a5b66cf00fb7e46a2 100644 (file)
                </ui:define>
 
                <ui:define name="content">
-                       <ui:fragment rendered="#{featureController.isFeatureEnabled('user_list')}">
-                               <div class="table_big">
-                                       <div class="table_header">
-                                               <h:outputText value="#{msg.TABLE_HEADER_USER_LIST}" />
-                                       </div>
+                       <h:panelGroup styleClass="table_big" layout="block" rendered="#{featureController.isFeatureEnabled('user_list')}">
+                               <div class="table_header">
+                                       <h:outputText value="#{msg.TABLE_HEADER_USER_LIST}" />
+                               </div>
 
-                                       <h:dataTable id="userList" var="user" value="#{userController.allVisibleUsers()}" headerClass="table_header_column25" summary="#{msg.TABLE_SUMMARY_USER_LIST}" rendered="#{userController.isVisibleUserFound()}">
-                                               <h:column>
-                                                       <f:facet name="header">#{msg.USER_NAME}</f:facet>
-                                                       <ui:include src="/WEB-INF/templates/user/user_profile_link.tpl">
-                                                               <ui:param name="user" value="#{user}" />
-                                                       </ui:include>
-                                               </h:column>
+                               <h:dataTable id="userList" var="user" value="#{userController.allVisibleUsers()}" headerClass="table_header_column25" summary="#{msg.TABLE_SUMMARY_USER_LIST}" rendered="#{userController.isVisibleUserFound()}">
+                                       <h:column>
+                                               <f:facet name="header">#{msg.USER_NAME}</f:facet>
+                                               <ui:include src="/WEB-INF/templates/user/user_profile_link.tpl">
+                                                       <ui:param name="user" value="#{user}" />
+                                               </ui:include>
+                                       </h:column>
 
-                                               <h:column>
-                                                       <f:facet name="header">#{msg.USER_CREATED}</f:facet>
-                                                       <h:outputFormat id="userCreated" value="#{user.userCreated.time}" title="#{msg.USER_CREATED_TITLE}" />
-                                               </h:column>
-                                       </h:dataTable>
-                               </div>
+                                       <h:column>
+                                               <f:facet name="header">#{msg.USER_CREATED}</f:facet>
+                                               <h:outputFormat id="userCreated" value="#{user.userCreated.time}" title="#{msg.USER_CREATED_TITLE}" />
+                                       </h:column>
+                               </h:dataTable>
+                       </h:panelGroup>>
 
                        <h:outputText styleClass="errors" value="#{msg.ERROR_USER_LIST_DISABLED}" rendered="#{featureController.isFeatureEnabled('user_list')}" />
                </ui:define>
index edb392c15b801ce35078bc9d6246941bb65eb8bf..73a2fdbb71a41e713557eb442a7b3cb68284403e 100644 (file)
                </ui:define>
 
                <ui:define name="content">
-                       <ui:fragment rendered="#{userLoginController.isUserLoggedIn() and featureController.isFeatureEnabled('edit_user_data') and (not userLoginController.ifUserMustChangePassword() or not featureController.isFeatureEnabled('user_must_change_password'))}">
-                               <div class="table">
-                                       <div class="table_header">
-                                               <h:outputText value="#{msg.LOGIN_CHANGE_EMAIL_ADDRESS_TITLE}" />
-                                       </div>
-
-                                       <h:form id="form_login_change_email_address">
-                                               <div class="para">
-                                                       <fieldset class="fieldset" id="change_email">
-                                                               <legend title="#{msg.LOGIN_CHANGE_EMAIL_LEGEND_TITLE}">
-                                                                       <h:outputText value="#{msg.LOGIN_CHANGE_EMAIL_LEGEND}" />
-                                                               </legend>
+                       <h:panelGroup styleClass="table" layout="block" rendered="#{userLoginController.isUserLoggedIn() and featureController.isFeatureEnabled('edit_user_data') and (not userLoginController.ifUserMustChangePassword() or not featureController.isFeatureEnabled('user_must_change_password'))}">
+                               <div class="table_header">
+                                       <h:outputText value="#{msg.LOGIN_CHANGE_EMAIL_ADDRESS_TITLE}" />
+                               </div>
 
-                                                               <div class="table_row">
-                                                                       <div class="table_left">
-                                                                               <h:outputText value="#{msg.LOGIN_CHANGE_EMAIL_OLD_ADDRESS}" />
-                                                                       </div>
+                               <h:form id="form_login_change_email_address">
+                                       <div class="para">
+                                               <fieldset class="fieldset" id="change_email">
+                                                       <legend title="#{msg.LOGIN_CHANGE_EMAIL_LEGEND_TITLE}">
+                                                               <h:outputText value="#{msg.LOGIN_CHANGE_EMAIL_LEGEND}" />
+                                                       </legend>
 
-                                                                       <div class="table_right">
-                                                                               <h:outputText value="#{contactController.emailAddress}" />
-                                                                       </div>
+                                                       <div class="table_row">
+                                                               <div class="table_left">
+                                                                       <h:outputText value="#{msg.LOGIN_CHANGE_EMAIL_OLD_ADDRESS}" />
+                                                               </div>
 
-                                                                       <div class="clear"></div>
+                                                               <div class="table_right">
+                                                                       <h:outputText value="#{contactController.emailAddress}" />
                                                                </div>
 
-                                                               <ui:include src="/WEB-INF/templates/login/user/user_change_email_address_repeat_fields.tpl" />
-                                                       </fieldset>
-                                               </div>
+                                                               <div class="clear"></div>
+                                                       </div>
 
-                                               <ui:include src="/WEB-INF/templates/login/login_enter_current_password.tpl" />
+                                                       <ui:include src="/WEB-INF/templates/login/user/user_change_email_address_repeat_fields.tpl" />
+                                               </fieldset>
+                                       </div>
 
-                                               <div class="table_footer">
-                                                       <h:commandButton class="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
-                                                       <h:commandButton class="submit" type="submit" id="change_email" value="#{msg.BUTTON_CHANGE_EMAIL_ADDRESS}" action="#{emailChangeController.doChangeEmailAddress()}" />
-                                               </div>
-                                       </h:form>
-                               </div>
-                       </ui:fragment>
+                                       <ui:include src="/WEB-INF/templates/login/login_enter_current_password.tpl" />
+
+                                       <div class="table_footer">
+                                               <h:commandButton class="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
+                                               <h:commandButton class="submit" type="submit" id="change_email" value="#{msg.BUTTON_CHANGE_EMAIL_ADDRESS}" action="#{emailChangeController.doChangeEmailAddress()}" />
+                                       </div>
+                               </h:form>
+                       </h:panelGroup>
 
                        <h:outputText styleClass="errors" value="#{msg.ERROR_LOGIN_USER_EDIT_DATA_DISABLED}" rendered="#{not featureController.isFeatureEnabled('edit_user_data')}" />
 
index 7d957e147118930fed5ddf964afc722e4c5501a9..a4b50d33106682b687bc98e160f76d01ea037ec1 100644 (file)
 
                <ui:define name="content">
                        <ui:fragment rendered="#{userLoginController.isUserLoggedIn()}">
-                               <ui:fragment rendered="#{featureController.isFeatureEnabled('change_user_password')}">
-                                       <div class="table">
-                                               <div class="table_header">
-                                                       <h:outputText value="#{msg.LOGIN_CHANGE_PASSWORD_TITLE}" />
-                                               </div>
-
-                                               <h:form id="form_user_change_password">
-                                                       <div class="para">
-                                                               <fieldset class="fieldset" id="change_password">
-                                                                       <legend title="#{msg.LOGIN_CHANGE_PASSWORD_LEGEND_TITLE}">
-                                                                               <h:outputText value="#{msg.LOGIN_CHANGE_PASSWORD_LEGEND}" />
-                                                                       </legend>
-
-                                                                       <div class="table_row">
-                                                                               <div class="table_left">
-                                                                                       <h:outputLabel for="userCurrentPassword" value="#{msg.GUEST_REGISTRATION_ENTER_CURRENT_PASSWORD}" />
-                                                                               </div>
+                               <h:panelGroup styleClass="table" layout="block" rendered="#{featureController.isFeatureEnabled('change_user_password')}">
+                                       <div class="table_header">
+                                               <h:outputText value="#{msg.LOGIN_CHANGE_PASSWORD_TITLE}" />
+                                       </div>
 
-                                                                               <div class="table_right">
-                                                                                       <h:inputSecret styleClass="input" id="userCurrentPassword" size="10" maxlength="255" value="#{userPasswordController.userCurrentPassword}" required="true" requiredMessage="#{msg.USER_CURRENT_PASSWORD_REQUIRED}" />
-                                                                               </div>
+                                       <h:form id="form_user_change_password">
+                                               <div class="para">
+                                                       <fieldset class="fieldset" id="change_password">
+                                                               <legend title="#{msg.LOGIN_CHANGE_PASSWORD_LEGEND_TITLE}">
+                                                                       <h:outputText value="#{msg.LOGIN_CHANGE_PASSWORD_LEGEND}" />
+                                                               </legend>
 
-                                                                               <div class="clear"></div>
+                                                               <div class="table_row">
+                                                                       <div class="table_left">
+                                                                               <h:outputLabel for="userCurrentPassword" value="#{msg.GUEST_REGISTRATION_ENTER_CURRENT_PASSWORD}" />
                                                                        </div>
 
-                                                                       <div class="error_container">
-                                                                               <h:message for="userCurrentPassword" errorClass="errors" fatalClass="errors" warnClass="errors" />
+                                                                       <div class="table_right">
+                                                                               <h:inputSecret styleClass="input" id="userCurrentPassword" size="10" maxlength="255" value="#{userPasswordController.userCurrentPassword}" required="true" requiredMessage="#{msg.USER_CURRENT_PASSWORD_REQUIRED}" />
                                                                        </div>
 
-                                                                       <div class="table_row">
-                                                                               <div class="table_left">
-                                                                                       <h:outputLabel for="userPassword" value="#{msg.GUEST_REGISTRATION_ENTER_PASSWORD}" />
-                                                                               </div>
+                                                                       <div class="clear"></div>
+                                                               </div>
 
-                                                                               <div class="table_right">
-                                                                                       <h:inputSecret styleClass="input" id="userPassword" size="10" maxlength="255" value="#{userPasswordController.userPassword}" required="true" requiredMessage="#{msg.USER_NEW_PASSWORD_REQUIRED}" />
-                                                                               </div>
+                                                               <div class="error_container">
+                                                                       <h:message for="userCurrentPassword" errorClass="errors" fatalClass="errors" warnClass="errors" />
+                                                               </div>
+
+                                                               <div class="table_row">
+                                                                       <div class="table_left">
+                                                                               <h:outputLabel for="userPassword" value="#{msg.GUEST_REGISTRATION_ENTER_PASSWORD}" />
                                                                        </div>
 
-                                                                       <div class="error_container">
-                                                                               <h:message for="userPassword" errorClass="errors" fatalClass="errors" warnClass="errors" />
+                                                                       <div class="table_right">
+                                                                               <h:inputSecret styleClass="input" id="userPassword" size="10" maxlength="255" value="#{userPasswordController.userPassword}" required="true" requiredMessage="#{msg.USER_NEW_PASSWORD_REQUIRED}" />
                                                                        </div>
 
-                                                                       <div class="table_row">
-                                                                               <div class="table_left">
-                                                                                       <h:outputLabel for="userPasswordRepeat" value="#{msg.GUEST_REGISTRATION_ENTER_PASSWORD_REPEAT}" />
-                                                                               </div>
+                                                                       <div class="clear"></div>
+                                                               </div>
+
+                                                               <div class="error_container">
+                                                                       <h:message for="userPassword" errorClass="errors" fatalClass="errors" warnClass="errors" />
+                                                               </div>
 
-                                                                               <div class="table_right">
-                                                                                       <h:inputSecret styleClass="input" id="userPasswordRepeat" size="10" maxlength="255" value="#{userPasswordController.userPasswordRepeat}" required="true" requiredMessage="#{msg.USER_NEW_PASSWORD_REPEAT_REQUIRED}" />
-                                                                               </div>
+                                                               <div class="table_row">
+                                                                       <div class="table_left">
+                                                                               <h:outputLabel for="userPasswordRepeat" value="#{msg.GUEST_REGISTRATION_ENTER_PASSWORD_REPEAT}" />
                                                                        </div>
 
-                                                                       <div class="error_container">
-                                                                               <h:message for="userPasswordRepeat" errorClass="errors" fatalClass="errors" warnClass="errors" />
+                                                                       <div class="table_right">
+                                                                               <h:inputSecret styleClass="input" id="userPasswordRepeat" size="10" maxlength="255" value="#{userPasswordController.userPasswordRepeat}" required="true" requiredMessage="#{msg.USER_NEW_PASSWORD_REPEAT_REQUIRED}" />
                                                                        </div>
-                                                               </fieldset>
-                                                       </div>
-
-                                                       <div class="table_footer">
-                                                               <h:commandButton styleClass="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
-                                                               <h:commandButton styleClass="submit" type="submit" id="change_password" value="#{msg.BUTTON_CHANGE_PASSWORD}" action="#{userPasswordController.doChangePassword()}" />
-                                                       </div>
-                                               </h:form>
-                                       </div>
 
-                                       <ui:include src="/WEB-INF/templates/login/user/user_enter_current_password.tpl" />
+                                                                       <div class="clear"></div>
+                                                               </div>
+
+                                                               <div class="error_container">
+                                                                       <h:message for="userPasswordRepeat" errorClass="errors" fatalClass="errors" warnClass="errors" />
+                                                               </div>
+                                                       </fieldset>
+                                               </div>
+
+                                               <ui:include src="/WEB-INF/templates/login/user/user_enter_current_password.tpl" />
+
+                                               <div class="table_footer">
+                                                       <h:commandButton styleClass="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
+                                                       <h:commandButton styleClass="submit" type="submit" id="change_password" value="#{msg.BUTTON_CHANGE_PASSWORD}" action="#{userPasswordController.doChangePassword()}" />
+                                               </div>
+                                       </h:form>
+                               </h:panelGroup>
+                       </ui:fragment>
 
-                                       <h:outputText styleClass="errors" value="#{msg.ERROR_LOGIN_USER_EDIT_DATA_DISABLED}" rendered="#{not featureController.isFeatureEnabled('change_user_password')}" />
-                               </ui:fragment>
+                       <h:outputText styleClass="errors" value="#{msg.ERROR_LOGIN_USER_EDIT_DATA_DISABLED}" rendered="#{not featureController.isFeatureEnabled('change_user_password')}" />
 
-                               <ui:fragment rendered="#{not userLoginController.isUserLoggedIn()}">
-                                       <ui:include src="/WEB-INF/templates/user/user_not_logged_in.tpl" />
-                               </ui:fragment>
+                       <ui:fragment rendered="#{not userLoginController.isUserLoggedIn()}">
+                               <ui:include src="/WEB-INF/templates/user/user_not_logged_in.tpl" />
                        </ui:fragment>
                </ui:define>
        </ui:composition>
index a968286e266f9f965688e9ee0640379c1da03920..ec2a7cfb0ffdb12f5b5b90ff740db99222e9fefc 100644 (file)
                </ui:define>
 
                <ui:define name="content">
-                       <ui:fragment rendered="#{userLoginController.isUserLoggedIn() and featureController.isFeatureEnabled('edit_user_data') and (not userLoginController.ifUserMustChangePassword() or not featureController.isFeatureEnabled('user_must_change_password'))}">
-                               <div class="table_medium">
-                                       <div class="table_header">
-                                               <h:outputText value="#{msg.LOGIN_CHANGE_PERSONAL_DATA_TITLE}" />
-                                       </div>
+                       <h:panelGroup styleClass="table_medium" layout="block" rendered="#{userLoginController.isUserLoggedIn() and featureController.isFeatureEnabled('edit_user_data') and (not userLoginController.ifUserMustChangePassword() or not featureController.isFeatureEnabled('user_must_change_password'))}">
+                               <div class="table_header">
+                                       <h:outputText value="#{msg.LOGIN_CHANGE_PERSONAL_DATA_TITLE}" />
+                               </div>
 
-                                       <h:form id="form_login_change_personal">
-                                               <ui:include src="/WEB-INF/templates/contact/form_contact_data.tpl" />
+                               <h:form id="form_login_change_personal">
+                                       <ui:include src="/WEB-INF/templates/contact/form_contact_data.tpl" />
 
-                                                       <ui:include src="/WEB-INF/templates/login/user/user_enter_current_password.tpl" />
+                                       <ui:include src="/WEB-INF/templates/login/user/user_enter_current_password.tpl" />
 
-                                                       <ui:include src="/WEB-INF/templates/guest/guest_privacy_terms.tpl" />
+                                       <ui:include src="/WEB-INF/templates/guest/guest_privacy_terms.tpl" />
 
-                                               <div class="table_footer">
-                                                       <h:commandButton styleClass="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
-                                                       <h:commandButton styleClass="submit" type="submit" id="change_personal_data" value="#{msg.BUTTON_CHANGE_PERSONAL_DATA}" action="#{userController.doChangePersonalData()}" />
-                                               </div>
-                                       </h:form>
-                               </div>
-                       </ui:fragment>
+                                       <div class="table_footer">
+                                               <h:commandButton styleClass="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
+                                               <h:commandButton styleClass="submit" type="submit" id="change_personal_data" value="#{msg.BUTTON_CHANGE_PERSONAL_DATA}" action="#{userController.doChangePersonalData()}" />
+                                       </div>
+                               </h:form>
+                       </h:panelGroup>
 
                        <h:outputText styleClass="errors" value="#{msg.ERROR_LOGIN_USER_EDIT_DATA_DISABLED}" rendered="#{not featureController.isFeatureEnabled('edit_user_data')}" />
 
index fbdda7de93081e58ca35155b3add9edb773d2203..162b2eac45b0d2a0c2861243935d657fb1e9dc74 100644 (file)
                </ui:define>
 
                <ui:define name="content">
-                       <ui:fragment rendered="#{userLoginController.isUserLoggedIn() and (not userLoginController.ifUserMustChangePassword() or not featureController.isFeatureEnabled('user_must_change_password'))}">
-                               <div class="table">
-                                       <div class="table_header">
-                                               <h:outputText value="#{msg.LOGIN_EDIT_USER_DATA_TITLE}" />
-                                       </div>
-
-                                       <div class="para notice">
-                                               <h:outputText value="#{msg.LOGIN_CHOOSE_PERSONAL_DATA_EMAIL_PASSWORD_NOTICE}" />
-                                       </div>
-
-                                       <div class="para">
-                                               <ul>
-                                                       <ui:fragment rendered="#{featureController.isFeatureEnabled('edit_user_data') and (not userLoginController.ifUserMustChangePassword() or not featureController.isFeatureEnabled('user_must_change_password'))}">
-                                                               <li>
-                                                                       <h:link title="#{msg.LINK_LOGIN_CHANGE_PERSONAL_DATA_TITLE}" outcome="login_change_personal_data" value="#{msg.LINK_LOGIN_CHANGE_PERSONAL_DATA}" />
-                                                               </li>
-                                                       </ui:fragment>
-
-                                                       <ui:fragment rendered="#{featureController.isFeatureEnabled('edit_user_data') and (not userLoginController.ifUserMustChangePassword() or not featureController.isFeatureEnabled('user_must_change_password'))}">
-                                                               <li>
-                                                                       <h:link title="#{msg.LINK_LOGIN_CHANGE_EMAIL_ADDRESS_TITLE}" outcome="login_change_email_address" value="#{msg.LINK_LOGIN_CHANGE_EMAIL_ADDRESS}" />
-                                                               </li>
-                                                       </ui:fragment>
-
-                                                       <ui:fragment rendered="#{featureController.isFeatureEnabled('edit_user_data')}">
-                                                               <li>
-                                                                       <h:link title="#{msg.LINK_LOGIN_CHANGE_PASSWORD_TITLE}" outcome="login_change_password" value="#{msg.LINK_LOGIN_CHANGE_PASSWORD}" />
-                                                               </li>
-                                                       </ui:fragment>
-                                               </ul>
-                                       </div>
+                       <h:panelGroup styleClass="table" layout="block" rendered="#{userLoginController.isUserLoggedIn() and (not userLoginController.ifUserMustChangePassword() or not featureController.isFeatureEnabled('user_must_change_password'))}">
+                               <div class="table_header">
+                                       <h:outputText value="#{msg.LOGIN_EDIT_USER_DATA_TITLE}" />
                                </div>
-                       </ui:fragment>
+
+                               <div class="para notice">
+                                       <h:outputText value="#{msg.LOGIN_CHOOSE_PERSONAL_DATA_EMAIL_PASSWORD_NOTICE}" />
+                               </div>
+
+                               <div class="para">
+                                       <ul>
+                                               <ui:fragment rendered="#{featureController.isFeatureEnabled('edit_user_data') and (not userLoginController.ifUserMustChangePassword() or not featureController.isFeatureEnabled('user_must_change_password'))}">
+                                                       <li>
+                                                               <h:link title="#{msg.LINK_LOGIN_CHANGE_PERSONAL_DATA_TITLE}" outcome="login_change_personal_data" value="#{msg.LINK_LOGIN_CHANGE_PERSONAL_DATA}" />
+                                                       </li>
+                                               </ui:fragment>
+
+                                               <ui:fragment rendered="#{featureController.isFeatureEnabled('edit_user_data') and (not userLoginController.ifUserMustChangePassword() or not featureController.isFeatureEnabled('user_must_change_password'))}">
+                                                       <li>
+                                                               <h:link title="#{msg.LINK_LOGIN_CHANGE_EMAIL_ADDRESS_TITLE}" outcome="login_change_email_address" value="#{msg.LINK_LOGIN_CHANGE_EMAIL_ADDRESS}" />
+                                                       </li>
+                                               </ui:fragment>
+
+                                               <ui:fragment rendered="#{featureController.isFeatureEnabled('edit_user_data')}">
+                                                       <li>
+                                                               <h:link title="#{msg.LINK_LOGIN_CHANGE_PASSWORD_TITLE}" outcome="login_change_password" value="#{msg.LINK_LOGIN_CHANGE_PASSWORD}" />
+                                                       </li>
+                                               </ui:fragment>
+                                       </ul>
+                               </div>
+                       </h:panelGroup>
 
                        <ui:fragment rendered="#{not userLoginController.isUserLoggedIn()}">
                                <ui:include src="/WEB-INF/templates/user/user_not_logged_in.tpl" />
index 957b4f2092d8ecc4aab836ed41973e8017c94d81..4c8a651608b69e940e17990fa2c88a4669305b99 100644 (file)
@@ -16,7 +16,7 @@
 
                <ui:define name="content">
                        <h:form id="form_user_logout" rendered="#{userLoginController.isUserLoggedIn()}">
-                               <div class="table">
+                               <h:panelGroup styleClass="table" layout="block">
                                        <div class="table_header">
                                                <h:outputText value="#{msg.LOGIN_USER_LOGOUT_TITLE}" />
                                        </div>
@@ -28,7 +28,7 @@
                                        <div class="table_footer">
                                                <h:commandButton styleClass="submit" type="submit" action="#{userLoginController.doUserLogout()}" value="#{msg.BUTTON_USER_LOGOUT}" />
                                        </div>
-                               </div>
+                               </h:panelGroup>
                        </h:form>
 
                        <ui:fragment rendered="#{not userLoginController.isUserLoggedIn()}">