<to-view-id>/admin/contact/admin_contact_export.xhtml</to-view-id>
</navigation-case>
<navigation-case>
- <from-outcome>admin_list_contact_business</from-outcome>
- <to-view-id>/admin/contact_business/admin_contact_business_list.xhtml</to-view-id>
+ <from-outcome>admin_list_business_data</from-outcome>
+ <to-view-id>/admin/business_data/admin_business_data_list.xhtml</to-view-id>
</navigation-case>
<navigation-case>
- <from-outcome>admin_export_contact_business</from-outcome>
- <to-view-id>/admin/contact_business/admin_contact_business_export.xhtml</to-view-id>
+ <from-outcome>admin_export_business_data</from-outcome>
+ <to-view-id>/admin/business_data/admin_business_data_export.xhtml</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>admin_list_user</from-outcome>
</div>
<ul>
- <li><h:link title="#{msg.LINK_ADMIN_LIST_CONTACT_BUSINESS_TITLE}" outcome="admin_list_contact_business" value="#{msg.LINK_ADMIN_LIST_CONTACT_BUSINESS}" /></li>
- <li><h:link title="#{msg.LINK_ADMIN_EXPORT_CONTACT_BUSINESS_TITLE}" outcome="admin_export_contact_business" value="#{msg.LINK_ADMIN_EXPORT_CONTACT_BUSINESS}" /></li>
+ <li><h:link title="#{msg.LINK_ADMIN_LIST_CONTACT_BUSINESS_TITLE}" outcome="admin_list_business_data" value="#{msg.LINK_ADMIN_LIST_CONTACT_BUSINESS}" /></li>
+ <li><h:link title="#{msg.LINK_ADMIN_EXPORT_CONTACT_BUSINESS_TITLE}" outcome="admin_export_business_data" value="#{msg.LINK_ADMIN_EXPORT_CONTACT_BUSINESS}" /></li>
</ul>
</ui:fragment>
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<ui:fragment rendered="#{empty beanHelper.contact}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_BEAN_HELPER_CONTACT_NOT_SET}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
</div>
<div class="table_right_medium">
- <ui:include src="/WEB-INF/templates/generic/personal_title_selection_box.tpl">
+ <ui:include src="/WEB-INF/templates/selection_boxes/personal_title_selection_box.tpl">
<ui:param name="targetController" value="#{adminContactController}" />
</ui:include>
</div>
</div>
<div class="table_right_medium">
- <h:selectOneMenu styleClass="select right_space" id="mobileProvider" value="#{adminContactController.mobileProvider}">
- <f:converter converterId="MobileProviderConverter" />
- <f:selectItem itemValue="" itemLabel="#{msg.NONE_SELECTED}" />
- <f:selectItems value="#{mobileProviderController.allMobileProviders()}" var="mobileProvider" itemValue="#{mobileProvider}" itemLabel="#{mobileProvider.providerCountry.countryExternalDialPrefix}#{mobileProvider.providerDialPrefix} (#{mobileProvider.providerName})" />
- </h:selectOneMenu>
-
- <h:inputText styleClass="input" id="mobileNumber" size="10" maxlength="20" value="#{adminContactController.mobileNumber}">
- <f:validator for="mobileNumber" validatorId="PhoneNumberValidator" />
- </h:inputText>
+ <ui:include src="/WEB-INF/templates/selection_boxes/mobile_selection_box.tpl">
+ <ui:param name="targetController" value="#{adminContactController}" />
+ </ui:include>
</div>
<div class="clear"></div>
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<ui:fragment rendered="#{empty beanHelper.contact}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_BEAN_HELPER_CONTACT_NOT_SET}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<ui:fragment rendered="#{empty beanHelper.faxNumber}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_BEAN_HELPER_FAX_NUMBER_NOT_SET}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<ui:fragment rendered="#{empty beanHelper.faxNumber}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_BEAN_HELPER_FAX_NUMBER_NOT_SET}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<ui:fragment rendered="#{empty beanHelper.contact}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_BEAN_HELPER_CONTACT_NOT_SET}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<ui:fragment rendered="#{empty beanHelper.faxNumber}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_BEAN_HELPER_FAX_NUMBER_NOT_SET}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<ui:fragment rendered="#{empty beanHelper.contact}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_BEAN_HELPER_CONTACT_NOT_SET}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<ui:fragment rendered="#{empty beanHelper.landLineNumber}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_BEAN_HELPER_LAND_LINE_NUMBER_NOT_SET}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<ui:fragment rendered="#{empty beanHelper.contact}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_BEAN_HELPER_CONTACT_NOT_SET}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<ui:fragment rendered="#{empty beanHelper.landLineNumber}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_BEAN_HELPER_LAND_LINE_NUMBER_NOT_SET}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<ui:fragment rendered="#{empty beanHelper.landLineNumber}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_BEAN_HELPER_LAND_LINE_NUMBER_NOT_SET}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<ui:fragment rendered="#{empty beanHelper.contact}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_BEAN_HELPER_CONTACT_NOT_SET}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<ui:fragment rendered="#{empty beanHelper.mobileNumber}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_BEAN_HELPER_MOBILE_NUMBER_NOT_SET}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<ui:composition
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:f="http://xmlns.jcp.org/jsf/core"
+ xmlns:h="http://xmlns.jcp.org/jsf/html"
+ xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
+
+ <ui:fragment rendered="#{empty beanHelper.contact}">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
+ <ui:param name="message" value="#{msg.ERROR_BEAN_HELPER_CONTACT_NOT_SET}" />
+ <ui:param name="styleClass" value="errors" />
+ </ui:include>
+ </ui:fragment>
+
+ <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>
+
+ <ui:fragment rendered="#{not empty beanHelper.contact.contactMobileNumber and not empty beanHelper.contact}">
+ <ui:include src="/WEB-INF/templates/admin/mobile/admin_mobile_data.tpl" />
+ </ui:fragment>
+</ui:composition>
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<ui:fragment rendered="#{empty beanHelper.mobileNumber}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_BEAN_HELPER_MOBILE_NUMBER_NOT_SET}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<ui:fragment rendered="#{empty beanHelper.mobileNumber}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_BEAN_HELPER_MOBILE_NUMBER_NOT_SET}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<ui:fragment rendered="#{empty mode}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ADMIN_USER_DATA_PASSWORD_NOTICE}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<ui:fragment rendered="#{empty beanHelper.user}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_BEAN_HELPER_USER_NOT_SET}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
<ui:insert name="menu">
<h:outputText value="Default menu" />
</ui:insert>
- <ui:include src="/WEB-INF/templates/generic/locale_selection_box.tpl" />
+
+ <ui:include src="/WEB-INF/templates/widgets/locale_change_widget.tpl" />
</div>
<h:panelGroup id="content_outer" class="left_content" layout="block">
</div>
<div class="table_right_medium">
- <ui:include src="/WEB-INF/templates/generic/personal_title_selection_box.tpl">
+ <ui:include src="/WEB-INF/templates/selection_boxes/personal_title_selection_box.tpl">
<ui:param name="targetController" value="#{contactController}" />
</ui:include>
</div>
</div>
<div class="table_right_medium">
- <h:selectOneMenu styleClass="select right_space" id="mobileProvider" value="#{contactController.mobileProvider}">
- <f:converter converterId="MobileProviderConverter" />
- <f:selectItem itemValue="" itemLabel="#{msg.NONE_SELECTED}" />
- <f:selectItems value="#{mobileProviderController.allMobileProviders()}" var="mobileProvider" itemValue="#{mobileProvider}" itemLabel="#{mobileProvider.providerCountry.countryExternalDialPrefix}#{mobileProvider.providerDialPrefix} (#{mobileProvider.providerName})" />
- </h:selectOneMenu>
-
- <h:inputText styleClass="input" id="mobileNumber" size="10" maxlength="20" value="#{contactController.mobileNumber}">
- <f:validator for="mobileNumber" validatorId="PhoneNumberValidator" />
- </h:inputText>
+ <ui:include src="/WEB-INF/templates/selection_boxes/mobile_selection_box.tpl">
+ <ui:param name="targetController" value="#{adminContactController}" />
+ </ui:include>
</div>
<div class="clear"></div>
</div>
<div class="table_right_medium">
- <ui:include src="/WEB-INF/templates/generic/profile_mode_selection_box.tpl" />
+ <ui:include src="/WEB-INF/templates/selection_boxes/profile_mode_selection_box.tpl" />
</div>
<div class="clear"></div>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8" ?>
-<ui:composition
- xmlns="http://www.w3.org/1999/xhtml"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
-
- <h:form>
- <h:panelGroup layout="block" styleClass="locale_selection_container">
- <h:panelGroup layout="block">
- <h:selectOneMenu styleClass="select" value="#{localizationController.localeCode}" onchange="submit()">
- <f:selectItem itemLabel="#{msg.SELECT_LANGUAGE}" noSelectionOption="true" itemDisabled="true" />
- <f:selectItems value="#{localizationController.supportedLocales}" var="locale" itemValue="#{locale}" itemLabel="#{msg[locale.toString().toUpperCase()]}" />
- </h:selectOneMenu>
- </h:panelGroup>
-
- <h:commandButton styleClass="submit" type="submit" action="#{localizationController.doChangeLocale()}" value="#{msg.BUTTON_CHANGE_LOCALE}" title="#{msg.BUTTON_CHANGE_LOCALE_TITLE}" />
- </h:panelGroup>
- </h:form>
-</ui:composition>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8" ?>
-<ui:composition
- xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
- xmlns:h="http://xmlns.jcp.org/jsf/html"
- xmlns:f="http://xmlns.jcp.org/jsf/core"
- >
-
- <div class="message_box">
- <div class="message_header">
- <h:outputText value="#{msg.MESSAGE_BOX_TITLE}" />
- </div>
-
- <ui:fragment rendered="#{not empty message}">
- <ui:fragment rendered="#{not empty styleClass}">
- <div class="para">
- <h:outputText styleClass="#{styleClass}" value="#{message}" />
- </div>
- </ui:fragment>
-
- <ui:fragment rendered="#{empty styleClass}">
- <div class="para">
- <h:outputText styleClass="okay" value="#{message}" />
- </div>
- </ui:fragment>
- </ui:fragment>
-
- <ui:fragment rendered="#{empty message}">
- <div class="errors para">
- <h:outputText value="#{msg.MESSAGE_BOX_PARAMETER_MESSAGE_EMPTY}" />
- </div>
- </ui:fragment>
- </div>
-</ui:composition>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8" ?>
-<ui:composition
- xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
- xmlns:h="http://xmlns.jcp.org/jsf/html"
- xmlns:f="http://xmlns.jcp.org/jsf/core"
- >
-
- <div class="message_box_mini">
- <div class="message_header">
- <h:outputText value="#{msg.MESSAGE_BOX_TITLE}" />
- </div>
-
- <ui:fragment rendered="#{not empty message}">
- <ui:fragment rendered="#{not empty styleClass}">
- <div class="para">
- <h:outputText styleClass="#{styleClass}" value="#{message}" />
- </div>
- </ui:fragment>
-
- <ui:fragment rendered="#{empty styleClass}">
- <div class="para">
- <h:outputText styleClass="okay" value="#{message}" />
- </div>
- </ui:fragment>
- </ui:fragment>
-
- <ui:fragment rendered="#{empty message}">
- <div class="errors para">
- <h:outputText value="#{msg.MESSAGE_BOX_PARAMETER_MESSAGE_EMPTY}" />
- </div>
- </ui:fragment>
- </div>
-</ui:composition>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8" ?>
-<ui:composition
- xmlns="http://www.w3.org/1999/xhtml"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
-
- <ui:fragment rendered="#{not empty targetController}">
- <h:selectOneMenu styleClass="select" id="mobileProvider" value="#{targetController.mobileProvider}">
- <f:converter converterId="MobileProviderConverter" />
- <f:selectItem itemValue="" itemLabel="#{msg.NONE_SELECTED}" />
- <f:selectItems value="#{mobileProviderController.allMobileProviders()}" var="mobileProvider" itemValue="#{mobileProvider}" itemLabel="#{mobileProvider.providerCountry.countryExternalDialPrefix}#{mobileProvider.providerDialPrefix} (#{mobileProvider.providerName})" />
- </h:selectOneMenu>
-
- <h:inputText styleClass="input" id="mobileNumber" size="10" maxlength="20" value="#{targetController.mobileNumber}">
- <f:validator for="mobileNumber" validatorId="PhoneNumberValidator" />
- </h:inputText>
- </ui:fragment>
-
- <h:outputText styleClass="errors" value="#{msg.ERROR_PARAMETER_TARGET_CONTROLLER_NOT_SET}" rendered="#{empty targetController}" />
-</ui:composition>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8" ?>
-<ui:composition
- xmlns="http://www.w3.org/1999/xhtml"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
-
- <ui:fragment rendered="#{empty targetController}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
- <ui:param name="message" value="#{msg.ERROR_PARAMETER_TARGET_CONTROLLER_NOT_SET}" />
- <ui:param name="styleClass" value="errors" />
- </ui:include>
- </ui:fragment>
-
- <ui:fragment rendered="#{not empty targetController}">
- <h:selectOneMenu styleClass="select" id="personalTitle" value="#{targetController.personalTitle}" required="#{featureController.isFeatureEnabled(targetController.controllerType.concat('_personal_title'))}" requiredMessage="#{msg.FIELD_PERSONAL_TITLE_REQUIRED}">
- <f:selectItem itemValue="" itemLabel="#{msg.NONE_SELECTED}" noSelectionOption="true" />
- <f:selectItems value="#{genderController.selectableGenders}" var="personalTitle" itemValue="#{personalTitle}" itemLabel="#{msg[personalTitle.messageKey]}" />
- </h:selectOneMenu>
- </ui:fragment>
-</ui:composition>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8" ?>
-<ui:composition
- xmlns="http://www.w3.org/1999/xhtml"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
-
- <h:selectOneMenu styleClass="select" id="profileMode" value="#{userController.userProfileMode}">
- <f:selectItems value="#{profileModeController.allProfileModes}" var="mode" itemValue="#{mode}" itemLabel="#{msg[mode.messageKey]}" />
- </h:selectOneMenu>
-</ui:composition>
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<ui:fragment rendered="#{empty targetController}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_PARAMETER_TARGET_CONTROLLER_NOT_SET}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<ui:fragment rendered="#{empty targetController}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_PARAMETER_TARGET_CONTROLLER_NOT_SET}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<ui:fragment rendered="#{empty targetController}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_PARAMETER_TARGET_CONTROLLER_NOT_SET}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
</ui:fragment>
<ui:fragment rendered="#{not empty targetController}">
- <h:selectOneMenu styleClass="select right_space" id="mobileProvider" value="#{targetController.mobileProvider}">
- <f:converter converterId="MobileProviderConverter" />
- <f:selectItem itemValue="" itemLabel="#{msg.NONE_SELECTED}" />
- <f:selectItems value="#{mobileProviderController.allMobileProviders()}" var="mobileProvider" itemValue="#{mobileProvider}" itemLabel="#{mobileProvider.providerCountry.countryExternalDialPrefix}#{mobileProvider.providerDialPrefix} (#{mobileProvider.providerName})" />
- </h:selectOneMenu>
-
- <h:inputText styleClass="input" id="mobileNumber" size="10" maxlength="20" value="#{targetController.phoneNumber}">
- <f:validator for="mobileNumber" validatorId="PhoneNumberValidator" />
- </h:inputText>
+ <ui:include src="/WEB-INF/templates/selection_boxes/mobile_selection_box.tpl">
+ <ui:param name="targetController" value="#{adminContactController}" />
+ </ui:include>
</ui:fragment>
</ui:composition>
<ui:define name="menu">
<ui:fragment rendered="#{not userLoginController.isUserLoggedIn()}">
- <ui:include src="/WEB-INF/templates/generic/message_box_mini.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box_mini.tpl">
<ui:param name="message" value="#{msg.USER_NOT_LOGGED_IN}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<ui:composition
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
+ xmlns:h="http://xmlns.jcp.org/jsf/html"
+ xmlns:f="http://xmlns.jcp.org/jsf/core"
+ >
+
+ <div class="message_box">
+ <div class="message_header">
+ <h:outputText value="#{msg.MESSAGE_BOX_TITLE}" />
+ </div>
+
+ <ui:fragment rendered="#{not empty message}">
+ <ui:fragment rendered="#{not empty styleClass}">
+ <div class="para">
+ <h:outputText styleClass="#{styleClass}" value="#{message}" />
+ </div>
+ </ui:fragment>
+
+ <ui:fragment rendered="#{empty styleClass}">
+ <div class="para">
+ <h:outputText styleClass="okay" value="#{message}" />
+ </div>
+ </ui:fragment>
+ </ui:fragment>
+
+ <ui:fragment rendered="#{empty message}">
+ <div class="errors para">
+ <h:outputText value="#{msg.MESSAGE_BOX_PARAMETER_MESSAGE_EMPTY}" />
+ </div>
+ </ui:fragment>
+ </div>
+</ui:composition>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<ui:composition
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
+ xmlns:h="http://xmlns.jcp.org/jsf/html"
+ xmlns:f="http://xmlns.jcp.org/jsf/core"
+ >
+
+ <div class="message_box_mini">
+ <div class="message_header">
+ <h:outputText value="#{msg.MESSAGE_BOX_TITLE}" />
+ </div>
+
+ <ui:fragment rendered="#{not empty message}">
+ <ui:fragment rendered="#{not empty styleClass}">
+ <div class="para">
+ <h:outputText styleClass="#{styleClass}" value="#{message}" />
+ </div>
+ </ui:fragment>
+
+ <ui:fragment rendered="#{empty styleClass}">
+ <div class="para">
+ <h:outputText styleClass="okay" value="#{message}" />
+ </div>
+ </ui:fragment>
+ </ui:fragment>
+
+ <ui:fragment rendered="#{empty message}">
+ <div class="errors para">
+ <h:outputText value="#{msg.MESSAGE_BOX_PARAMETER_MESSAGE_EMPTY}" />
+ </div>
+ </ui:fragment>
+ </div>
+</ui:composition>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<ui:composition
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
+
+ <ui:fragment rendered="#{not empty targetController}">
+ <h:selectOneMenu styleClass="select" id="mobileProvider" value="#{targetController.mobileProvider}">
+ <f:converter converterId="MobileProviderConverter" />
+ <f:selectItem itemValue="" itemLabel="#{msg.NONE_SELECTED}" />
+ <f:selectItems value="#{mobileProviderController.allMobileProviders()}" var="mobileProvider" itemValue="#{mobileProvider}" itemLabel="#{mobileProvider.providerCountry.countryExternalDialPrefix}#{mobileProvider.providerDialPrefix} (#{mobileProvider.providerName})" />
+ </h:selectOneMenu>
+
+ <h:inputText styleClass="input" id="mobileNumber" size="10" maxlength="20" value="#{targetController.mobileNumber}">
+ <f:validator for="mobileNumber" validatorId="PhoneNumberValidator" />
+ </h:inputText>
+ </ui:fragment>
+
+ <h:outputText styleClass="errors" value="#{msg.ERROR_PARAMETER_TARGET_CONTROLLER_NOT_SET}" rendered="#{empty targetController}" />
+</ui:composition>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<ui:composition
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
+
+ <ui:fragment rendered="#{empty targetController}">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
+ <ui:param name="message" value="#{msg.ERROR_PARAMETER_TARGET_CONTROLLER_NOT_SET}" />
+ <ui:param name="styleClass" value="errors" />
+ </ui:include>
+ </ui:fragment>
+
+ <ui:fragment rendered="#{not empty targetController}">
+ <h:selectOneMenu styleClass="select" id="personalTitle" value="#{targetController.personalTitle}" required="#{featureController.isFeatureEnabled(targetController.controllerType.concat('_personal_title'))}" requiredMessage="#{msg.FIELD_PERSONAL_TITLE_REQUIRED}">
+ <f:selectItem itemValue="" itemLabel="#{msg.NONE_SELECTED}" noSelectionOption="true" />
+ <f:selectItems value="#{genderController.selectableGenders}" var="personalTitle" itemValue="#{personalTitle}" itemLabel="#{msg[personalTitle.messageKey]}" />
+ </h:selectOneMenu>
+ </ui:fragment>
+</ui:composition>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<ui:composition
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
+
+ <h:selectOneMenu styleClass="select" id="profileMode" value="#{userController.userProfileMode}">
+ <f:selectItems value="#{profileModeController.allProfileModes}" var="mode" itemValue="#{mode}" itemLabel="#{msg[mode.messageKey]}" />
+ </h:selectOneMenu>
+</ui:composition>
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<ui:fragment rendered="#{empty user}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_PARAMETER_USER_NOT_SET}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<ui:composition
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
+
+ <h:form>
+ <h:panelGroup layout="block" styleClass="locale_selection_container">
+ <h:panelGroup layout="block">
+ <h:selectOneMenu styleClass="select" value="#{localizationController.localeCode}" onchange="submit()">
+ <f:selectItem itemLabel="#{msg.SELECT_LANGUAGE}" noSelectionOption="true" itemDisabled="true" />
+ <f:selectItems value="#{localizationController.supportedLocales}" var="locale" itemValue="#{locale}" itemLabel="#{msg[locale.toString().toUpperCase()]}" />
+ </h:selectOneMenu>
+ </h:panelGroup>
+
+ <h:commandButton styleClass="submit" type="submit" action="#{localizationController.doChangeLocale()}" value="#{msg.BUTTON_CHANGE_LOCALE}" title="#{msg.BUTTON_CHANGE_LOCALE_TITLE}" />
+ </h:panelGroup>
+ </h:form>
+</ui:composition>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<ui:composition template="/WEB-INF/templates/admin/admin_base.tpl"
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
+ xmlns:h="http://xmlns.jcp.org/jsf/html"
+ xmlns:f="http://xmlns.jcp.org/jsf/core">
+
+ <ui:define name="admin_title">
+ <h:outputText value="#{msg.PAGE_TITLE_ADMIN_LIST_CONTACT_BUSINESS}" />
+ </ui:define>
+
+ <ui:define name="content_header">
+ <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_LIST_CONTACT_BUSINESS}" />
+ </ui:define>
+
+ <ui:define name="content">
+ <ui:fragment rendered="#{businessDataController.allBusinessContacts().isEmpty()}">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
+ <ui:param name="message" value="#{msg.ADMIN_CONTACT_BUSINESS_LIST_EMPTY}" />
+ <ui:param name="styleClass" value="errors" />
+ </ui:include>
+ </ui:fragment>
+
+ <h:dataTable id="table_list_business_contacts" var="businessContact" value="#{businessDataController.allBusinessContacts()}" styleClass="table_full" headerClass="table_header_column" summary="#{msg.TABLE_SUMMARY_ADMIN_LIST_CONTACT_BUSINESS}" rendered="#{not businessDataController.allBusinessContacts().isEmpty()}">
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="#{msg.ADMIN_CONTACT_BUSINESS_ID}" />
+ </f:facet>
+
+ <h:link outcome="admin_show_business_data" title="#{msg.ADMIN_LINK_SHOW_BUSINESS_CONTACT_DATA_TITLE}" value="#{businessContact.businessDataId}">
+ <f:param name="businessDataId" value="#{businessContact.businessDataId}" />
+ </h:link>
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="#{msg.ADMIN_CONTACT_BUSINESS_OWNER_ID}" />
+ </f:facet>
+
+ <h:link outcome="admin_show_user" title="#{msg.ADMIN_LINK_SHOW_CONTACT_BUSINESS_OWNER_USER_TITLE}" value="#{businessContact.contactCompanyUserOwner.userId}" rendered="#{not empty businessContact.contactCompanyUserOwner}" />
+
+ <h:link outcome="admin_assign_business_data_owner" title="#{msg.ADMIN_LINK_ASSIGN_CONTACT_BUSINESS_OWNER_USER_TITLE}" value="#{msg[ADMIN_LINK_ASSIGN_CONTACT_BUSINESS_OWNER_USER]}" rendered="#{empty businessContact.contactCompanyUserOwner}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="#{msg.ADMIN_CONTACT_BUSINESS_COMPANY_NAME}" />
+ </f:facet>
+
+ <h:outputText value="#{businessContact.companyName} #{businessContact.companyLegalStatus}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="#{msg.ADMIN_CONTACT_BUSINESS_CONTACT_PERSON}" />
+ </f:facet>
+
+ <h:link outcome="admin_show_business_employee" title="#{msg.ADMIN_LINK_SHOW_CONTACT_BUSINESS_CONTACT_PERSON_TITLE}" value="#{businessContact.companyContact.employeeId}" rendered="#{not empty businessContact.companyContact}" />
+
+ <h:link outcome="admin_assign_business_data_contact" title="#{msg.ADMIN_LINK_ASSIGN_CONTACT_BUSINESS_CONTACT_PERSON_TITLE}" value="#{msg[ADMIN_LINK_ASSIGN_CONTACT_BUSINESS_CONTACT_PERSON]}" rendered="#{empty businessContact.companyContact}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="#{msg.ADMIN_CONTACT_BUSINESS_CREATED}" />
+ </f:facet>
+
+ <h:outputText id="contactCreated" value="#{businessContact.contactCreated.time}">
+ <f:convertDateTime for="contactCreated" type="both" timeStyle="short" dateStyle="short" />
+ </h:outputText>
+ </h:column>
+ </h:dataTable>
+
+ <h:form id="form_admin_add_business_data">
+ <h:panelGroup styleClass="table_medium" layout="block">
+ <div class="table_header">
+ <h:outputText value="#{msg.ADMIN_ADD_CONTACT_BUSINESS_TITLE}" />
+ </div>
+
+ <div class="para">
+ <h:outputText value="#{msg.ADMIN_ADD_CONTACT_BUSINESS_MINIMUM_DATA}" />
+ </div>
+
+ <ui:include src="/WEB-INF/templates/admin/business_data/admin_form_business_data_data.tpl" />
+
+ <div class="table_footer">
+ <h:commandButton styleClass="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
+ <h:commandButton styleClass="submit" type="submit" id="add_business_basic_data" value="#{msg.BUTTON_ADMIN_CONTINUE_BUSINESS_CONTACT_PERSON}" action="#{adminBusinessDataController.addBusinessBasicData()}" />
+ </div>
+ </h:panelGroup>
+ </h:form>
+ </ui:define>
+</ui:composition>
<ui:define name="content">
<ui:fragment rendered="#{empty beanHelper.contact}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_CONTACT_ID_NOT_FOUND}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
<ui:define name="content">
<ui:fragment rendered="#{empty beanHelper.contact}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_CONTACT_ID_NOT_FOUND}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
<ui:define name="content">
<ui:fragment rendered="#{contactController.allContacts().isEmpty()}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ADMIN_CONTACT_LIST_EMPTY}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
<ui:define name="content">
<ui:fragment rendered="#{contactController.allContacts().isEmpty()}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ADMIN_CONTACT_LIST_EMPTY}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
<ui:define name="content">
<ui:fragment rendered="#{empty beanHelper.contact}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_CONTACT_ID_NOT_FOUND}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
</h:form>
<ui:fragment rendered="#{empty beanHelper.faxNumber}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_BEAN_HELPER_FAX_NUMBER_NOT_SET}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
</ui:fragment>
<ui:fragment rendered="#{empty beanHelper.contact}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_BEAN_HELPER_CONTACT_NOT_SET}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
</h:form>
<ui:fragment rendered="#{empty beanHelper.landLineNumber}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_BEAN_HELPER_LAND_LINE_NUMBER_NOT_SET}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
</ui:fragment>
<ui:fragment rendered="#{empty beanHelper.contact}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_BEAN_HELPER_CONTACT_NOT_SET}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
</h:form>
<ui:fragment rendered="#{empty beanHelper.mobileNumber}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_BEAN_HELPER_MOBILE_NUMBER_NOT_SET}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
</ui:fragment>
<ui:fragment rendered="#{empty beanHelper.contact}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_BEAN_HELPER_CONTACT_NOT_SET}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8" ?>
-<ui:composition template="/WEB-INF/templates/admin/admin_base.tpl"
- xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
- xmlns:h="http://xmlns.jcp.org/jsf/html"
- xmlns:f="http://xmlns.jcp.org/jsf/core">
-
- <ui:define name="admin_title">
- <h:outputText value="#{msg.PAGE_TITLE_ADMIN_LIST_CONTACT_BUSINESS}" />
- </ui:define>
-
- <ui:define name="content_header">
- <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_LIST_CONTACT_BUSINESS}" />
- </ui:define>
-
- <ui:define name="content">
- <ui:fragment rendered="#{businessDataController.allBusinessContacts().isEmpty()}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
- <ui:param name="message" value="#{msg.ADMIN_CONTACT_BUSINESS_LIST_EMPTY}" />
- <ui:param name="styleClass" value="errors" />
- </ui:include>
- </ui:fragment>
-
- <h:dataTable id="table_list_business_contacts" var="businessContact" value="#{businessDataController.allBusinessContacts()}" styleClass="table_full" headerClass="table_header_column" summary="#{msg.TABLE_SUMMARY_ADMIN_LIST_CONTACT_BUSINESS}" rendered="#{not businessDataController.allBusinessContacts().isEmpty()}">
- <h:column>
- <f:facet name="header">
- <h:outputText value="#{msg.ADMIN_CONTACT_BUSINESS_ID}" />
- </f:facet>
-
- <h:link outcome="admin_show_contact_business" title="#{msg.ADMIN_LINK_SHOW_BUSINESS_CONTACT_DATA_TITLE}" value="#{businessContact.businessDataId}">
- <f:param name="businessDataId" value="#{businessContact.businessDataId}" />
- </h:link>
- </h:column>
-
- <h:column>
- <f:facet name="header">
- <h:outputText value="#{msg.ADMIN_CONTACT_BUSINESS_OWNER_ID}" />
- </f:facet>
-
- <h:link outcome="admin_show_user" title="#{msg.ADMIN_LINK_SHOW_CONTACT_BUSINESS_OWNER_USER_TITLE}" value="#{businessContact.contactCompanyUserOwner.userId}" rendered="#{not empty businessContact.contactCompanyUserOwner}" />
-
- <h:link outcome="admin_assign_contact_business_owner" title="#{msg.ADMIN_LINK_ASSIGN_CONTACT_BUSINESS_OWNER_USER_TITLE}" value="#{msg[ADMIN_LINK_ASSIGN_CONTACT_BUSINESS_OWNER_USER]}" rendered="#{empty businessContact.contactCompanyUserOwner}" />
- </h:column>
-
- <h:column>
- <f:facet name="header">
- <h:outputText value="#{msg.ADMIN_CONTACT_BUSINESS_COMPANY_NAME}" />
- </f:facet>
-
- <h:outputText value="#{businessContact.companyName} #{businessContact.companyLegalStatus}" />
- </h:column>
-
- <h:column>
- <f:facet name="header">
- <h:outputText value="#{msg.ADMIN_CONTACT_BUSINESS_CONTACT_PERSON}" />
- </f:facet>
-
- <h:link outcome="admin_show_business_employee" title="#{msg.ADMIN_LINK_SHOW_CONTACT_BUSINESS_CONTACT_PERSON_TITLE}" value="#{businessContact.companyContact.employeeId}" rendered="#{not empty businessContact.companyContact}" />
-
- <h:link outcome="admin_assign_contact_business_contact" title="#{msg.ADMIN_LINK_ASSIGN_CONTACT_BUSINESS_CONTACT_PERSON_TITLE}" value="#{msg[ADMIN_LINK_ASSIGN_CONTACT_BUSINESS_CONTACT_PERSON]}" rendered="#{empty businessContact.companyContact}" />
- </h:column>
-
- <h:column>
- <f:facet name="header">
- <h:outputText value="#{msg.ADMIN_CONTACT_BUSINESS_CREATED}" />
- </f:facet>
-
- <h:outputText id="contactCreated" value="#{businessContact.contactCreated.time}">
- <f:convertDateTime for="contactCreated" type="both" timeStyle="short" dateStyle="short" />
- </h:outputText>
- </h:column>
- </h:dataTable>
-
- <h:form id="form_admin_add_contact_business">
- <h:panelGroup styleClass="table_medium" layout="block">
- <div class="table_header">
- <h:outputText value="#{msg.ADMIN_ADD_CONTACT_BUSINESS_TITLE}" />
- </div>
-
- <div class="para">
- <h:outputText value="#{msg.ADMIN_ADD_CONTACT_BUSINESS_MINIMUM_DATA}" />
- </div>
-
- <ui:include src="/WEB-INF/templates/admin/contact_business/admin_form_contact_business_data.tpl" />
-
- <div class="table_footer">
- <h:commandButton styleClass="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
- <h:commandButton styleClass="submit" type="submit" id="add_business_basic_data" value="#{msg.BUTTON_ADMIN_CONTINUE_BUSINESS_CONTACT_PERSON}" action="#{adminBusinessDataController.addBusinessBasicData()}" />
- </div>
- </h:panelGroup>
- </h:form>
- </ui:define>
-</ui:composition>
</h:form>
<ui:fragment rendered="#{empty beanHelper.faxNumber}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_BEAN_HELPER_FAX_NUMBER_NOT_SET}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
</h:form>
<ui:fragment rendered="#{empty beanHelper.faxNumber}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_BEAN_HELPER_FAX_NUMBER_NOT_SET}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
</h:dataTable>
<ui:fragment rendered="#{phoneController.allFaxNumbers().isEmpty()}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ADMIN_LIST_FAX_NUMBER_EMPTY}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
</h:form>
<ui:fragment rendered="#{empty beanHelper.landLineNumber}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_BEAN_HELPER_LAND_LINE_NUMBER_NOT_SET}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
</h:form>
<ui:fragment rendered="#{empty beanHelper.landLineNumber}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_BEAN_HELPER_LAND_LINE_NUMBER_NOT_SET}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
</h:dataTable>
<ui:fragment rendered="#{phoneController.allLandLineNumbers().isEmpty()}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ADMIN_LIST_LAND_LINE_EMPTY}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
</h:form>
<ui:fragment rendered="#{empty beanHelper.mobileNumber}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_BEAN_HELPER_MOBILE_NUMBER_NOT_SET}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
</h:form>
<ui:fragment rendered="#{empty beanHelper.mobileNumber}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_BEAN_HELPER_MOBILE_NUMBER_NOT_SET}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
</h:dataTable>
<ui:fragment rendered="#{phoneController.allMobileNumbers().isEmpty()}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ADMIN_LIST_MOBILE_EMPTY}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
<ui:define name="content">
<ui:fragment rendered="#{empty beanHelper.user}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_USER_ID_NOT_FOUND}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
<ui:define name="content">
<ui:fragment rendered="#{empty beanHelper.user}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_USER_ID_NOT_FOUND}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
<ui:define name="content">
<ui:fragment rendered="#{empty beanHelper.user}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_USER_ID_NOT_FOUND}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
<ui:define name="content">
<ui:fragment rendered="#{userController.allUsers().isEmpty()}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ADMIN_USER_LIST_EMPTY}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
<ui:define name="content">
<ui:fragment rendered="#{userController.allUsers().isEmpty()}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ADMIN_USER_LIST_EMPTY}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
<ui:define name="content">
<ui:fragment rendered="#{empty beanHelper.user}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_USER_ID_NOT_FOUND}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
<ui:define name="content">
<ui:fragment rendered="#{empty beanHelper.user}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_USER_ID_NOT_FOUND}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
<ui:define name="content">
<ui:fragment rendered="#{empty beanHelper.user}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_USER_ID_NOT_FOUND}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
<ui:define name="content">
<ui:fragment rendered="#{empty beanHelper.user}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_USER_ID_NOT_FOUND}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
</h:panelGroup>
<ui:fragment rendered="#{empty beanHelper.user}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.GUEST_CONFIRMATION_LINK_INVALID}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
</ui:fragment>
<ui:fragment rendered="#{empty userConfirmationLinkController.confirmationKey}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.GUEST_CONFIRMATION_KEY_NOT_SET}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
</h:panelGroup>>
<ui:fragment rendered="#{not featureController.isFeatureEnabled('user_list')}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_USER_LIST_DISABLED}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
</ui:fragment>
<ui:fragment rendered="#{not featureController.isFeatureEnabled('user_login_require_user_name')}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_GUEST_USER_LOGIN_DEACTIVATED}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
</ui:fragment>
<ui:fragment rendered="#{not featureController.isFeatureEnabled('user_login_require_user_name') or not featureController.isFeatureEnabled('user_password_recovery')}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_GUEST_USER_RECOVER_PASSWORD_DEACTIVATED}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
</ui:fragment>
<ui:fragment rendered="#{not profileController.isProfileLinkVisibleById(userController.userId)}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_PROFILE_NOT_VISIBLE}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
</ui:fragment>
<ui:fragment rendered="#{not userController.isPublicUserProfileEnabled()}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_GUEST_USER_PROFILE_DEACTIVATED}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
</ui:fragment>
<ui:fragment rendered="#{not featureController.isFeatureEnabled('user_registration')}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_GUEST_REGISTRATION_DISABLED}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
</ui:fragment>
<ui:fragment rendered="#{featureController.isFeatureEnabled('user_registration_in_index')}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_GUEST_REGISTRATION_IN_INDEX_ENABLED}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
</ui:fragment>
<ui:fragment rendered="#{not featureController.isFeatureEnabled('user_register_multiple_page')}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_GUEST_REGISTER_MULTIPLE_PAGE_NOT_ENABLED}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
</ui:define>
<ui:define name="content">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.GUEST_USER_RESEND_LINK_COMPLETED}" />
</ui:include>
</ui:define>
</h:form>
<ui:fragment rendered="#{not featureController.isFeatureEnabled('user_resend_confirmation_link')}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_GUEST_USER_RESEND_LINK_DEACTIVATED}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
<ui:define name="content">
<ui:fragment rendered="#{userLoginController.isUserLoggedIn() and featureController.isFeatureEnabled('edit_user_data') and (not userLoginController.ifUserMustChangePassword() or not featureController.isFeatureEnabled('user_must_change_password'))}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.LOGIN_MESSAGE_DATA_SAVED}" />
</ui:include>
</ui:fragment>
<ui:define name="content">
<ui:fragment rendered="#{userLoginController.isUserLoggedIn()}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.LOGIN_MESSAGE_DATA_SAVED}" />
</ui:include>
</ui:fragment>
</h:panelGroup>
<ui:fragment rendered="#{not featureController.isFeatureEnabled('user_change_email_address')}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_LOGIN_USER_CHANGE_EMAIL_ADDRESS_DISABLED}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
<ui:define name="content">
<ui:fragment rendered="#{userLoginController.loggedInUser.userMustChangePassword == true}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.USER_MUST_CHANGE_PASSWORD_NOTICE}" />
</ui:include>
</ui:fragment>
</ui:fragment>
<ui:fragment rendered="#{not featureController.isFeatureEnabled('change_user_password')}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_LOGIN_USER_EDIT_DATA_DISABLED}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
</h:panelGroup>
<ui:fragment rendered="#{not featureController.isFeatureEnabled('change_user_personal_data')}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_LOGIN_USER_EDIT_DATA_DISABLED}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
<ui:define name="content">
<ui:fragment rendered="#{userLoginController.isUserLoggedIn() and featureController.isFeatureEnabled('change_user_personal_data') and (not userLoginController.ifUserMustChangePassword() or not featureController.isFeatureEnabled('user_must_change_password'))}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.LOGIN_MESSAGE_DATA_SAVED}" />
</ui:include>
</ui:fragment>
</ui:fragment>
<ui:fragment rendered="#{not featureController.isFeatureEnabled('change_user_personal_data')}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.ERROR_LOGIN_USER_EDIT_DATA_DISABLED}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
<ui:define name="content">
<ui:fragment rendered="#{userLoginController.isUserLoggedIn() and (not userLoginController.ifUserMustChangePassword() or not featureController.isFeatureEnabled('user_must_change_password'))}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
<ui:param name="message" value="#{msg.LOGIN_MESSAGE_DATA_SAVED}" />
</ui:include>
</ui:fragment>