]> git.mxchange.org Git - jfinancials-war.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Sat, 19 Aug 2017 14:11:42 +0000 (16:11 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 19 Aug 2017 14:11:42 +0000 (16:11 +0200)
- renamed JSF views with "contact_business" to "business_data"
- moved selection boxes to own template folder "selection_boxes"
- renamed + moved locale_selection_box.tpl to widgets/locale_change_widget.tpl
- renamed "generic" templates folder to "messages"
- TODO: moving out "country selection box" to a template can be done:
  + for each type, land-line and fax number have a separate template
  + the target controllers must all then have same naming, e.g. landLineCountry

Signed-off-by: Roland Häder <roland@mxchange.org>
84 files changed:
web/WEB-INF/faces-config.xml
web/WEB-INF/templates/admin/admin_menu.tpl
web/WEB-INF/templates/admin/contact/admin_contact_links.tpl
web/WEB-INF/templates/admin/contact/admin_form_contact_data.tpl
web/WEB-INF/templates/admin/fax/admin_fax_add_show.tpl
web/WEB-INF/templates/admin/fax/admin_fax_data.tpl
web/WEB-INF/templates/admin/fax/admin_fax_links.tpl
web/WEB-INF/templates/admin/fax/admin_form_add_contact_fax.tpl
web/WEB-INF/templates/admin/fax/admin_form_fax_data.tpl
web/WEB-INF/templates/admin/landline/admin_form_add_contact_landline.tpl
web/WEB-INF/templates/admin/landline/admin_form_landline_data.tpl
web/WEB-INF/templates/admin/landline/admin_landline_add_show.tpl
web/WEB-INF/templates/admin/landline/admin_landline_data.tpl
web/WEB-INF/templates/admin/landline/admin_landline_links.tpl
web/WEB-INF/templates/admin/mobile/admin_form_add_contact_mobile.tpl
web/WEB-INF/templates/admin/mobile/admin_form_mobile_data.tpl
web/WEB-INF/templates/admin/mobile/admin_mobile_add_show.tpl
web/WEB-INF/templates/admin/mobile/admin_mobile_data.tpl
web/WEB-INF/templates/admin/mobile/admin_mobile_links.tpl
web/WEB-INF/templates/admin/user/admin_form_user_data.tpl
web/WEB-INF/templates/admin/user/admin_user_links.tpl
web/WEB-INF/templates/base.tpl
web/WEB-INF/templates/contact/form_contact_data.tpl
web/WEB-INF/templates/generic/locale_selection_box.tpl [deleted file]
web/WEB-INF/templates/generic/message_box.tpl [deleted file]
web/WEB-INF/templates/generic/message_box_mini.tpl [deleted file]
web/WEB-INF/templates/generic/mobile_selection_box.tpl [deleted file]
web/WEB-INF/templates/generic/personal_title_selection_box.tpl [deleted file]
web/WEB-INF/templates/generic/profile_mode_selection_box.tpl [deleted file]
web/WEB-INF/templates/input_fields/fax_input_fields.tpl
web/WEB-INF/templates/input_fields/landline_input_fields.tpl
web/WEB-INF/templates/input_fields/mobile_input_fields.tpl
web/WEB-INF/templates/login/user/user_base.tpl
web/WEB-INF/templates/messages/message_box.tpl [new file with mode: 0644]
web/WEB-INF/templates/messages/message_box_mini.tpl [new file with mode: 0644]
web/WEB-INF/templates/selection_boxes/mobile_selection_box.tpl [new file with mode: 0644]
web/WEB-INF/templates/selection_boxes/personal_title_selection_box.tpl [new file with mode: 0644]
web/WEB-INF/templates/selection_boxes/profile_mode_selection_box.tpl [new file with mode: 0644]
web/WEB-INF/templates/user/user_profile_link.tpl
web/WEB-INF/templates/widgets/locale_change_widget.tpl [new file with mode: 0644]
web/admin/business_data/admin_business_data_list.xhtml [new file with mode: 0644]
web/admin/contact/admin_contact_delete.xhtml
web/admin/contact/admin_contact_edit.xhtml
web/admin/contact/admin_contact_export.xhtml
web/admin/contact/admin_contact_list.xhtml
web/admin/contact/admin_contact_show.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/contact_business/admin_contact_business_list.xhtml [deleted file]
web/admin/fax/admin_fax_delete.xhtml
web/admin/fax/admin_fax_edit.xhtml
web/admin/fax/admin_fax_list.xhtml
web/admin/landline/admin_landline_delete.xhtml
web/admin/landline/admin_landline_edit.xhtml
web/admin/landline/admin_landline_list.xhtml
web/admin/mobile/admin_mobile_delete.xhtml
web/admin/mobile/admin_mobile_edit.xhtml
web/admin/mobile/admin_mobile_list.xhtml
web/admin/user/admin_user_activity_log.xhtml
web/admin/user/admin_user_delete.xhtml
web/admin/user/admin_user_edit.xhtml
web/admin/user/admin_user_export.xhtml
web/admin/user/admin_user_list.xhtml
web/admin/user/admin_user_lock.xhtml
web/admin/user/admin_user_resend_confirmation_link.xhtml
web/admin/user/admin_user_show.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_profile.xhtml
web/guest/user/user_register.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 a7fc0766f79fd1ee3dd9bc84535b8e4867d0e133..b8264608dc1b5b6e1091c5dabd04ecfa1ffc9441 100644 (file)
                        <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>
index 12d3bb233a2780f30d3cf3393c67c458e1ecfc75..05270cc256ef87e399a443c12910b0bd5db04da2 100644 (file)
@@ -39,8 +39,8 @@
                                </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>
 
index dc8195a6680ef23f52e8b767c6708c7b69a1196d..1fc03955bbf70f14f7ca10840f468326c4b55778 100644 (file)
@@ -6,7 +6,7 @@
        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>
index 7ab91ab7dfd198289683031968929950ffe03823..a862af19f9cfab99f7ed8f2bd0e4d7e96cc2184c 100644 (file)
@@ -17,7 +17,7 @@
                                </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>
index 21f97818488e1750dd1833cc424bdfbab6716438..e3cc014afba16a064480ac2d407d0f484e883fc5 100644 (file)
@@ -6,7 +6,7 @@
        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>
index 722304767bfaa949044a509a471dadc70865583e..532ef872ca3fe09b69f10f3b56b23477037f2cde 100644 (file)
@@ -6,7 +6,7 @@
        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>
index 33c33bcf02188c8ae284b5999f7fa789346d7867..42e0f26d2e761ccac58d3848d1e330c43aabbaab 100644 (file)
@@ -6,7 +6,7 @@
        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>
index df6fefcd984a4070010f72bb9beb18f7f4d6c7b4..180ad4c0490d3a18d3409bccc208d7d19aa35cb6 100644 (file)
@@ -6,7 +6,7 @@
        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>
index 2665a383047b3c4ce9bb95bf8f4f7c03f48a2267..c3aa9fff539ccf33cc411e9a1acaa13a79f8c860 100644 (file)
@@ -6,7 +6,7 @@
        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>
index 22134c7d93f7c87d5539890fbd90eb2d3de1ed9c..d81e62cc6f3ec8127085c32617313bd390f71612 100644 (file)
@@ -6,7 +6,7 @@
        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>
index 0e721a163e4651de5bf46b1d9c9663aa462260df..52cc1c225aba28977d3c978ee27b7ea172ae7133 100644 (file)
@@ -6,7 +6,7 @@
        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>
index 4ed5e6008d9b6c536dd155ccaacde98b937c4a16..82b3ecf4706a689c175252e04ee9bbf69b17995c 100644 (file)
@@ -6,7 +6,7 @@
        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>
index 45d494ecf7e668b1c65f593261b7457d7776984b..4e8b11b6a616b2c92db6802497814a3c7d8956ba 100644 (file)
@@ -6,7 +6,7 @@
        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>
index 4292e6ddfbfde0f955deaffebb5616861ae344f2..25b36dd3ed5139dd526d0ccff24ffb6561364f96 100644 (file)
@@ -6,7 +6,7 @@
        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>
index 0371fcd6a45b287a6856e2d9b34cf0001833eca6..b48922898fdaf6473693d75cb00597d799087da4 100644 (file)
@@ -6,7 +6,7 @@
        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>
index 6066cbec06d7f6f0a1718e484d258e454aae0ee0..9f56cfa1f62a5e1431ffbc45e9d0d961e486f010 100644 (file)
@@ -6,7 +6,7 @@
        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>
index de0dd7e7ccc349e03a9596ab90666fea623f664a..9580d1da71fd684df7238f3dccd03427cf671f2b 100644 (file)
@@ -6,7 +6,7 @@
        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>
index f579fab23a4f6111e92d2f88ff19d835399784a1..fbcc22db3f277033b5b64b48642c32de6e82078f 100644 (file)
@@ -6,7 +6,7 @@
        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>
index 48d218af05a02039aba60060393418c059be3ee7..0458bd9b0d3d74b5830ab9af06b61b9430acfc39 100644 (file)
@@ -6,7 +6,7 @@
        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>
index cc7ce2daac4f20a76ad33650a43c249e2549a8d6..e91047b4f5750b39e53e07c9f3c4a9e217ed85b9 100644 (file)
@@ -6,7 +6,7 @@
        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>
index f5855475670d6cf31d3a796ac4daa36e30678205..d7c209c63a01635cc9f0fbff8facd6c13449aed0 100644 (file)
@@ -6,7 +6,7 @@
        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>
index 3c24222dfa40b167ea9dcbf57511d900bcd4207e..3ea18220354f1f18f5b5cbd43a7c433414cfaa49 100644 (file)
@@ -46,7 +46,8 @@
                                                <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">
index 7f80980dd65c21ffa6640bfcb8948051e44bc686..6b75bebe981718869c21b789d5d683cba0af7742 100644 (file)
@@ -23,7 +23,7 @@
                                </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>
diff --git a/web/WEB-INF/templates/generic/locale_selection_box.tpl b/web/WEB-INF/templates/generic/locale_selection_box.tpl
deleted file mode 100644 (file)
index c4b41bc..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-<?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>
diff --git a/web/WEB-INF/templates/generic/message_box.tpl b/web/WEB-INF/templates/generic/message_box.tpl
deleted file mode 100644 (file)
index 07c5b1e..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?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>
diff --git a/web/WEB-INF/templates/generic/message_box_mini.tpl b/web/WEB-INF/templates/generic/message_box_mini.tpl
deleted file mode 100644 (file)
index e8e1c56..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?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>
diff --git a/web/WEB-INF/templates/generic/mobile_selection_box.tpl b/web/WEB-INF/templates/generic/mobile_selection_box.tpl
deleted file mode 100644 (file)
index 56be7e9..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-<?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>
diff --git a/web/WEB-INF/templates/generic/personal_title_selection_box.tpl b/web/WEB-INF/templates/generic/personal_title_selection_box.tpl
deleted file mode 100644 (file)
index 7cd411b..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-<?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>
diff --git a/web/WEB-INF/templates/generic/profile_mode_selection_box.tpl b/web/WEB-INF/templates/generic/profile_mode_selection_box.tpl
deleted file mode 100644 (file)
index 680c63e..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<?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>
index ecddbde693582af0ae96e07d1d8d7dc05a83af3e..7849f34e25e50ddbf215503cd2d33d74e5a18033 100644 (file)
@@ -6,7 +6,7 @@
        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>
index 6bec8872bd2b27f5929897dfffac42135f1b762a..da4cb7937c5393a8e97f7dd5d125503c8674e4e8 100644 (file)
@@ -6,7 +6,7 @@
        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>
index a9ccc2e157410f8113e5ed55d5f8ba22d0a9a452..1bfa5771e088a28590d194b3fd215b3d07d8600c 100644 (file)
@@ -6,21 +6,15 @@
        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.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>
        </ui:fragment>
 </ui:composition>
index f398c0f28756a05e9955c5109e5b1921c12f3580..00c63b1cf7177b50b587460627b8009ba9b21875 100644 (file)
@@ -15,7 +15,7 @@
 
        <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>
diff --git a/web/WEB-INF/templates/messages/message_box.tpl b/web/WEB-INF/templates/messages/message_box.tpl
new file mode 100644 (file)
index 0000000..07c5b1e
--- /dev/null
@@ -0,0 +1,34 @@
+<?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>
diff --git a/web/WEB-INF/templates/messages/message_box_mini.tpl b/web/WEB-INF/templates/messages/message_box_mini.tpl
new file mode 100644 (file)
index 0000000..e8e1c56
--- /dev/null
@@ -0,0 +1,34 @@
+<?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>
diff --git a/web/WEB-INF/templates/selection_boxes/mobile_selection_box.tpl b/web/WEB-INF/templates/selection_boxes/mobile_selection_box.tpl
new file mode 100644 (file)
index 0000000..56be7e9
--- /dev/null
@@ -0,0 +1,21 @@
+<?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>
diff --git a/web/WEB-INF/templates/selection_boxes/personal_title_selection_box.tpl b/web/WEB-INF/templates/selection_boxes/personal_title_selection_box.tpl
new file mode 100644 (file)
index 0000000..c09e757
--- /dev/null
@@ -0,0 +1,21 @@
+<?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>
diff --git a/web/WEB-INF/templates/selection_boxes/profile_mode_selection_box.tpl b/web/WEB-INF/templates/selection_boxes/profile_mode_selection_box.tpl
new file mode 100644 (file)
index 0000000..680c63e
--- /dev/null
@@ -0,0 +1,11 @@
+<?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>
index 1ddb6de71bab2ba4eb7c6ab2051f25245f062fcf..47abe987c48c6da2a3f7b1bb1504424dd182b28d 100644 (file)
@@ -6,7 +6,7 @@
        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>
diff --git a/web/WEB-INF/templates/widgets/locale_change_widget.tpl b/web/WEB-INF/templates/widgets/locale_change_widget.tpl
new file mode 100644 (file)
index 0000000..c4b41bc
--- /dev/null
@@ -0,0 +1,20 @@
+<?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>
diff --git a/web/admin/business_data/admin_business_data_list.xhtml b/web/admin/business_data/admin_business_data_list.xhtml
new file mode 100644 (file)
index 0000000..a2e1553
--- /dev/null
@@ -0,0 +1,93 @@
+<?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>
index d02fb758b205c50dc29eca4ee7117fdfb783f56e..e334721fbb5763f82263529e94e2c773c4c2180a 100644 (file)
@@ -22,7 +22,7 @@
 
        <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>
index 8ae087e9f70cb74d233fb85ea7692920d60f28e3..41ed4f56dd9c735bb07267e28943dd0c7aa009f6 100644 (file)
@@ -22,7 +22,7 @@
 
        <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>
index 4bd0584e76419db25bb0ea61c450d5e2c1efaa02..942d44702f71858c9f251008117c112a3c4d5beb 100644 (file)
@@ -16,7 +16,7 @@
 
        <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>
index 03d8c0e1fa6b9553cd4830418c89c64510ed8e69..a7a5019658954398447cf5e651c5f4ed645688f6 100644 (file)
@@ -15,7 +15,7 @@
 
        <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>
index 5820d498af143d07d5d4d2106e6887d238085928..60b6c5f3be667c367f78fe71b3fd82350ecf1370 100644 (file)
@@ -22,7 +22,7 @@
 
        <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>
index e9d23a02a19f4aa7fd511ab40be439aeb18ab964..56743a079b0f412dc5ffc2bc65d87c8fbbbbb9d7 100644 (file)
                </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>
index 5c6788d50e8ceda676a70d138a212a33deab13e4..906f4b9b45a4f76165aae051e8c24b1257b10ba3 100644 (file)
                </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>
index 4735bdafc17eb2c42a03ad0ee0c78ceaccfeb17a..72ee0953e16184a9282c8b51b581ce72137fb89b 100644 (file)
                </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>
diff --git a/web/admin/contact_business/admin_contact_business_list.xhtml b/web/admin/contact_business/admin_contact_business_list.xhtml
deleted file mode 100644 (file)
index bf0024b..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-<?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>
index 8477adb9aadabf49c55605a89ab5f43599825e6e..6da5063c3b7e373b6339b87b7abd59f86d0411ba 100644 (file)
@@ -45,7 +45,7 @@
                </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>
index 14acb2f192056e57aa83fcfa3c1b2e594ed2390c..5cfe15ff92ccba79c73543618fd85d4869c8476a 100644 (file)
@@ -39,7 +39,7 @@
                </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>
index fb5776519279b8acba4d4baa9724291d6ef49238..1df83790245fbf55ac1f690f5a87c2d003e19b49 100644 (file)
@@ -55,7 +55,7 @@
                </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>
index 9c9894c0768be23dc2a9d5b6478fc79aac1540bf..486ff2d7e97bec437feb0c99224401fdc56a76c0 100644 (file)
@@ -45,7 +45,7 @@
                </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>
index d4f0a1e76ede74e01ac3e98bd7499a0faa28d185..969a36fa8fffdd3eb7e7732d0d7a44db884a1525 100644 (file)
@@ -39,7 +39,7 @@
                </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>
index 8767fe9312e8f3ca2c5b64e78e8449867dc48a95..426230c8209dd3bafcea2adcff085fd76997aa84 100644 (file)
@@ -55,7 +55,7 @@
                </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>
index eae1af988e24f18e59a8ad8028cdc9532dd905cf..a7b54554665dd4394670350a6869f1ac03791abb 100644 (file)
@@ -45,7 +45,7 @@
                </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>
index e067086f6c57f853b1fff3678f451b550c618c45..c5c6c1fa8889fbb422014f346e03ab0c59428255 100644 (file)
@@ -39,7 +39,7 @@
                </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>
index 8f0ea33036ec976b289a4498c5b0fd15935b31c7..e6bedf9a60fe7a5efbe7c501759c34c884780372 100644 (file)
@@ -65,7 +65,7 @@
                </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>
index 686c0e7d9217b78fbf9f26aac883607905a4bb4e..6991e52c622832567a5104c9fda18af7de8aff3a 100644 (file)
@@ -22,7 +22,7 @@
 
        <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>
index f988b3ec032fb3acabaaedf138e29913b8d35b6c..b95f567a1109c434704d0a01bca34d10d6a23a7a 100644 (file)
@@ -22,7 +22,7 @@
 
        <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>
index fef405b537f46ebe556f66f1e6a9f8d671f96b82..e6602eeb288c64ba72929a4945d53fb06c48f247 100644 (file)
@@ -22,7 +22,7 @@
 
        <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>
index 79731fec36003225af4d6ac78a281e0c5b578e4f..db18fe83e65270145ced397cf74f01de326ecaee 100644 (file)
@@ -16,7 +16,7 @@
 
        <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>
index 14a7b0a985a907a85cf7232d2d614ca5f8898d05..74267d9169ca36fbd037af7a93425a4c6d88ef6d 100644 (file)
@@ -15,7 +15,7 @@
 
        <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>
index c88cb2be59bd058956b13533b10ad14f6a2059bf..0f1e7b0eef383b294a11b37db52c0da3130e863b 100644 (file)
@@ -22,7 +22,7 @@
 
        <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>
index dba93f626ee335cec8b12a1eacb99b880f0fd6f6..aab5e8e6ab4cbe7a6ab25cc8d80c6b2388625289 100644 (file)
@@ -22,7 +22,7 @@
 
        <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>
index 993374a9a6834a7112c96f3d1d895232facb2b5f..02c2dddc24aff25ba1ec35f78f31985bdb0922dc 100644 (file)
@@ -22,7 +22,7 @@
 
        <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>
index d98c03687173d115f35975e40bbe2f4c3a5faf97..074c56d1ce87e29aa28601002a52bdd707603f40 100644 (file)
@@ -22,7 +22,7 @@
 
        <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>
index c9c380d83ce77cae329729b94083a73154ff944c..da804aa4f528ea01abe4bdd1740b999fcf6cb0cd 100644 (file)
@@ -37,7 +37,7 @@
                        </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>
@@ -45,7 +45,7 @@
                </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>
index 663d97a9d21a885f40e9222cbd7c9727d0e0f265..ba45e295d204b16476814772cdfe5663da64da48 100644 (file)
@@ -41,7 +41,7 @@
                </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>
index bf08a860246e188005454bb945f97a19ad5212de..55e02a4c3760b7dc9d18ae51a1b5730e223948fd 100644 (file)
@@ -33,7 +33,7 @@
                </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>
index cab17c333c5c2b8f6031333d1d6c1ffac7c2fa7a..a68301a6cf92391687a030fe64666b60b93b9fba 100644 (file)
@@ -67,7 +67,7 @@
                </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>
index 200bf166a0b3dca5086e11df48f58d6c2dfd93ae..34296e01bb31f34cd2fb48331020de4dedbf3543 100644 (file)
@@ -31,7 +31,7 @@
                        </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>
@@ -49,7 +49,7 @@
                </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>
index 128e806c52c7cdff5c057fb633242fcadee55382..792cf67807b1fe4c32f259ebb4d45b89fd00abdf 100644 (file)
                </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>
index d18f23ec6c41757ec762f042d8128f9652ce7eb1..2c98260810f4bbcad3e56182709943833c1c4be0 100644 (file)
@@ -29,7 +29,7 @@
                </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>
index 8f6d50d7c1f6166bf9f3c26264f1a7075b49608a..f291735a2ed0c23eaf9ac7e5ef38213a83796605 100644 (file)
@@ -14,7 +14,7 @@
        </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>
index cb9aa3a21aecaa851aa5b4015f8092f4490a49da..92742a6953d4ad16da4f3561e873027b3374657c 100644 (file)
@@ -54,7 +54,7 @@
                </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>
index afd7381591dcf6aad772cab452e9c5a720cddc4e..170e5fcb20c09c6c9adc30df56a8818139c07dad 100644 (file)
@@ -15,7 +15,7 @@
 
        <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>
index c21ff285a228c3bc33142089090deff5b44469b7..6ddb2373e39985f1fb24a9b90d64c13676f2e8a0 100644 (file)
@@ -15,7 +15,7 @@
 
        <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>
index 2127d8a01b85160b698371044a414b9be590e97d..36821750860c3517da3aeb557c1f691c126c8b7d 100644 (file)
@@ -52,7 +52,7 @@
                </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>
index 16e42405d81a620cde5f04e4bf0a00043f55e322..7eddb313727d689ba794486d917d845cc3756e0b 100644 (file)
@@ -15,7 +15,7 @@
 
        <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>
@@ -79,7 +79,7 @@
                </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>
index 89e5b773ee1811c2b4ae003e0ddb3dcab7ece324..18b8be0d639899656650cae6d678100b9a8dc373 100644 (file)
@@ -34,7 +34,7 @@
                </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>
index 3fe4121f68f9ddcf944f57c534afc311a0567899..047c2649738f26cdd93dfc747c96d93989ae6e29 100644 (file)
@@ -15,7 +15,7 @@
 
        <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>
@@ -25,7 +25,7 @@
                </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>
index 6f9eadccd4a57212efde6f3676dfb5748fd78466..aa7c60622411156572cd6e9dd62c2b24a5d8addc 100644 (file)
@@ -15,7 +15,7 @@
 
        <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>