]> git.mxchange.org Git - jfinancials-war.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Wed, 10 Jun 2020 17:03:04 +0000 (19:03 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 10 Jun 2020 17:06:52 +0000 (19:06 +0200)
- reformatted f:selectItem tag for having each attribute in a single line

Signed-off-by: Roland Häder <roland@mxchange.org>
web/WEB-INF/resources/tags/admin/form_data/mobile/admin_edit_form_mobile_data.tpl
web/WEB-INF/resources/tags/country/form_data/form_country_selector.tpl
web/WEB-INF/resources/tags/input/panel_grid/mobile_input_panel_grid.tpl
web/WEB-INF/templates/admin/branch_office/admin_form_branch_office_data.tpl
web/WEB-INF/templates/admin/department/admin_form_department_data.tpl
web/WEB-INF/templates/admin/employee/admin_form_employee_data.tpl
web/WEB-INF/templates/admin/fax/admin_form_add_contact_fax.tpl
web/WEB-INF/templates/admin/headquarter/admin_form_headquarter.tpl
web/WEB-INF/templates/admin/landline/admin_form_add_contact_landline.tpl
web/WEB-INF/templates/admin/mobile/admin_form_add_contact_mobile.tpl
web/admin/basic_data/admin_basic_data_list.xhtml

index 8d2bc03ab991a377fa4ee09eb9080424625e8d27..def45ad09d7a0523b4eca861b1ace7b7e96e2926 100644 (file)
                                        >
                                        <f:converter converterId="MobileProviderConverter" />
 
-                                       <f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
+                                       <f:selectItem
+                                               itemValue="#{null}"
+                                               itemLabel="#{msg.NONE_SELECTED}"
+                                               />
 
                                        <f:selectItems
                                                value="#{mobileProviderListController.allMobileProviders}"
index 0c154ca3c709da8df4d228a90aec72190a3c0982..cedefd2eccb371506d4098ee43a360f874f379b6 100644 (file)
                >
                <f:converter converterId="CountryConverter" />
 
-               <f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" rendered="#{empty allowNull or allowNull}" />
+               <f:selectItem
+                       itemValue="#{null}"
+                       itemLabel="#{msg.NONE_SELECTED}"
+                       rendered="#{empty allowNull or allowNull}"
+                       />
 
                <f:selectItems
                        value="#{countryListController.allCountries}"
index 30803f12bf2c32d37854806e8fd9c2a312f77942..7d131fa6bed3a3eac5cc301388b03bde88c9a3c1 100644 (file)
@@ -6,15 +6,25 @@
        xmlns:p="http://primefaces.org/ui"
        >
 
-       <p:panelGrid layout="grid" columns="2" rendered="#{empty rendered or rendered == true}">
+       <p:panelGrid
+               layout="grid"
+               columns="2"
+               rendered="#{empty rendered or rendered == true}"
+               >
                <p:selectOneMenu
                        id="mobileProvider"
                        value="#{targetController.mobileProvider}"
                        filter="true"
                        filterMatchMode="contains"
                        >
+
                        <f:converter converterId="MobileProviderConverter" />
-                       <f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
+
+                       <f:selectItem
+                               itemValue="#{null}"
+                               itemLabel="#{msg.NONE_SELECTED}"
+                               />
+
                        <f:selectItems
                                value="#{mobileProviderListController.allMobileProviders}"
                                var="mobileProvider"
index 2e16c29d3d8c6e3720e7a0cdea5d42a897dc7665..45efc8a7fcadec3f8e9e54c8babf3b2c37dda487 100644 (file)
 
                                <f:converter converterId="ContactConverter" />
 
-                               <f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
+                               <f:selectItem
+                                       itemValue="#{null}"
+                                       itemLabel="#{msg.NONE_SELECTED}"
+                                       />
 
                                <f:selectItems
                                        value="#{contactListController.allContacts}"
 
                                <f:converter converterId="ContactConverter" />
 
-                               <f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
+                               <f:selectItem
+                                       itemValue="#{null}"
+                                       itemLabel="#{msg.NONE_SELECTED}"
+                                       />
 
                                <f:selectItems
                                        value="#{contactListController.allContacts}"
 
                                <f:converter converterId="UserConverter" />
 
-                               <f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
+                               <f:selectItem
+                                       itemValue="#{null}"
+                                       itemLabel="#{msg.NONE_SELECTED}"
+                                       />
 
                                <f:selectItems
                                        value="#{userListController.allUsers}"
index 15bf65eb311e0d361a9f7ea60d90e6ac4877dd64..af7eb067ec91b47862f81f57cb9b0fb1a0171f24 100644 (file)
                                filter="true"
                                filterMatchMode="contains"
                                >
+
                                <f:converter converterId="BranchOfficeConverter" />
 
-                               <f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
+                               <f:selectItem
+                                       itemValue="#{null}"
+                                       itemLabel="#{msg.NONE_SELECTED}"
+                                       />
 
                                <f:selectItems
                                        value="#{branchOfficeListController.allBranchOffices}"
 
                                <f:converter converterId="HeadquarterConverter" />
 
-                               <f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
+                               <f:selectItem
+                                       itemValue="#{null}"
+                                       itemLabel="#{msg.NONE_SELECTED}"
+                                       />
 
                                <f:selectItems
                                        value="#{headquarterListController.allHeadquarters}"
 
                                <f:converter converterId="ContactConverter" />
 
-                               <f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
+                               <f:selectItem
+                                       itemValue="#{null}"
+                                       itemLabel="#{msg.NONE_SELECTED}"
+                                       />
 
                                <f:selectItems
                                        value="#{contactListController.allContacts}"
 
                                <f:converter converterId="UserConverter" />
 
-                               <f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
+                               <f:selectItem
+                                       itemValue="#{null}"
+                                       itemLabel="#{msg.NONE_SELECTED}"
+                                       />
 
                                <f:selectItems
                                        value="#{userListController.allUsers}"
index 9d9dede6f1cec3863d593ceabffc0ff43c1fae08..21644cf79565b79d861aac9d04c048d37b83efff 100644 (file)
 
                                <f:converter converterId="BranchOfficeConverter" />
 
-                               <f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
+                               <f:selectItem
+                                       itemValue="#{null}"
+                                       itemLabel="#{msg.NONE_SELECTED}"
+                                       />
 
                                <f:selectItems
                                        value="#{branchOfficeListController.allBranchOffices}"
 
                                <f:converter converterId="ContactConverter" />
 
-                               <f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
+                               <f:selectItem
+                                       itemValue="#{null}"
+                                       itemLabel="#{msg.NONE_SELECTED}"
+                                       />
 
                                <f:selectItems
                                        value="#{contactListController.allContacts}"
 
                                <f:converter converterId="UserConverter" />
 
-                               <f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
+                               <f:selectItem
+                                       itemValue="#{null}"
+                                       itemLabel="#{msg.NONE_SELECTED}"
+                                       />
 
                                <f:selectItems
                                        value="#{userListController.allUsers}"
 
                                <f:converter converterId="DepartmentConverter" />
 
-                               <f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
+                               <f:selectItem
+                                       itemValue="#{null}"
+                                       itemLabel="#{msg.NONE_SELECTED}"
+                                       />
 
                                <f:selectItems
                                        value="#{departmentListController.allDepartments}"
 
                                <f:converter converterId="HeadquarterConverter" />
 
-                               <f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
+                               <f:selectItem
+                                       itemValue="#{null}"
+                                       itemLabel="#{msg.NONE_SELECTED}"
+                                       />
 
                                <f:selectItems
                                        value="#{headquarterListController.allHeadquarters}"
index 2b55ab4952baf94250f684f2b5286b76dd201a29..c44235e5dc06626971277d4ef8f8d3a56b0c83ab 100644 (file)
                                        <p:selectOneMenu styleClass="select" id=" " value="#{adminPhoneController.faxNumber}">
                                                <f:converter converterId="FaxNumberConverter" />
 
-                                               <f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
+                                               <f:selectItem
+                                                       itemValue="#{null}"
+                                                       itemLabel="#{msg.NONE_SELECTED}"
+                                                       />
 
                                                <f:selectItems
                                                        value="#{adminPhoneController.allNonLinkedFaxNumbers}"
                                                        var="faxNumber"
                                                        itemValue="#{faxNumber}"
-                                                       itemLabel="#{faxNumber.phoneCountry.countryExternalDialPrefix} (#{faxNumber.phoneAreaCode}) #{faxNumber.phoneNumber}"
+                                                       itemLabel="#{beanHelper.renderPhoneNumber(faxNumber)}"
                                                        />
                                        </p:selectOneMenu>
                                </div>
index 3b54506d15141404cfb53aad4858f7befbda9e01..61ddb0b1db7ea68ccea548fc0e4bdd4d8d05ce24 100644 (file)
 
                                <f:converter converterId="ContactConverter" />
 
-                               <f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
+                               <f:selectItem
+                                       itemValue="#{null}"
+                                       itemLabel="#{msg.NONE_SELECTED}"
+                                       />
 
                                <f:selectItems
                                        value="#{contactListController.allContacts}"
 
                                <f:converter converterId="UserConverter" />
 
-                               <f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
+                               <f:selectItem
+                                       itemValue="#{null}"
+                                       itemLabel="#{msg.NONE_SELECTED}"
+                                       />
 
                                <f:selectItems
                                        value="#{userListController.allUsers}"
index 722fe3ba7edf28bf07c7b55e840ad67620591eb4..651763e377dee8e612832fd0b73a000d33b34597 100644 (file)
                                        >
                                        <f:converter converterId="LandLineNumberConverter" />
 
-                                       <f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
+                                       <f:selectItem
+                                               itemValue="#{null}"
+                                               itemLabel="#{msg.NONE_SELECTED}"
+                                               />
 
                                        <f:selectItems
                                                value="#{adminPhoneController.allNonLinkedLandLineNumbers}"
index 9e57a99ac462eabb5ed96f488d26972904876bc9..611d39d60e2b8364331278908c22cc5ae262b83a 100644 (file)
                                columns="2"
                                >
                                <p:outputLabel for="mobileNumber" value="#{msg.ADMIN_SELECT_MOBILE_NUMBER}" />
-                               <p:selectOneMenu styleClass="select" id="mobileNumber" value="#{adminMobileController.mobileNumber}">
+                               <p:selectOneMenu
+                                       id="mobileNumber"
+                                       value="#{adminMobileController.mobileNumber}">
+
                                        <f:converter converterId="MobileNumberConverter" />
 
-                                       <f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
+                                       <f:selectItem
+                                               itemValue="#{null}"
+                                               itemLabel="#{msg.NONE_SELECTED}"
+                                               />
 
                                        <f:selectItems
                                                value="#{adminMobileController.allNonLinkedMobileNumbers}"
index e6f5114cbc19d8c545847865db0d99c8c9659692..441db7d3aee561c8cbc7665b2a8b7965ac704095 100644 (file)
 
                                                                <f:converter converterId="UserConverter" />
 
-                                                               <f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
+                                                               <f:selectItem
+                                                                       itemValue="#{null}"
+                                                                       itemLabel="#{msg.NONE_SELECTED}"
+                                                                       />
 
                                                                <f:selectItems
                                                                        value="#{userListController.allUsers}"
 
                                                                <f:converter converterId="EmployeeConverter" />
 
-                                                               <f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
+                                                               <f:selectItem
+                                                                       itemValue="#{null}"
+                                                                       itemLabel="#{msg.NONE_SELECTED}"
+                                                                       />
 
                                                                <f:selectItems
                                                                        value="#{employeeListController.allEmployees}"
 
                                                                <f:converter converterId="EmployeeConverter" />
 
-                                                               <f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
+                                                               <f:selectItem
+                                                                       itemValue="#{null}"
+                                                                       itemLabel="#{msg.NONE_SELECTED}"
+                                                                       />
 
                                                                <f:selectItems
                                                                        value="#{employeeListController.allEmployees}"
 
                                                                <f:converter converterId="HeadquarterConverter" />
 
-                                                               <f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
+                                                               <f:selectItem
+                                                                       itemValue="#{null}"
+                                                                       itemLabel="#{msg.NONE_SELECTED}"
+                                                                       />
 
                                                                <f:selectItems
                                                                        value="#{headquarterListController.allHeadquarters}"