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>
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>
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"
+++ /dev/null
-<?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>
</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
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>
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">
<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}"
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}" />
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>
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}"
<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}" />
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>
</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" />
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}"
</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>
</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>
</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>
</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">
<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>
</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">
</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>
</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>
</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>
</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>
</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"
</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')}">
</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">
</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')}">
</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">
</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')}">
</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>
</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>
</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
</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" />
</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>
</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" />
</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"
<p:commandButton
value="#{msg.BUTTON_CHANGE_PERSONAL_DATA}"
- action="#{userController.doChangePersonalData()}"
+ action="#{userActionController.doChangePersonalData()}"
/>
</p:panelGrid>
</h:form>
</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"
</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"