]> git.mxchange.org Git - jfinancials-war.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Sun, 19 Apr 2020 16:58:49 +0000 (18:58 +0200)
committerRoland Häder <roland@mxchange.org>
Sun, 19 Apr 2020 16:58:49 +0000 (18:58 +0200)
- rewrote to not use fax_input_table_row.tpl
- realigned JSF tags to have attributes in a separate line
- got rid of some old tags from pre-PrimeFaces times

Signed-off-by: Roland Häder <roland@mxchange.org>
38 files changed:
web/WEB-INF/resources/tags/admin/form_data/fax/admin_form_fax_data.tpl
web/WEB-INF/resources/tags/admin/form_data/landline/admin_form_landline_data.tpl
web/WEB-INF/resources/tags/profile/user/user_profile_link.tpl
web/WEB-INF/resources/tags/table_rows/fax_input_table_row.tpl [deleted file]
web/WEB-INF/templates/admin/basic_data/admin_form_basic_data.tpl
web/WEB-INF/templates/admin/fax/admin_fax_add_show.tpl
web/WEB-INF/templates/admin/fax/admin_form_add_contact_fax.tpl
web/WEB-INF/templates/admin/landline/admin_form_add_contact_landline.tpl
web/WEB-INF/templates/admin/landline/admin_landline_add_show.tpl
web/WEB-INF/templates/admin/mobile/admin_form_add_contact_mobile.tpl
web/WEB-INF/templates/admin/mobile/admin_mobile_add_show.tpl
web/WEB-INF/templates/login/user/user_base.tpl
web/admin/basic_data/admin_basic_data_list.xhtml
web/admin/contact/unlink/admin_contact_fax_unlink.xhtml
web/admin/contact/unlink/admin_contact_landline_unlink.xhtml
web/admin/contact/unlink/admin_contact_mobile_unlink.xhtml
web/admin/fax/admin_fax_delete.xhtml
web/admin/generic_product/admin_generic_product_list.xhtml
web/admin/mobile/admin_mobile_delete.xhtml
web/admin/user/admin_user_lock.xhtml
web/admin/user/admin_user_resend_confirmation_link.xhtml
web/admin/user/admin_user_unlock.xhtml
web/guest/user/user_confirm_account.xhtml
web/guest/user/user_list.xhtml
web/guest/user/user_login.xhtml
web/guest/user/user_lost_password.xhtml
web/guest/user/user_register.xhtml
web/guest/user/user_register_done.xhtml
web/guest/user/user_register_page2.xhtml
web/guest/user/user_resend_done.xhtml
web/guest/user/user_resend_link.xhtml
web/user/login_contact_data_saved.xhtml
web/user/login_data_saved.xhtml
web/user/login_user_change_email_address.xhtml
web/user/login_user_change_password.xhtml
web/user/login_user_change_personal_data.xhtml
web/user/login_user_contact_data_saved.xhtml
web/user/login_user_data_saved.xhtml

index 081679613234c8cda6ed12c0d44863ea55428682..c091322d66f06f2bda6c1bef514b9f4553f6400e 100644 (file)
@@ -5,25 +5,36 @@
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
        xmlns:p="http://primefaces.org/ui"
+       xmlns:f="http://xmlns.jcp.org/jsf/core"
        >
 
-       <h:panelGroup styleClass="para" layout="block" rendered="#{empty rendered or rendered == true}">
-               <fieldset class="fieldset">
-                       <legend title="#{msg.ADMIN_FAX_NUMBER_DATA_LEGEND_TITLE}">
-                               <h:outputText value="#{msg.ADMIN_FAX_NUMBER_DATA_LEGEND}" />
-                       </legend>
+       <p:fieldset
+               legend="#{msg.ADMIN_FAX_NUMBER_DATA_LEGEND}"
+               title="#{msg.ADMIN_FAX_NUMBER_DATA_LEGEND_TITLE}"
+               rendered="#{empty rendered or rendered == true}"
+               >
+               <p:panelGrid
+                       layout="grid"
+                       columns="2"
+                       >
+                       <p:outputLabel value="#{msg.ADMIN_LABEL_ID_NUMBER}" />
+                       <h:outputText value="#{adminPhoneController.phoneId}" />
 
-                       <h:panelGroup styleClass="table-row" layout="block">
-                               <div class="table-left-medium">
-                                       <p:outputLabel for="faxNumberId" value="#{msg.ADMIN_LABEL_ID_NUMBER}" />
-                               </div>
+                       <p:outputLabel for="faxNumber" value="#{msg.ADMIN_EDIT_FAX_NUMBER}" />
+                       <p:panelGrid
+                               layout="grid"
+                               columns="3"
+                               >
+                               <core:outputCountrySelector id="landLineCountry" styleClass="select" value="#{adminPhoneController.phoneCountry}" />
 
-                               <div class="table-right-medium">
-                                       <h:outputText id="faxNumberId" value="#{faxNumber.phoneId}" />
-                               </div>
-                       </h:panelGroup>
+                               <p:inputText size="5" maxlength="10" value="#{adminPhoneController.phoneAreaCode}">
+                                       <f:validator validatorId="PhoneNumberValidator" />
+                               </p:inputText>
 
-                       <core:outputFaxInputTableRow targetController="#{adminPhoneController}" labelMessage="#{msg.ADMIN_EDIT_FAX_NUMBER}" />
-               </fieldset>
-       </h:panelGroup>
+                               <p:inputText size="10" maxlength="20" value="#{adminPhoneController.landLineNumber}">
+                                       <f:validator validatorId="PhoneNumberValidator" />
+                               </p:inputText>
+                       </p:panelGrid>
+               </p:panelGrid>
+       </p:fieldset>
 </ui:composition>
index afd2b53848c575fd7fa99a1b1011f78f557cec0a..7c46612a33728e6acfeb51b3b19e9926c4986f40 100644 (file)
@@ -5,25 +5,36 @@
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
        xmlns:p="http://primefaces.org/ui"
+       xmlns:f="http://xmlns.jcp.org/jsf/core"
        >
 
-       <h:panelGroup styleClass="para" layout="block" rendered="#{empty rendered or rendered == true}">
-               <fieldset class="fieldset">
-                       <legend title="#{msg.ADMIN_LAND_LINE_NUMBER_DATA_LEGEND_TITLE}">
-                               <h:outputText value="#{msg.ADMIN_LAND_LINE_NUMBER_DATA_LEGEND}" />
-                       </legend>
+       <p:fieldset
+               legend="#{msg.ADMIN_LAND_LINE_NUMBER_DATA_LEGEND}"
+               title="#{msg.ADMIN_LAND_LINE_NUMBER_DATA_LEGEND_TITLE}"
+               rendered="#{empty rendered or rendered == true}"
+               >
+               <p:panelGrid
+                       layout="grid"
+                       columns="2"
+                       >
+                       <p:outputLabel value="#{msg.ADMIN_LABEL_ID_NUMBER}" />
+                       <h:outputText value="#{adminPhoneController.phoneId}" />
 
-                       <h:panelGroup styleClass="table-row" layout="block">
-                               <div class="table-left-medium">
-                                       <p:outputLabel for="landLineNumberId" value="#{msg.ADMIN_LABEL_ID_NUMBER}" />
-                               </div>
+                       <p:outputLabel for="landLineNumber" value="#{msg.ADMIN_EDIT_LAND_LINE_NUMBER}" />
+                       <p:panelGrid
+                               layout="grid"
+                               columns="3"
+                               >
+                               <core:outputCountrySelector id="landLineCountry" styleClass="select" value="#{adminPhoneController.phoneCountry}" />
 
-                               <div class="table-right-medium">
-                                       <h:outputText id="landLineNumberId" value="#{landLineNumber.phoneId}" />
-                               </div>
-                       </h:panelGroup>
+                               <p:inputText size="5" maxlength="10" value="#{adminPhoneController.phoneAreaCode}">
+                                       <f:validator validatorId="PhoneNumberValidator" />
+                               </p:inputText>
 
-                       <core:outputLandLineInputTableRow targetController="#{adminPhoneController}" labelMessage="#{msg.ADMIN_EDIT_LAND_LINE_NUMBER}" />
-               </fieldset>
-       </h:panelGroup>
+                               <p:inputText size="10" maxlength="20" value="#{adminPhoneController.landLineNumber}">
+                                       <f:validator validatorId="PhoneNumberValidator" />
+                               </p:inputText>
+                       </p:panelGrid>
+               </p:panelGrid>
+       </p:fieldset>
 </ui:composition>
index f691140a66e96662f0633d088a55926f2ef85a5a..1e2e62d40f85ed4784624eb2dbacc029e5ad32b3 100644 (file)
@@ -8,7 +8,13 @@
        xmlns:p="http://primefaces.org/ui"
        >
 
-       <core:outputMessageBox panelGroupId="nonPublicUserProfile" message="#{msg.USER_PROFILE_NOT_PUBLICLY_VISIBLE}" boxStyleClass="message-mini" messageStyleClass="notice" rendered="#{not empty user and not profileController.isProfileLinkVisibleByUser(user)}" />
+       <core:outputMessageBox
+               panelGroupId="nonPublicUserProfile"
+               message="#{msg.USER_PROFILE_NOT_PUBLICLY_VISIBLE}"
+               boxStyleClass="message-mini"
+               messageStyleClass="notice"
+               rendered="#{not empty user and not profileController.isProfileLinkVisibleByUser(user)}"
+               />
 
        <p:link
                outcome="user_profile"
diff --git a/web/WEB-INF/resources/tags/table_rows/fax_input_table_row.tpl b/web/WEB-INF/resources/tags/table_rows/fax_input_table_row.tpl
deleted file mode 100644 (file)
index d06b483..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<ui:composition
-       xmlns="http://www.w3.org/1999/xhtml"
-       xmlns:core="http://mxchange.org/jsf/core/widgets"
-       xmlns:f="http://java.sun.com/jsf/core"
-       xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
-       xmlns:p="http://primefaces.org/ui"
-       >
-
-       <p:row rendered="#{empty rendered or rendered == true}">
-               <p:outputLabel for="faxNumber" value="#{labelMessage}" />
-
-               <p:column>
-                       <core:outputCountrySelector id="faxCountry" styleClass="select" value="#{targetController.faxCountry}" />
-                       <p:inputText id="faxAreaCode" size="5" maxlength="10" value="#{targetController.faxAreaCode}">
-                               <f:validator validatorId="PhoneNumberValidator" />
-                       </p:inputText>
-                       <p:inputText id="faxNumber" size="10" maxlength="20" value="#{targetController.faxNumber}">
-                               <f:validator validatorId="PhoneNumberValidator" />
-                       </p:inputText>
-               </p:column>
-
-               <p:column>
-                       <p:message for="faxAreaCode" />
-                       <p:message for="faxNumber" />
-               </p:column>
-       </p:row>
-</ui:composition>
index 223674628bdc4695b5e2e667b51245bae0572a2b..3d91a3404cd2509a740e722f6af2ee558f3dd355 100644 (file)
                                </p:inputText>
 
                                <p:outputLabel for="companyLogo" value="#{msg.ADMIN_SELECT_BASIC_DATA_COMPANY_LOGO}" />
-                               <core:outputMessageBox panelGroupId="companyLogo" message="#{msg.ADMIN_FEATURE_UNFINISHED_WARNING}" boxStyleClass="message-full" messageStyleClass="alert-warning" />
+                               <core:outputMessageBox
+                                       panelGroupId="companyLogo"
+                                       message="#{msg.ADMIN_FEATURE_UNFINISHED_WARNING}"
+                                       boxStyleClass="message-full"
+                                       messageStyleClass="alert-warning"
+                                       />
 
                                <p:outputLabel for="companyTaxNumber" value="#{msg.ADMIN_BASIC_DATA_COMPANY_TAX_NUMBER}" />
                                <p:inputText
index 2f24f3a62acfdddbba0486bdbdd60f322f4d91c8..0ac5df69b12f2b22baee0a23b7155e6a3e8768b8 100644 (file)
@@ -6,11 +6,19 @@
        xmlns:h="http://xmlns.jcp.org/jsf/html"
        xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
 
-       <core:outputMessageBox panelGroupId="errorHelperAddFax" message="#{msg.ERROR_BEAN_HELPER_CONTACT_NOT_SET}" messageStyleClass="alert-danger" rendered="#{empty beanHelper.contact}" />
+       <core:outputMessageBox
+               panelGroupId="errorHelperAddFax"
+               message="#{msg.ERROR_BEAN_HELPER_CONTACT_NOT_SET}"
+               messageStyleClass="alert-danger"
+               rendered="#{empty beanHelper.contact}"
+               />
 
        <ui:fragment rendered="#{empty beanHelper.contact.contactFaxNumber and not empty beanHelper.contact}">
                <ui:include src="/WEB-INF/templates/admin/fax/admin_form_add_contact_fax.tpl" />
        </ui:fragment>
 
-       <core:outputAdminFaxPanelGrid faxNumber="#{beanHelper.contact.contactFaxNumber}" rendered="#{not empty beanHelper.contact.contactFaxNumber and not empty beanHelper.contact}" />
+       <core:outputAdminFaxPanelGrid
+               faxNumber="#{beanHelper.contact.contactFaxNumber}"
+               rendered="#{not empty beanHelper.contact.contactFaxNumber and not empty beanHelper.contact}"
+               />
 </ui:composition>
index 65dab7cfc17dbb2a82b315c09f54bfa02a97abe7..2b55ab4952baf94250f684f2b5286b76dd201a29 100644 (file)
@@ -8,7 +8,12 @@
        xmlns:p="http://primefaces.org/ui"
        >
 
-       <core:outputMessageBox panelGroupId="errorHelperContactAddFax" message="#{msg.ERROR_BEAN_HELPER_CONTACT_NOT_SET}" messageStyleClass="alert-danger" rendered="#{empty beanHelper.contact}" />
+       <core:outputMessageBox
+               panelGroupId="errorHelperContactAddFax"
+               message="#{msg.ERROR_BEAN_HELPER_CONTACT_NOT_SET}"
+               messageStyleClass="alert-danger"
+               rendered="#{empty beanHelper.contact}"
+               />
 
        <h:form rendered="#{not empty beanHelper.contact}">
                <h:panelGroup layout="block">
@@ -32,7 +37,7 @@
                                                <f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
 
                                                <f:selectItems
-                                                       value="#{adminPhoneListController.allNonLinkedFaxNumbers}"
+                                                       value="#{adminPhoneController.allNonLinkedFaxNumbers}"
                                                        var="faxNumber"
                                                        itemValue="#{faxNumber}"
                                                        itemLabel="#{faxNumber.phoneCountry.countryExternalDialPrefix} (#{faxNumber.phoneAreaCode}) #{faxNumber.phoneNumber}"
index 4d9d9740a3b6cdfa9607db2b0a719c2218734b90..722fe3ba7edf28bf07c7b55e840ad67620591eb4 100644 (file)
@@ -8,7 +8,12 @@
        xmlns:p="http://primefaces.org/ui"
        >
 
-       <core:outputMessageBox panelGroupId="errorHelperContactAddLandline" message="#{msg.ERROR_BEAN_HELPER_CONTACT_NOT_SET}" messageStyleClass="alert-danger" rendered="#{empty beanHelper.contact}" />
+       <core:outputMessageBox
+               panelGroupId="errorHelperContactAddLandline"
+               message="#{msg.ERROR_BEAN_HELPER_CONTACT_NOT_SET}"
+               messageStyleClass="alert-danger"
+               rendered="#{empty beanHelper.contact}"
+               />
 
        <h:form rendered="#{not empty beanHelper.contact}">
                <h:panelGroup layout="block">
                                <ui:include src="/WEB-INF/templates/admin/contact/admin_contact_data_mini.tpl" />
                        </div>
 
-                       <h:panelGroup styleClass="table-row" layout="block">
-                               <div class="table-left-medium">
-                                       <p:outputLabel for="landLineNumber" value="#{msg.ADMIN_SELECT_LAND_LINE_NUMBER}" />
-                               </div>
-
-                               <div class="table-right-medium">
-                                       <p:selectOneMenu styleClass="select" id="landLineNumber" value="#{adminPhoneController.landLineNumber}">
-                                               <f:converter converterId="LandLineNumberConverter" />
+                       <p:panelGrid
+                               layout="grid"
+                               columns="2"
+                               >
+                               <p:outputLabel for="landLineNumber" value="#{msg.ADMIN_SELECT_LAND_LINE_NUMBER}" />
+                               <p:selectOneMenu
+                                       id="landLineNumber"
+                                       styleClass="select"
+                                       value="#{adminPhoneController.landLineNumber}"
+                                       >
+                                       <f:converter converterId="LandLineNumberConverter" />
 
-                                               <f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
+                                       <f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
 
-                                               <f:selectItems
-                                                       value="#{adminPhoneListController.allNonLinkedLandLineNumbers}"
-                                                       var="landlineNumber"
-                                                       itemValue="#{landlineNumber}"
-                                                       itemLabel="#{landlineNumber.phoneCountry.countryExternalDialPrefix} (#{landlineNumber.phoneAreaCode}) #{landlineNumber.phoneNumber}"
-                                                       />
-                                       </p:selectOneMenu>
-                               </div>
-                       </h:panelGroup>
+                                       <f:selectItems
+                                               value="#{adminPhoneController.allNonLinkedLandLineNumbers}"
+                                               var="landlineNumber"
+                                               itemValue="#{landlineNumber}"
+                                               itemLabel="#{beanHelper.renderPhoneNumber(landlineNumber)}"
+                                               />
+                               </p:selectOneMenu>
+                       </p:panelGrid>
 
                        <div class="para">
                                <h:outputText value="#{msg.ADMIN_OR_ENTER_CONTACT_NEW_LAND_LINE_DATA}" />
index 5f24e211cb715b34e964c7ed1921df90c18b4f5b..9998fb116417881211fa1c5024924f3d18a677be 100644 (file)
@@ -6,11 +6,19 @@
        xmlns:h="http://xmlns.jcp.org/jsf/html"
        xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
 
-       <core:outputMessageBox panelGroupId="errorHandlerAddLandLine" message="#{msg.ERROR_BEAN_HELPER_CONTACT_NOT_SET}" messageStyleClass="alert-danger" rendered="#{empty beanHelper.contact}" />
+       <core:outputMessageBox
+               panelGroupId="errorHandlerAddLandLine"
+               message="#{msg.ERROR_BEAN_HELPER_CONTACT_NOT_SET}"
+               messageStyleClass="alert-danger"
+               rendered="#{empty beanHelper.contact}"
+               />
 
        <ui:fragment rendered="#{empty beanHelper.contact.contactLandLineNumber and not empty beanHelper.contact}">
                <ui:include src="/WEB-INF/templates/admin/landline/admin_form_add_contact_landline.tpl" />
        </ui:fragment>
 
-       <core:outputAdminLandLinePanelGrid landLineNumber="#{beanHelper.contact.contactLandLineNumber}" rendered="#{not empty beanHelper.contact.contactLandLineNumber and not empty beanHelper.contact}" />
+       <core:outputAdminLandLinePanelGrid
+               landLineNumber="#{beanHelper.contact.contactLandLineNumber}"
+               rendered="#{not empty beanHelper.contact.contactLandLineNumber and not empty beanHelper.contact}"
+               />
 </ui:composition>
index c69cc57f729f65533a0c0e0dd038357f0ca29a88..9e57a99ac462eabb5ed96f488d26972904876bc9 100644 (file)
@@ -8,7 +8,12 @@
        xmlns:p="http://primefaces.org/ui"
        >
 
-       <core:outputMessageBox panelGroupId="errorHandlerAddMobileContact" message="#{msg.ERROR_BEAN_HELPER_CONTACT_NOT_SET}" messageStyleClass="alert-danger" rendered="#{empty beanHelper.contact}" />
+       <core:outputMessageBox
+               panelGroupId="errorHandlerAddMobileContact"
+               message="#{msg.ERROR_BEAN_HELPER_CONTACT_NOT_SET}"
+               messageStyleClass="alert-danger"
+               rendered="#{empty beanHelper.contact}"
+               />
 
        <h:form rendered="#{not empty beanHelper.contact}">
                <h:panelGroup layout="block">
                                <ui:include src="/WEB-INF/templates/admin/contact/admin_contact_data_mini.tpl" />
                        </div>
 
-                       <h:panelGroup styleClass="table-row" layout="block">
-                               <div class="table-left-medium">
-                                       <p:outputLabel for="mobileNumber" value="#{msg.ADMIN_SELECT_MOBILE_NUMBER}" />
-                               </div>
+                       <p:panelGrid
+                               layout="grid"
+                               columns="2"
+                               >
+                               <p:outputLabel for="mobileNumber" value="#{msg.ADMIN_SELECT_MOBILE_NUMBER}" />
+                               <p:selectOneMenu styleClass="select" id="mobileNumber" value="#{adminMobileController.mobileNumber}">
+                                       <f:converter converterId="MobileNumberConverter" />
 
-                               <div class="table-right-medium">
-                                       <p:selectOneMenu styleClass="select" id="mobileNumber" value="#{adminPhoneController.mobileNumber}">
-                                               <f:converter converterId="MobileNumberConverter" />
+                                       <f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
 
-                                               <f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
-
-                                               <f:selectItems
-                                                       value="#{adminPhoneListController.allNonLinkedMobileNumbers}"
-                                                       var="mobileNumber"
-                                                       itemValue="#{mobileNumber}"
-                                                       itemLabel="#{beanHelper.renderMobileNumber(mobileNumber)}"
-                                                       />
-                                       </p:selectOneMenu>
-                               </div>
-                       </h:panelGroup>
+                                       <f:selectItems
+                                               value="#{adminMobileController.allNonLinkedMobileNumbers}"
+                                               var="mobileNumber"
+                                               itemValue="#{mobileNumber}"
+                                               itemLabel="#{beanHelper.renderMobileNumber(mobileNumber)}"
+                                               />
+                               </p:selectOneMenu>
+                       </p:panelGrid>
 
                        <div class="para">
                                <h:outputText value="#{msg.ADMIN_OR_ENTER_CONTACT_NEW_MOBILE_DATA}" />
                        </div>
 
                        <p:outputLabel for="mobileNumber" value="#{msg.ADMIN_PERSONAL_DATA_MOBILE_NUMBER}" />
-                       <core:inputMobileNumberPanelGrid targetController="#{adminPhoneController}" />
+                       <core:inputMobileNumberPanelGrid targetController="#{adminMobileController}" />
 
-                       <p:panelGrid columns="2" layout="grid">
+                       <p:panelGrid
+                               layout="grid"
+                               columns="2"
+                               >
                                <p:commandButton
                                        type="reset"
                                        value="#{msg.BUTTON_RESET_FORM}"
@@ -56,7 +62,7 @@
 
                                <p:commandButton
                                        type="submit"
-                                       action="#{adminContactPhoneController.doLinkAddMobileNumber(beanHelper.contact)}"
+                                       action="#{adminContactMobileController.doLinkAddMobileNumber(beanHelper.contact)}"
                                        value="#{msg.BUTTON_ADMIN_LINK_ADD_CONTACT_MOBILE_NUMBER}"
                                        >
                                        <f:param name="contactId" value="#{param.contactId}" />
index bf25e964ca8d7e767af02837ed85eab75dfc1658..b3a3865ea6618a0707f4d44ef9f8d8f73e650110 100644 (file)
@@ -6,11 +6,19 @@
        xmlns:h="http://xmlns.jcp.org/jsf/html"
        xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
 
-       <core:outputMessageBox panelGroupId="errorHandlerAddMobile" message="#{msg.ERROR_BEAN_HELPER_CONTACT_NOT_SET}" messageStyleClass="alert-danger" rendered="#{empty beanHelper.contact}" />
+       <core:outputMessageBox
+               panelGroupId="errorHandlerAddMobile"
+               message="#{msg.ERROR_BEAN_HELPER_CONTACT_NOT_SET}"
+               messageStyleClass="alert-danger"
+               rendered="#{empty beanHelper.contact}"
+               />
 
        <ui:fragment rendered="#{empty beanHelper.contact.contactMobileNumber and not empty beanHelper.contact}">
                <ui:include src="/WEB-INF/templates/admin/mobile/admin_form_add_contact_mobile.tpl" />
        </ui:fragment>
 
-       <core:outputAdminMobilePanelGrid mobileNumber="#{beanHelper.contact.contactMobileNumber}" rendered="#{not empty beanHelper.contact.contactMobileNumber and not empty beanHelper.contact}" />
+       <core:outputAdminMobilePanelGrid
+               mobileNumber="#{beanHelper.contact.contactMobileNumber}"
+               rendered="#{not empty beanHelper.contact.contactMobileNumber and not empty beanHelper.contact}"
+               />
 </ui:composition>
index 2171974196f21e5d4d6f2f9e50755254a4d12101..faab2b412a8dfc4d7949a834e595c7b858eebc13 100644 (file)
        </ui:define>
 
        <ui:define name="menu">
-               <core:outputMessageBox panelGroupId="errorGuestForbidden" message="#{msg.USER_NOT_LOGGED_IN}" boxStyleClass="message-full" messageStyleClass="alert-danger" rendered="#{not userLoginController.isUserLoggedIn()}" />
+               <core:outputMessageBox
+                       panelGroupId="errorGuestForbidden"
+                       message="#{msg.USER_NOT_LOGGED_IN}"
+                       boxStyleClass="message-full"
+                       messageStyleClass="alert-danger"
+                       rendered="#{not userLoginController.isUserLoggedIn()}"
+                       />
 
                <ui:fragment rendered="#{userLoginController.isUserLoggedIn()}">
                        <ui:include src="/WEB-INF/templates/login/user/user_menu.tpl" />
index e15b995725c2b64d52faf187c7fd8158fdb4419d..26c732d47eb11e912d435a9593f032cd4c58faad 100644 (file)
                                        filterBy="#{basicData.companyShortName}"
                                        filterMatchMode="contains"
                                        >
-                                       <h:outputLink value="#{basicData.companyWebsiteUrl}" target="_blank" title="#{msg.LINK_COMPANY_WEBSITE_URL_TITLE}" rel="external" rendered="#{not empty basicData.companyWebsiteUrl}">
+                                       <h:outputLink
+                                               value="#{basicData.companyWebsiteUrl}"
+                                               target="_blank"
+                                               title="#{msg.LINK_COMPANY_WEBSITE_URL_TITLE}"
+                                               rel="external"
+                                               rendered="#{not empty basicData.companyWebsiteUrl}"
+                                               >
                                                <h:outputText value="#{basicData.companyShortName}" />
                                        </h:outputLink>
 
-                                       <h:outputText value="#{basicData.companyShortName}" title="#{msg.NO_WEBSITE_URL_ENTERED}" rendered="#{empty basicData.companyWebsiteUrl}" />
+                                       <h:outputText
+                                               value="#{basicData.companyShortName}"
+                                               title="#{msg.NO_WEBSITE_URL_ENTERED}"
+                                               rendered="#{empty basicData.companyWebsiteUrl}"
+                                               />
                                </p:column>
 
                                <p:column
                                        <h:outputText value="#{beanHelper.renderPhoneNumber(basicData.companyFaxNumber)}" />
                                </p:column>
 
+                               <p:column
+                                       headerText="#{msg.ROAD_NUMBER_HEADER}"
+                                       sortBy="#{basicData.companyRoadNumber}"
+                                       filterBy="#{basicData.companyRoadNumber}"
+                                       filterMatchMode="contains"
+                                       >
+                                       <h:outputText value="#{basicData.companyRoadNumber}" />
+                               </p:column>
+
                                <p:column
                                        headerText="#{msg.ENTRY_CREATED_HEADER}"
                                        sortBy="#{basicData.companyEntryCreated}"
index 16433b4f3c10d6e130c13fe473a5445fe51a9028..3d26ed8d032912ff2449eff2e790503a69b88966 100644 (file)
@@ -41,7 +41,9 @@
        </ui:define>
 
        <ui:define name="content">
-               <h:form rendered="#{not empty beanHelper.faxNumber and not empty beanHelper.contact and beanHelper.contact.contactFaxNumber == beanHelper.faxNumber}">
+               <h:form
+                       rendered="#{not empty beanHelper.faxNumber and not empty beanHelper.contact and beanHelper.contact.contactFaxNumber == beanHelper.faxNumber}"
+                       >
                        <h:inputHidden value="#{adminContactPhoneController.contact}" />
                        <h:inputHidden value="#{adminContactPhoneController.phoneId}" />
 
                                </div>
 
                                <div class="para">
-                                       <core:outputAdminFaxPanelGrid faxNumber="#{beanHelper.faxNumber}" contact="#{beanHelper.contact}" renderShowLink="false" showAdminDropdownMenu="false" />
+                                       <core:outputAdminFaxPanelGrid
+                                               faxNumber="#{beanHelper.faxNumber}"
+                                               contact="#{beanHelper.contact}"
+                                               renderShowLink="false"
+                                               showAdminDropdownMenu="false"
+                                               />
                                </div>
 
                                <p:panelGrid columns="2" layout="grid">
                        </h:panelGroup>
                </h:form>
 
-               <h:outputFormat styleClass="alert-danger" value="#{msg.ERROR_FAX_NUMBER_CONTACT_NOT_LINKED}" rendered="#{not empty beanHelper.faxNumber and not empty beanHelper.contact and beanHelper.contact.contactFaxNumber != beanHelper.faxNumber}">
+               <h:outputFormat
+                       styleClass="alert-danger"
+                       value="#{msg.ERROR_FAX_NUMBER_CONTACT_NOT_LINKED}"
+                       rendered="#{not empty beanHelper.faxNumber and not empty beanHelper.contact and beanHelper.contact.contactFaxNumber != beanHelper.faxNumber}"
+                       >
                        <f:param value="#{adminContactPhoneController.phoneId}" />
                        <f:param value="#{adminContactPhoneController.contact.contactId}" />
                </h:outputFormat>
index 44ccd6f496feb626961ef5efbbda464590025135..d1d29d3ecb745901b85b8d7ebeefda5debfa8f3d 100644 (file)
                                </div>
 
                                <div class="para">
-                                       <core:outputAdminLandLinePanelGrid landLineNumber="#{beanHelper.landLineNumber}" contact="#{beanHelper.contact}" renderShowLink="false" showAdminDropdownMenu="false" />
+                                       <core:outputAdminLandLinePanelGrid
+                                               landLineNumber="#{beanHelper.landLineNumber}"
+                                               contact="#{beanHelper.contact}"
+                                               renderShowLink="false"
+                                               showAdminDropdownMenu="false"
+                                               />
                                </div>
 
                                <p:panelGrid columns="2" layout="grid">
                        </h:panelGroup>
                </h:form>
 
-               <h:outputFormat styleClass="alert-danger" value="#{msg.ERROR_LAND_LINE_NUMBER_CONTACT_NOT_LINKED}" rendered="#{not empty beanHelper.landLineNumber and not empty beanHelper.contact and beanHelper.contact.contactLandLineNumber != beanHelper.landLineNumber}">
+               <h:outputFormat
+                       styleClass="alert-danger"
+                       value="#{msg.ERROR_LAND_LINE_NUMBER_CONTACT_NOT_LINKED}"
+                       rendered="#{not empty beanHelper.landLineNumber and not empty beanHelper.contact and beanHelper.contact.contactLandLineNumber != beanHelper.landLineNumber}"
+                       >
                        <f:param value="#{beanHelper.landLineNumber.phoneId}" />
                        <f:param value="#{beanHelper.contact.contactId}" />
                </h:outputFormat>
index 1d7d3d086ffca2cf5b7c2a3ee3a31b18bfed9bd8..2bde48f875de32ee21942892c0b3c3e70eb4e271 100644 (file)
                                </div>
 
                                <div class="para">
-                                       <core:outputAdminMobilePanelGrid mobileNumber="#{beanHelper.mobileNumber}" contact="#{beanHelper.contact}" renderShowLink="false" showAdminDropdownMenu="false" />
+                                       <core:outputAdminMobilePanelGrid
+                                               mobileNumber="#{beanHelper.mobileNumber}"
+                                               contact="#{beanHelper.contact}"
+                                               renderShowLink="false"
+                                               showAdminDropdownMenu="false"
+                                               />
                                </div>
 
                                <p:commandButton
                                        type="submit"
                                        value="#{msg.BUTTON_ADMIN_UNLINK_MOBILE_NUMBER}"
-                                       action="#{adminContactPhoneController.unlinkMobileContactData()}"
+                                       action="#{adminContactMobileController.unlinkMobileContactData()}"
                                        />
                        </h:panelGroup>
                </h:form>
 
-               <h:outputFormat styleClass="alert-danger" value="#{msg.ERROR_MOBILE_NUMBER_CONTACT_NOT_LINKED}" rendered="#{not empty beanHelper.mobileNumber and not empty beanHelper.contact and beanHelper.contact.contactMobileNumber != beanHelper.mobileNumber}">
+               <h:outputFormat
+                       styleClass="alert-danger"
+                       value="#{msg.ERROR_MOBILE_NUMBER_CONTACT_NOT_LINKED}"
+                       rendered="#{not empty beanHelper.mobileNumber and not empty beanHelper.contact and beanHelper.contact.contactMobileNumber != beanHelper.mobileNumber}"
+                       >
                        <f:param value="#{beanHelper.mobileNumber.mobileId}" />
                        <f:param value="#{beanHelper.contact.contactId}" />
                </h:outputFormat>
index df5534fc8e97f4d1a24e7702a907cc86c9079663..2c98a7d1d6e3924c5356766fcf43663176e265c7 100644 (file)
                                </div>
 
                                <div class="para">
-                                       <core:outputAdminFaxPanelGrid faxNumber="#{beanHelper.faxNumber}" renderShowLink="false" showAdminDropdownMenu="false" />
+                                       <core:outputAdminFaxPanelGrid
+                                               faxNumber="#{beanHelper.faxNumber}"
+                                               renderShowLink="false"
+                                               showAdminDropdownMenu="false"
+                                               />
                                </div>
 
                                <div class="para">
index 1c9ed323ec53fbf8de559a5c1443a4266e2841ec..79e12d4fa7de7e10c1b601b2e61f9350812cd956 100644 (file)
 
                                <p:column
                                        headerText="#{msg.ENTRY_CREATED_HEADER}"
-                                       sortBy="#{genericProduct.productCreated}"
+                                       sortBy="#{genericProduct.productEntryCreated}"
                                        filterable="false"
                                        >
-                                       <h:outputText value="#{genericProduct.productCreated}">
+                                       <h:outputText value="#{genericProduct.productEntryCreated}">
+                                               <f:convertDateTime type="both" timeStyle="short" dateStyle="short" />
+                                       </h:outputText>
+                               </p:column>
+
+                               <p:column
+                                       headerText="#{msg.ENTRY_UPDATED_HEADER}"
+                                       sortBy="#{genericProduct.productEntryUpdated}"
+                                       filterable="false"
+                                       >
+                                       <h:outputText value="#{genericProduct.productEntryUpdated}">
                                                <f:convertDateTime type="both" timeStyle="short" dateStyle="short" />
                                        </h:outputText>
                                </p:column>
                                                <h:outputText value="#{product.PRODUCT_HAS_NO_MANUFACTURER_ASSIGNED}" rendered="#{empty productListController.selectedProduct.productManufacturer}" />
 
                                                <p:outputLabel value="#{msg.ENTRY_CREATED_HEADER}" title="#{product.ADMIN_PRODUCT_ENTRY_CREATED_TITLE}" />
-                                               <h:outputText value="#{productListController.selectedProduct.productCreated}">
+                                               <h:outputText value="#{productListController.selectedProduct.productEntryCreated}">
+                                                       <f:convertDateTime type="both" timeStyle="short" dateStyle="short" />
+                                               </h:outputText>
+
+                                               <p:outputLabel value="#{msg.ENTRY_UPDATED_HEADER}" title="#{product.ADMIN_PRODUCT_ENTRY_UPDATED_TITLE}" />
+                                               <h:outputText value="#{productListController.selectedProduct.productEntryUpdated}">
                                                        <f:convertDateTime type="both" timeStyle="short" dateStyle="short" />
                                                </h:outputText>
                                        </p:panelGrid>
index f5600af592b7267d32aa2e21f57a1d71ada4cc99..7b97a449dbb2c79f651f28374f63e19700a4dbae 100644 (file)
        </ui:define>
 
        <ui:define name="content">
-               <core:outputMessageBox panelGroupId="errorHandlerDeleteMobile" message="#{msg.ERROR_BEAN_HELPER_MOBILE_NUMBER_NOT_SET}" messageStyleClass="alert-danger" rendered="#{empty beanHelper.mobileNumber}" />
+               <core:outputMessageBox
+                       panelGroupId="errorHandlerDeleteMobile"
+                       message="#{msg.ERROR_BEAN_HELPER_MOBILE_NUMBER_NOT_SET}"
+                       messageStyleClass="alert-danger"
+                       rendered="#{empty beanHelper.mobileNumber}"
+                       />
 
                <h:form rendered="#{not empty beanHelper.mobileNumber}">
                        <h:panelGroup styleClass="table" layout="block">
                                </div>
 
                                <div class="para">
-                                       <core:outputAdminMobilePanelGrid mobileNumber="#{beanHelper.mobileNumber}" renderShowLink="false" showAdminDropdownMenu="false" />
+                                       <core:outputAdminMobilePanelGrid
+                                               mobileNumber="#{beanHelper.mobileNumber}"
+                                               renderShowLink="false"
+                                               showAdminDropdownMenu="false"
+                                               />
                                </div>
 
                                <div class="para">
index e34de43355de64863847fafd1f2e0ab6ef856711..93a7cb4a780b04aa539ebc3196b92d936dceb7fe 100644 (file)
                        </h:panelGroup>
                </h:form>
 
-               <h:outputFormat styleClass="alert-danger" value="#{msg.ERROR_ADMIN_CANNOT_LOCK_USER_ACCOUNT_UNCONFIRMED}" rendered="#{beanHelper.user.userAccountStatus == 'UNCONFIRMED'}">
+               <h:outputFormat
+                       styleClass="alert-danger"
+                       value="#{msg.ERROR_ADMIN_CANNOT_LOCK_USER_ACCOUNT_UNCONFIRMED}"
+                       rendered="#{beanHelper.user.userAccountStatus == 'UNCONFIRMED'}"
+                       >
                        <f:param value="#{beanHelper.user.userName}" />
                        <f:param value="#{beanHelper.user.userId}" />
                </h:outputFormat>
 
-               <h:outputFormat styleClass="alert-danger" value="#{msg.ERROR_ADMIN_CANNOT_LOCK_USER_ACCOUNT_LOCKED}" rendered="#{beanHelper.user.userAccountStatus == 'LOCKED'}">
+               <h:outputFormat
+                       styleClass="alert-danger"
+                       value="#{msg.ERROR_ADMIN_CANNOT_LOCK_USER_ACCOUNT_LOCKED}"
+                       rendered="#{beanHelper.user.userAccountStatus == 'LOCKED'}"
+                       >
                        <f:param value="#{beanHelper.user.userName}" />
                        <f:param value="#{beanHelper.user.userId}" />
                </h:outputFormat>
index 1697534ee2b5a1fe610a9da76a7bf508e7b6195d..fb6ba37eaaa108f1c8dabf5721a803f748a927e9 100644 (file)
                        </h:panelGroup>
                </h:form>
 
-               <h:outputFormat styleClass="alert-danger" value="#{msg.ERROR_ADMIN_CANNOT_RESEND_USER_CONFIRMATION_LINK_ACCOUNT_UNLOCKED}" rendered="#{beanHelper.user.userAccountStatus == 'CONFIRMED'}">
+               <h:outputFormat
+                       styleClass="alert-danger"
+                       value="#{msg.ERROR_ADMIN_CANNOT_RESEND_USER_CONFIRMATION_LINK_ACCOUNT_UNLOCKED}"
+                       rendered="#{beanHelper.user.userAccountStatus == 'CONFIRMED'}"
+                       >
                        <f:param value="#{beanHelper.user.userName}" />
                        <f:param value="#{beanHelper.user.userId}" />
                </h:outputFormat>
 
-               <h:outputFormat styleClass="alert-danger" value="#{msg.ERROR_ADMIN_CANNOT_RESEND_USER_CONFIRMATION_LINK_ACCOUNT_LOCKED}" rendered="#{beanHelper.user.userAccountStatus == 'LOCKED'}">
+               <h:outputFormat
+                       styleClass="alert-danger"
+                       value="#{msg.ERROR_ADMIN_CANNOT_RESEND_USER_CONFIRMATION_LINK_ACCOUNT_LOCKED}"
+                       rendered="#{beanHelper.user.userAccountStatus == 'LOCKED'}"
+                       >
                        <f:param value="#{beanHelper.user.userName}" />
                        <f:param value="#{beanHelper.user.userId}" />
                </h:outputFormat>
index af1ac85f4587abcf193cf1630d2aa9d87af7260f..40111a65095c4f610c51f360d7a8b560e1a17882 100644 (file)
                        </h:panelGroup>
                </h:form>
 
-               <h:outputFormat styleClass="alert-danger" value="#{msg.ERROR_ADMIN_CANNOT_UNLOCK_USER_ACCOUNT_UNCONFIRMED}" rendered="#{beanHelper.user.userAccountStatus == 'UNCONFIRMED'}">
+               <h:outputFormat
+                       styleClass="alert-danger"
+                       value="#{msg.ERROR_ADMIN_CANNOT_UNLOCK_USER_ACCOUNT_UNCONFIRMED}"
+                       rendered="#{beanHelper.user.userAccountStatus == 'UNCONFIRMED'}"
+                       >
                        <f:param value="#{beanHelper.user.userName}" />
                        <f:param value="#{beanHelper.user.userId}" />
                </h:outputFormat>
 
-               <h:outputFormat styleClass="alert-danger" value="#{msg.ERROR_ADMIN_CANNOT_UNLOCK_USER_ACCOUNT_UNLOCKED}" rendered="#{beanHelper.user.userAccountStatus == 'CONFIRMED'}">
+               <h:outputFormat
+                       styleClass="alert-danger"
+                       value="#{msg.ERROR_ADMIN_CANNOT_UNLOCK_USER_ACCOUNT_UNLOCKED}"
+                       rendered="#{beanHelper.user.userAccountStatus == 'CONFIRMED'}"
+                       >
                        <f:param value="#{beanHelper.user.userName}" />
                        <f:param value="#{beanHelper.user.userId}" />
                </h:outputFormat>
index 5f37c3f3ea1d973941ac7165d44f4be962bd02ad..54b4490bb1321faade6d93225db4ee7704ff3ad8 100644 (file)
                                </h:panelGroup>
                        </h:panelGroup>
 
-                       <core:outputMessageBox panelGroupId="errorHandlerConfirmUser" message="#{msg.GUEST_CONFIRMATION_LINK_INVALID}" messageStyleClass="alert-danger" rendered="#{empty beanHelper.user}" />
+                       <core:outputMessageBox
+                               panelGroupId="errorHandlerConfirmUser"
+                               message="#{msg.GUEST_CONFIRMATION_LINK_INVALID}"
+                               messageStyleClass="alert-danger"
+                               rendered="#{empty beanHelper.user}"
+                               />
                </ui:fragment>
        </ui:define>
 </ui:composition>
index 66a2339d0d97aab194d2f5d49c47a34e5891e781..e602e32e11e25f6b1003b9c53ccea545d2f75b72 100644 (file)
        </ui:define>
 
        <ui:define name="content">
-               <core:outputMessageBox panelGroupId="errorUserListDisabled" message="#{msg.ERROR_USER_LIST_DISABLED}" messageStyleClass="alert-danger" rendered="#{not featureController.isFeatureEnabled('user_list')}" />
+               <core:outputMessageBox
+                       panelGroupId="errorUserListDisabled"
+                       message="#{msg.ERROR_USER_LIST_DISABLED}"
+                       messageStyleClass="alert-danger"
+                       rendered="#{not featureController.isFeatureEnabled('user_list')}"
+                       />
 
                <h:panelGroup
                        layout="block"
index e954485e069eda1c5d84aba13c8d99958f797caa..21bf444ef236535e480017a3c4b0b45db6e946b4 100644 (file)
        </ui:define>
 
        <ui:define name="content">
-               <core:outputMessageBox panelGroupId="errorUserLoginDisabled" message="#{msg.ERROR_GUEST_USER_LOGIN_DISABLED}" messageStyleClass="alert-danger" rendered="#{not featureController.isFeatureEnabled('user_login_require_user_name')}" />
+               <core:outputMessageBox
+                       panelGroupId="errorUserLoginDisabled"
+                       message="#{msg.ERROR_GUEST_USER_LOGIN_DISABLED}"
+                       messageStyleClass="alert-danger"
+                       rendered="#{not featureController.isFeatureEnabled('user_login_require_user_name')}"
+                       />
 
                <ui:fragment rendered="#{featureController.isFeatureEnabled('user_login_require_user_name')}">
                        <h:panelGroup styleClass="para" layout="block" rendered="#{featureController.isFeatureEnabled('user_registration')}">
index d51979cd737c46e366aaf1b5f0122e5e4759341a..a9bb356a88b1cb0ad59f4c7f321713c1c8fe2910 100644 (file)
        </ui:define>
 
        <ui:define name="content">
-               <core:outputMessageBox panelGroupId="errorUserRecoveryDisabled" message="#{msg.ERROR_GUEST_USER_RECOVER_PASSWORD_DISABLED}" messageStyleClass="alert-danger" rendered="#{not featureController.isFeatureEnabled('user_login_require_user_name') or not featureController.isFeatureEnabled('user_password_recovery')}" />
+               <core:outputMessageBox
+                       panelGroupId="errorUserRecoveryDisabled"
+                       message="#{msg.ERROR_GUEST_USER_RECOVER_PASSWORD_DISABLED}"
+                       messageStyleClass="alert-danger"
+                       rendered="#{not featureController.isFeatureEnabled('user_login_require_user_name') or not featureController.isFeatureEnabled('user_password_recovery')}"
+                       />
 
                <ui:fragment rendered="#{featureController.isFeatureEnabled('user_login_require_user_name') and featureController.isFeatureEnabled('user_password_recovery')}">
                        <div id="user_lost_password_content">
index 1da89b76f3b3b5932940ee0245c14ef7b49e613c..aba819190141fc45ac8d3efd900abf554f6c38a8 100644 (file)
        </ui:define>
 
        <ui:define name="content">
-               <core:outputMessageBox panelGroupId="errorUserRegistrationDisabled" message="#{msg.ERROR_GUEST_REGISTRATION_DISABLED}" messageStyleClass="alert-danger" rendered="#{not featureController.isFeatureEnabled('user_registration')}" />
+               <core:outputMessageBox
+                       panelGroupId="errorUserRegistrationDisabled"
+                       message="#{msg.ERROR_GUEST_REGISTRATION_DISABLED}"
+                       messageStyleClass="alert-danger"
+                       rendered="#{not featureController.isFeatureEnabled('user_registration')}"
+                       />
 
-               <core:outputMessageBox panelGroupId="errorUserRegistrationIndex" message="#{msg.ERROR_GUEST_REGISTRATION_IN_INDEX_ENABLED}" messageStyleClass="alert-danger" rendered="#{featureController.isFeatureEnabled('user_registration_in_index')}" />
+               <core:outputMessageBox
+                       panelGroupId="errorUserRegistrationIndex"
+                       message="#{msg.ERROR_GUEST_REGISTRATION_IN_INDEX_ENABLED}"
+                       messageStyleClass="alert-danger"
+                       rendered="#{featureController.isFeatureEnabled('user_registration_in_index')}"
+                       />
 
                <ui:fragment rendered="#{not featureController.isFeatureEnabled('user_registration_in_index') and featureController.isFeatureEnabled('user_registration')}">
                        <ui:fragment rendered="#{featureController.isFeatureEnabled('user_login_require_user_name')}">
index fa04cf53b0adf630d2687ad4d1a7c73251c48389..849730b407ff8a552f97a647cda3e2ff57735d3d 100644 (file)
        </ui:define>
 
        <ui:define name="content_header">
-               <core:outputMessageBox panelGroupId="user-registration-completed" message="#{msg.CONTENT_TITLE_USER_REGISTER_DONE}" />
+               <core:outputMessageBox
+                       panelGroupId="user-registration-completed"
+                       message="#{msg.CONTENT_TITLE_USER_REGISTER_DONE}"
+                       />
        </ui:define>
 
        <ui:define name="content">
index 32e1901b50e5ec6cd18c502d45ffb6d40a00eb1c..5b7ee595ce6fa3a26518082d548854efb729d6d1 100644 (file)
        </ui:define>
 
        <ui:define name="content">
-               <core:outputMessageBox panelGroupId="errorUserRegistrationMultiDisabled" message="#{msg.ERROR_GUEST_REGISTER_MULTIPLE_PAGE_DISABLED}" messageStyleClass="alert-danger" rendered="#{not featureController.isFeatureEnabled('user_register_multiple_page')}" />
+               <core:outputMessageBox
+                       panelGroupId="errorUserRegistrationMultiDisabled"
+                       message="#{msg.ERROR_GUEST_REGISTER_MULTIPLE_PAGE_DISABLED}"
+                       messageStyleClass="alert-danger"
+                       rendered="#{not featureController.isFeatureEnabled('user_register_multiple_page')}"
+                       />
 
                <ui:fragment rendered="#{featureController.isFeatureEnabled('user_register_multiple_page')}">
                        <ui:fragment rendered="#{featureController.isFeatureEnabled('user_login_require_user_name')}">
index 5b13af3c900d9c59ef4d4c506f9ad39ad91fc61a..2796c0b2b29ec190964c9767777f22fa79ab36c3 100644 (file)
@@ -16,6 +16,9 @@
        </ui:define>
 
        <ui:define name="content">
-               <core:outputMessageBox panelGroupId="guest-user-resend-link-completed" message="#{msg.GUEST_USER_RESEND_LINK_COMPLETED}" />
+               <core:outputMessageBox
+                       panelGroupId="guest-user-resend-link-completed"
+                       message="#{msg.GUEST_USER_RESEND_LINK_COMPLETED}"
+                       />
        </ui:define>
 </ui:composition>
index c194adfcf069b404bb934a76ca2242ef949541a4..f29ae1b744b4f25ac6006b6c935f62671a1bea76 100644 (file)
        </ui:define>
 
        <ui:define name="content">
-               <core:outputMessageBox panelGroupId="errorUserResendLinkDisabled" message="#{msg.ERROR_GUEST_USER_RESEND_LINK_DISABLED}" messageStyleClass="alert-danger" rendered="#{not featureController.isFeatureEnabled('user_resend_confirmation_link')}" />
+               <core:outputMessageBox
+                       panelGroupId="errorUserResendLinkDisabled"
+                       message="#{msg.ERROR_GUEST_USER_RESEND_LINK_DISABLED}"
+                       messageStyleClass="alert-danger"
+                       rendered="#{not featureController.isFeatureEnabled('user_resend_confirmation_link')}"
+                       />
 
                <h:form rendered="#{featureController.isFeatureEnabled('user_resend_confirmation_link')}">
                        <h:panelGroup styleClass="table" layout="block">
                                                </div>
 
                                                <div class="table-right">
-                                                       <p:inputText id="emailAddress" size="20" maxlength="255" value="#{userResendConfirmationController.emailAddress}" required="true" requiredMessage="#{msg.EMAIL_ADDRESS_NOT_ENTERED}">
+                                                       <p:inputText
+                                                               id="emailAddress"
+                                                               size="20"
+                                                               maxlength="255"
+                                                               value="#{userResendConfirmationController.emailAddress}"
+                                                               required="true"
+                                                               requiredMessage="#{msg.EMAIL_ADDRESS_NOT_ENTERED}"
+                                                               >
                                                                <validator:emailAddressValidator />
                                                        </p:inputText>
                                                </div>
index 354e7a2e9931f01b5599e7013f609cd590ae0ce7..0c6f662b0e70099680f05aef653d6114b1b6e281 100644 (file)
        </ui:define>
 
        <ui:define name="content">
-               <core:outputMessageBox panelGroupId="loginUserDataSaved" message="#{msg.LOGIN_MESSAGE_DATA_SAVED}" rendered="#{userLoginController.isUserLoggedIn() and featureController.isFeatureEnabled('edit_user_data') and (not userLoginController.ifUserMustChangePassword() or not featureController.isFeatureEnabled('user_must_change_password'))}" />
+               <core:outputMessageBox
+                       panelGroupId="loginUserDataSaved"
+                       message="#{msg.LOGIN_MESSAGE_DATA_SAVED}"
+                       rendered="#{userLoginController.isUserLoggedIn() and featureController.isFeatureEnabled('edit_user_data') and (not userLoginController.ifUserMustChangePassword() or not featureController.isFeatureEnabled('user_must_change_password'))}"
+                       />
 
-               <core:outputMessageBox panelGroupId="errorUserEditDataDisabled" message="#{msg.ERROR_LOGIN_USER_EDIT_DATA_DISABLED}" messageStyleClass="alert-danger" rendered="#{not featureController.isFeatureEnabled('edit_user_data')}" />
+               <core:outputMessageBox
+                       panelGroupId="errorUserEditDataDisabled"
+                       message="#{msg.ERROR_LOGIN_USER_EDIT_DATA_DISABLED}"
+                       messageStyleClass="alert-danger"
+                       rendered="#{not featureController.isFeatureEnabled('edit_user_data')}"
+                       />
 
                <ui:fragment rendered="#{userLoginController.ifUserMustChangePassword()}">
                        <p:link
index 6c6972e397d680bf6d6f53448365606b46caaf24..91afff1923ccfd20223ae2bddab51c8ff2d2dc70 100644 (file)
        </ui:define>
 
        <ui:define name="content">
-               <core:outputMessageBox panelGroupId="loginUserDataSaved" message="#{msg.LOGIN_MESSAGE_DATA_SAVED}" rendered="#{userLoginController.isUserLoggedIn()}" />
+               <core:outputMessageBox
+                       panelGroupId="loginUserDataSaved"
+                       message="#{msg.LOGIN_MESSAGE_DATA_SAVED}"
+                       rendered="#{userLoginController.isUserLoggedIn()}"
+                       />
 
                <ui:fragment rendered="#{not userLoginController.isUserLoggedIn()}">
                        <ui:include src="/WEB-INF/templates/user/user_not_logged_in.tpl" />
index dc472a322ed208933e534e9251392ba034dd876a..78d70dd598edf7cb42a926b9dddefb98303f5bb0 100644 (file)
        </ui:define>
 
        <ui:define name="content">
-               <core:outputMessageBox panelGroupId="errorUserChangeEmailDisabled" message="#{msg.ERROR_LOGIN_USER_CHANGE_EMAIL_ADDRESS_DISABLED}" messageStyleClass="alert-danger" rendered="#{not featureController.isFeatureEnabled('user_change_email_address')}" />
+               <core:outputMessageBox
+                       panelGroupId="errorUserChangeEmailDisabled"
+                       message="#{msg.ERROR_LOGIN_USER_CHANGE_EMAIL_ADDRESS_DISABLED}"
+                       messageStyleClass="alert-danger"
+                       rendered="#{not featureController.isFeatureEnabled('user_change_email_address')}"
+                       />
 
-               <h:panelGroup styleClass="table" layout="block" rendered="#{userLoginController.isUserLoggedIn() and featureController.isFeatureEnabled('user_change_email_address')}">
+               <h:panelGroup
+                       styleClass="table"
+                       layout="block"
+                       rendered="#{userLoginController.isUserLoggedIn() and featureController.isFeatureEnabled('user_change_email_address')}"
+                       >
                        <div class="table-header">
                                <h:outputText value="#{msg.LOGIN_CHANGE_EMAIL_ADDRESS_TITLE}" />
                        </div>
index d5c4ca5cb666fc38844c2255fdde42ea2af3d92d..f18f7277c9cb237b6641b835118b55379ad80a17 100644 (file)
        </ui:define>
 
        <ui:define name="content">
-               <core:outputMessageBox panelGroupId="loginUserMustChangePassword" message="#{msg.USER_MUST_CHANGE_PASSWORD_NOTICE}" rendered="#{userLoginController.loggedInUser.userMustChangePassword == true}" />
-
-               <core:outputMessageBox panelGroupId="errorUserEditDataDisabled" message="#{msg.ERROR_LOGIN_USER_EDIT_DATA_DISABLED}" messageStyleClass="alert-danger" rendered="#{not featureController.isFeatureEnabled('change_user_password')}" />
+               <core:outputMessageBox
+                       panelGroupId="loginUserMustChangePassword"
+                       message="#{msg.USER_MUST_CHANGE_PASSWORD_NOTICE}"
+                       rendered="#{userLoginController.loggedInUser.userMustChangePassword == true}"
+                       />
+
+               <core:outputMessageBox
+                       panelGroupId="errorUserEditDataDisabled"
+                       message="#{msg.ERROR_LOGIN_USER_EDIT_DATA_DISABLED}"
+                       messageStyleClass="alert-danger"
+                       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" />
index 7b5c18de955c7b9fbbad5143aba68bd6d36e5de1..445cf89570e04ecc01bd68e4e7d99c8e9b2c11fd 100644 (file)
        </ui:define>
 
        <ui:define name="content">
-               <core:outputMessageBox panelGroupId="errorUserEditDataDisabled" message="#{msg.ERROR_LOGIN_USER_EDIT_DATA_DISABLED}" messageStyleClass="alert-danger" rendered="#{not featureController.isFeatureEnabled('change_user_personal_data')}" />
+               <core:outputMessageBox
+                       panelGroupId="errorUserEditDataDisabled"
+                       message="#{msg.ERROR_LOGIN_USER_EDIT_DATA_DISABLED}"
+                       messageStyleClass="alert-danger"
+                       rendered="#{not featureController.isFeatureEnabled('change_user_personal_data')}"
+                       />
 
                <p:link
                        outcome="user_change_password"
@@ -54,7 +59,7 @@
 
                                        <p:commandButton
                                                value="#{msg.BUTTON_CHANGE_PERSONAL_DATA}"
-                                               action="#{userController.doChangePersonalData()}"
+                                               action="#{userActionController.doChangePersonalData()}"
                                                />
                                </p:panelGrid>
                        </h:form>
index b19c5b920584062a96b4116809ae5c8ceaa658ef..95e19e5226422d7c0e90370928869a9afcdb3bc7 100644 (file)
        </ui:define>
 
        <ui:define name="content">
-               <core:outputMessageBox panelGroupId="loginUserDataSaved" message="#{msg.LOGIN_MESSAGE_DATA_SAVED}" rendered="#{userLoginController.isUserLoggedIn() and featureController.isFeatureEnabled('change_user_personal_data') and (not userLoginController.ifUserMustChangePassword() or not featureController.isFeatureEnabled('user_must_change_password'))}" />
+               <core:outputMessageBox
+                       panelGroupId="loginUserDataSaved"
+                       message="#{msg.LOGIN_MESSAGE_DATA_SAVED}"
+                       rendered="#{userLoginController.isUserLoggedIn() and featureController.isFeatureEnabled('change_user_personal_data') and (not userLoginController.ifUserMustChangePassword() or not featureController.isFeatureEnabled('user_must_change_password'))}"
+                       />
 
-               <core:outputMessageBox panelGroupId="errorUserEditDataDisabled" message="#{msg.ERROR_LOGIN_USER_EDIT_DATA_DISABLED}" messageStyleClass="alert-danger" rendered="#{not featureController.isFeatureEnabled('change_user_personal_data')}" />
+               <core:outputMessageBox
+                       panelGroupId="errorUserEditDataDisabled"
+                       message="#{msg.ERROR_LOGIN_USER_EDIT_DATA_DISABLED}"
+                       messageStyleClass="alert-danger"
+                       rendered="#{not featureController.isFeatureEnabled('change_user_personal_data')}"
+                       />
 
                <p:link
                        outcome="user_change_password"
index 4c0b9e1d50dc8834667f62a2bd4a6cf724718ff2..dd461a19f259cd9c93f9d6753027445f08267c86 100644 (file)
        </ui:define>
 
        <ui:define name="content">
-               <core:outputMessageBox panelGroupId="loginUserDataSaved" message="#{msg.LOGIN_MESSAGE_DATA_SAVED}" rendered="#{userLoginController.isUserLoggedIn() and (not userLoginController.ifUserMustChangePassword() or not featureController.isFeatureEnabled('user_must_change_password'))}" />
+               <core:outputMessageBox
+                       panelGroupId="loginUserDataSaved"
+                       message="#{msg.LOGIN_MESSAGE_DATA_SAVED}"
+                       rendered="#{userLoginController.isUserLoggedIn() and (not userLoginController.ifUserMustChangePassword() or not featureController.isFeatureEnabled('user_must_change_password'))}"
+                       />
 
                <p:link
                        outcome="user_change_password"