requiredMessage="#{msg.ADMIN_MOBILE_PROVIDER_REQUIRED}"
>
<f:converter converterId="MobileProviderConverter" />
+
<f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
- <f:selectItems value="#{mobileProviderController.allMobileProviders()}" var="mobileProvider" itemValue="#{mobileProvider}" itemLabel="#{mobileProvider.providerCountry.countryExternalDialPrefix}#{mobileProvider.providerDialPrefix} (#{mobileProvider.providerName})" />
+
+ <f:selectItems
+ value="#{mobileProviderController.allMobileProviders()}"
+ var="mobileProvider"
+ itemValue="#{mobileProvider}"
+ itemLabel="#{mobileProvider.providerCountry.countryExternalDialPrefix}#{mobileProvider.providerDialPrefix} (#{mobileProvider.providerName})"
+ />
</p:selectOneMenu>
</h:panelGroup>
filter="true"
filterMatchMode="contains"
>
+
<f:selectItem itemValue="#{null}" itemLabel="#{msg.PLEASE_SELECT}" noSelectionOption="true" itemDisabled="true" />
- <f:selectItems value="#{dataController.profileModes}" var="profileMode" itemValue="#{profileMode}" itemLabel="#{msg[profileMode.messageKey]}" />
+
+ <f:selectItems
+ value="#{dataController.profileModes}"
+ var="profileMode"
+ itemValue="#{profileMode}"
+ itemLabel="#{msg[profileMode.messageKey]}"
+ />
</p:selectOneMenu>
</p:panelGrid>
</p:fieldset>
requiredMessage="#{requiredMessage}"
>
<f:converter converterId="CountryConverter" />
+
<f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" rendered="#{empty allowNull or allowNull}" />
- <f:selectItems value="#{countryController.allCountries()}" var="country" itemValue="#{country}" itemLabel="#{country.countryCode} (#{msg[country.countryI18nKey]})" />
+
+ <f:selectItems
+ value="#{countryController.allCountries()}"
+ var="country"
+ itemValue="#{country}"
+ itemLabel="#{country.countryCode} (#{msg[country.countryI18nKey]})"
+ />
</p:selectOneMenu>
</ui:composition>
requiredMessage="#{msg.FIELD_PERSONAL_TITLE_REQUIRED}"
rendered="#{empty rendered or rendered == true}"
>
- <f:selectItems value="#{genderController.selectableGenders}" var="personalTitle" itemValue="#{personalTitle}" itemLabel="#{msg[personalTitle.messageKey]}" />
+
+ <f:selectItems
+ value="#{genderController.selectableGenders}"
+ var="personalTitle"
+ itemValue="#{personalTitle}"
+ itemLabel="#{msg[personalTitle.messageKey]}"
+ />
</p:selectOneRadio>
</ui:composition>
filter="true"
filterMatchMode="contains"
>
+
<f:selectItem itemValue="#{null}" itemLabel="#{msg.PLEASE_SELECT}" noSelectionOption="true" itemDisabled="true" />
- <f:selectItems value="#{dataController.profileModes}" var="profileMode" itemValue="#{profileMode}" itemLabel="#{msg[profileMode.messageKey]}" />
+
+ <f:selectItems
+ value="#{dataController.profileModes}"
+ var="profileMode"
+ itemValue="#{profileMode}"
+ itemLabel="#{msg[profileMode.messageKey]}"
+ />
</p:selectOneMenu>
<p:message for="personalTitle" />
filter="true"
filterMatchMode="contains"
>
+
<f:converter converterId="UserConverter" />
+
<f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
- <f:selectItems value="#{userController.allUsers()}" var="companyUserOwner" itemValue="#{companyUserOwner}" itemLabel="#{companyUserOwner.userContact.contactFirstName} #{companyUserOwner.userContact.contactFamilyName} (#{companyUserOwner.userName})" />
+
+ <f:selectItems
+ value="#{userController.allUsers()}"
+ var="companyUserOwner"
+ itemValue="#{companyUserOwner}"
+ itemLabel="#{beanHelper.renderContact(companyUserOwner.userContact)} (#{companyUserOwner.userName})"
+ />
</p:selectOneMenu>
<p:outputLabel for="companyContactEmployee" value="#{msg.ADMIN_SELECT_BASIC_DATA_COMPANY_CONTACT_EMPLOYEE}" />
filter="true"
filterMatchMode="contains"
>
+
<f:converter converterId="EmployeeConverter" />
+
<f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
- <f:selectItems value="#{employeeController.allEmployees()}" var="companyEmployee" itemValue="#{companyEmployee}" itemLabel="#{beanHelper.renderEmployee(companyEmployee)}" />
+
+ <f:selectItems
+ value="#{employeeController.allEmployees()}"
+ var="companyEmployee"
+ itemValue="#{companyEmployee}"
+ itemLabel="#{beanHelper.renderEmployee(companyEmployee)}"
+ />
</p:selectOneMenu>
<p:outputLabel for="companyFounder" value="#{msg.ADMIN_SELECT_BASIC_DATA_COMPANY_FOUNDER}" />
filter="true"
filterMatchMode="contains"
>
+
<f:converter converterId="EmployeeConverter" />
+
<f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
- <f:selectItems value="#{employeeController.allEmployees()}" var="companyEmployee" itemValue="#{companyEmployee}" itemLabel="#{beanHelper.renderEmployee(companyEmployee)}" />
+
+ <f:selectItems
+ value="#{employeeController.allEmployees()}"
+ var="companyEmployee"
+ itemValue="#{companyEmployee}"
+ itemLabel="#{beanHelper.renderEmployee(companyEmployee)}"
+ />
</p:selectOneMenu>
<p:outputLabel for="companyHeadquarter" value="#{msg.ADMIN_SELECT_BASIC_DATA_COMPANY_HEADQUARTER}" />
filter="true"
filterMatchMode="contains"
>
+
<f:converter converterId="HeadquarterConverter" />
+
<f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
- <f:selectItems value="#{headquarterController.allHeadquarter()}" var="headquarter" itemValue="#{headquarter}" itemLabel="#{beanHelper.renderHeadquarter(headquarter)}" />
+
+ <f:selectItems
+ value="#{headquarterController.allHeadquarter()}"
+ var="headquarter"
+ itemValue="#{headquarter}"
+ itemLabel="#{beanHelper.renderHeadquarter(headquarter)}"
+ />
</p:selectOneMenu>
<p:outputLabel for="landLineCountry" value="#{msg.ADMIN_BASIC_DATA_PHONE_NUMBER}" />
required="true"
requiredMessage="#{msg.ADMIN_BRANCH_OFFICE_REQUIRED}"
>
+
<f:converter converterId="BasicCompanyDataConverter" />
+
<f:selectItem itemValue="#{null}" itemLabel="#{msg.PLEASE_SELECT}" noSelectionOption="true" itemDisabled="true" />
- <f:selectItems value="#{basicDataListController.allBasicData}" var="basicData" itemValue="#{basicData}" itemLabel="#{basicData.companyName}" />
+
+ <f:selectItems
+ value="#{basicDataListController.allBasicData}"
+ var="basicData"
+ itemValue="#{basicData}"
+ itemLabel="#{beanHelper.renderBasicData(basicData)}"
+ />
</p:selectOneMenu>
<p:outputLabel for="branchContactEmployee" value="#{msg.ADMIN_ASSIGN_BRANCH_OFFICE_CONTACT_EMPLOYEE}" />
filter="true"
filterMatchMode="contains"
>
+
<f:converter converterId="EmployeeConverter" />
+
<f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
- <f:selectItems value="#{employeeController.allEmployees()}" var="companyEmployee" itemValue="#{companyEmployee}" itemLabel="#{beanHelper.renderEmployee(companyEmployee)}" />
+
+ <f:selectItems
+ value="#{employeeController.allEmployees()}"
+ var="companyEmployee"
+ itemValue="#{companyEmployee}"
+ itemLabel="#{beanHelper.renderEmployee(companyEmployee)}"
+ />
</p:selectOneMenu>
<p:outputLabel for="branchOwner" value="#{msg.ADMIN_ASSIGN_BRANCH_OFFICE_OWNER}" />
filter="true"
filterMatchMode="contains"
>
+
<f:converter converterId="EmployeeConverter" />
+
<f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
- <f:selectItems value="#{employeeController.allEmployees()}" var="companyEmployee" itemValue="#{companyEmployee}" itemLabel="#{beanHelper.renderEmployee(companyEmployee)}" />
+
+ <f:selectItems
+ value="#{employeeController.allEmployees()}"
+ var="companyEmployee"
+ itemValue="#{companyEmployee}"
+ itemLabel="#{beanHelper.renderEmployee(companyEmployee)}"
+ />
</p:selectOneMenu>
<p:outputLabel for="branchUserOwner" value="#{msg.ADMIN_ASSIGN_BRANCH_OFFICE_USER_OWNER}" />
filter="true"
filterMatchMode="contains"
>
+
<f:converter converterId="UserConverter" />
+
<f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
- <f:selectItems value="#{userController.allUsers()}" var="branchUserOwner" itemValue="#{branchUserOwner}" itemLabel="#{branchUserOwner.userContact.contactFirstName} #{branchUserOwner.userContact.contactFamilyName} (#{branchUserOwner.userName})" />
+
+ <f:selectItems
+ value="#{userController.allUsers()}"
+ var="branchUserOwner"
+ itemValue="#{branchUserOwner}"
+ itemLabel="#{beanHelper.renderContact(branchUserOwner.userContact)} (#{branchUserOwner.userName})"
+ />
</p:selectOneMenu>
<p:outputLabel for="branchEmailAddress" value="#{msg.ADMIN_ENTER_BRANCH_OFFICE_EMAIL_ADDRESS}" />
required="true"
requiredMessage="#{msg.ADMIN_START_WEEK_DAY_REQUIRED}"
>
+
<f:converter converterId="DayOfTheWeekConverter" />
+
<f:selectItem itemValue="#{null}" itemLabel="#{msg.PLEASE_SELECT}" noSelectionOption="true" itemDisabled="true" />
- <f:selectItems value="#{dataController.dayOfTheWeek}" var="dayOfWeek" itemValue="#{dayOfWeek}" itemLabel="#{dayOfWeek.toString()}" />
+
+ <f:selectItems
+ value="#{dataController.dayOfTheWeek}"
+ var="dayOfWeek"
+ itemValue="#{dayOfWeek}"
+ itemLabel="#{dayOfWeek.toString()}"
+ />
</p:selectOneMenu>
<p:selectOneMenu
required="true"
requiredMessage="#{msg.ADMIN_END_WEEK_DAY_REQUIRED}"
>
+
<f:converter converterId="DayOfTheWeekConverter" />
+
<f:selectItem itemValue="#{null}" itemLabel="#{msg.PLEASE_SELECT}" noSelectionOption="true" itemDisabled="true" />
- <f:selectItems value="#{dataController.dayOfTheWeek}" var="dayOfWeek" itemValue="#{dayOfWeek}" itemLabel="#{dayOfWeek.toString()}" />
+
+ <f:selectItems
+ value="#{dataController.dayOfTheWeek}"
+ var="dayOfWeek"
+ itemValue="#{dayOfWeek}"
+ itemLabel="#{dayOfWeek.toString()}"
+ />
</p:selectOneMenu>
<p:calendar
required="true"
requiredMessage="#{msg.ADMIN_DEPARTMENT_COMPANY_REQUIRED}"
>
+
<f:converter converterId="BasicCompanyDataConverter" />
+
<f:selectItem itemValue="#{null}" itemLabel="#{msg.PLEASE_SELECT}" noSelectionOption="true" itemDisabled="true" />
- <f:selectItems value="#{basicDataListController.allBasicData}" var="basicData" itemValue="#{basicData}" itemLabel="#{basicData.companyName}" />
+
+ <f:selectItems
+ value="#{basicDataListController.allBasicData}"
+ var="basicData"
+ itemValue="#{basicData}"
+ itemLabel="#{beanHelper.renderBasicData(basicData)}"
+ />
</p:selectOneMenu>
<p:outputLabel for="departmentBranchOffice" value="#{msg.ADMIN_ASSIGN_DEPARTMENT_BRANCH_OFFICE}" />
filterMatchMode="contains"
>
<f:converter converterId="BranchOfficeConverter" />
+
<f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
- <f:selectItems value="#{branchOfficeListController.allBranchOffices()}" var="branchOffice" itemValue="#{branchOffice}" itemLabel="#{beanHelper.renderBranchOffice(branchOffice)}" />
+
+ <f:selectItems
+ value="#{branchOfficeListController.allBranchOffices()}"
+ var="branchOffice"
+ itemValue="#{branchOffice}"
+ itemLabel="#{beanHelper.renderBranchOffice(branchOffice)}"
+ />
</p:selectOneMenu>
<p:outputLabel for="departmentHeadquarter" value="#{msg.ADMIN_ASSIGN_DEPARTMENT_HEADQUARTER}" />
filter="true"
filterMatchMode="contains"
>
+
<f:converter converterId="HeadquarterConverter" />
+
<f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
- <f:selectItems value="#{headquarterController.allHeadquarter()}" var="headquarter" itemValue="#{headquarter}" itemLabel="#{beanHelper.renderHeadquarter(headquarter)}" />
+
+ <f:selectItems
+ value="#{headquarterController.allHeadquarter()}"
+ var="headquarter"
+ itemValue="#{headquarter}"
+ itemLabel="#{beanHelper.renderHeadquarter(headquarter)}"
+ />
</p:selectOneMenu>
<p:outputLabel for="departmentLead" value="#{msg.ADMIN_ASSIGN_DEPARTMENT_LEAD_EMPLOYEE}" />
filter="true"
filterMatchMode="contains"
>
+
<f:converter converterId="EmployeeConverter" />
+
<f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
- <f:selectItems value="#{employeeController.allEmployees()}" var="employee" itemValue="#{employee}" itemLabel="#{beanHelper.renderEmployee(employee)}" />
+
+ <f:selectItems
+ value="#{employeeController.allEmployees()}"
+ var="employee"
+ itemValue="#{employee}"
+ itemLabel="#{beanHelper.renderEmployee(employee)}"
+ />
</p:selectOneMenu>
<p:outputLabel for="departmentUserOwner" value="#{msg.ADMIN_ASSIGN_DEPARTMENT_USER_OWNER}" />
filter="true"
filterMatchMode="contains"
>
+
<f:converter converterId="UserConverter" />
+
<f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
- <f:selectItems value="#{userController.allUsers()}" var="departmentUserOwner" itemValue="#{departmentUserOwner}" itemLabel="#{departmentUserOwner.userContact.contactFirstName} #{departmentUserOwner.userContact.contactFamilyName} (#{departmentUserOwner.userName})" />
+
+ <f:selectItems
+ value="#{userController.allUsers()}"
+ var="departmentUserOwner"
+ itemValue="#{departmentUserOwner}"
+ itemLabel="#{beanHelper.renderContact(departmentUserOwner.userContact)} (#{departmentUserOwner.userName})"
+ />
</p:selectOneMenu>
</p:panelGrid>
</p:fieldset>
required="true"
requiredMessage="#{msg.ADMIN_EMPLOYEE_COMPANY_REQUIRED}"
>
+
<f:converter converterId="BasicCompanyDataConverter" />
+
<f:selectItem itemValue="#{null}" itemLabel="#{msg.PLEASE_SELECT}" noSelectionOption="true" itemDisabled="true" />
- <f:selectItems value="#{basicDataListController.allBasicData}" var="basicData" itemValue="#{basicData}" itemLabel="#{basicData.companyName}" />
+
+ <f:selectItems
+ value="#{basicDataListController.allBasicData}"
+ var="basicData"
+ itemValue="#{basicData}"
+ itemLabel="#{basicData.companyName}"
+ />
</p:selectOneMenu>
<p:outputLabel for="employeeBranchOffice" value="#{msg.ADMIN_ASSIGN_EMPLOYEE_BRANCH_OFFICE}" />
filter="true"
filterMatchMode="contains"
>
+
<f:converter converterId="BranchOfficeConverter" />
+
<f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
- <f:selectItems value="#{branchOfficeListController.allBranchOffices()}" var="branchOffice" itemValue="#{branchOffice}" itemLabel="#{beanHelper.renderBranchOffice(branchOffice)}" />
+
+ <f:selectItems
+ value="#{branchOfficeListController.allBranchOffices()}"
+ var="branchOffice"
+ itemValue="#{branchOffice}"
+ itemLabel="#{beanHelper.renderBranchOffice(branchOffice)}"
+ />
</p:selectOneMenu>
<p:outputLabel for="employeePersonalData" value="#{msg.ADMIN_ASSIGN_EMPLOYEE_PERSONAL_DATA}" />
filter="true"
filterMatchMode="contains"
>
+
<f:converter converterId="ContactConverter" />
+
<f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
- <f:selectItems value="#{contactController.allContacts()}" var="contact" itemValue="#{contact}" itemLabel="#{beanHelper.renderContact(contact)}" />
+
+ <f:selectItems
+ value="#{contactController.allContacts()}"
+ var="contact"
+ itemValue="#{contact}"
+ itemLabel="#{beanHelper.renderContact(contact)}"
+ />
</p:selectOneMenu>
<p:outputLabel for="employeeUserOwner" value="#{msg.ADMIN_ASSIGN_EMPLOYEE_USER_OWNER}" />
filter="true"
filterMatchMode="contains"
>
+
<f:converter converterId="UserConverter" />
+
<f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
- <f:selectItems value="#{userController.allUsers()}" var="employeeUserOwner" itemValue="#{employeeUserOwner}" itemLabel="#{employeeUserOwner.userContact.contactFirstName} #{employeeUserOwner.userContact.contactFamilyName} (#{employeeUserOwner.userName})" />
+
+ <f:selectItems
+ value="#{userController.allUsers()}"
+ var="employeeUserOwner"
+ itemValue="#{employeeUserOwner}"
+ itemLabel="#{beanHelper.renderContact(employeeUserOwner.userContact)} (#{employeeUserOwner.userName})"
+ />
</p:selectOneMenu>
<p:outputLabel for="employeeEmailAddress" value="#{msg.ADMIN_ENTER_EMPLOYEE_EMAIL_ADDRESS}" />
filter="true"
filterMatchMode="contains"
>
+
<f:converter converterId="DepartmentConverter" />
+
<f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
- <f:selectItems value="#{departmentController.allDepartments()}" var="department" itemValue="#{department}" itemLabel="#{beanHelper.renderDepartment(department)}" />
+
+ <f:selectItems
+ value="#{departmentController.allDepartments()}"
+ var="department"
+ itemValue="#{department}"
+ itemLabel="#{beanHelper.renderDepartment(department)}"
+ />
</p:selectOneMenu>
<p:outputLabel for="employeeHeadquarter" value="#{msg.ADMIN_ASSIGN_EMPLOYEE_HEADQUARTER}" />
filter="true"
filterMatchMode="contains"
>
+
<f:converter converterId="HeadquarterConverter" />
+
<f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
- <f:selectItems value="#{headquarterController.allHeadquarter()}" var="headquarter" itemValue="#{headquarter}" itemLabel="#{beanHelper.renderHeadquarter(headquarter)}" />
+
+ <f:selectItems
+ value="#{headquarterController.allHeadquarter()}"
+ var="headquarter"
+ itemValue="#{headquarter}"
+ itemLabel="#{beanHelper.renderHeadquarter(headquarter)}"
+ />
</p:selectOneMenu>
<p:outputLabel for="mobileNumber" value="#{msg.ADMIN_ENTER_EMPLOYEE_MOBILE_NUMBER}" />
<div class="table-right-medium">
<p:selectOneMenu styleClass="select" id=" " value="#{adminPhoneController.faxNumber}">
<f:converter converterId="FaxNumberConverter" />
+
<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}" />
+
+ <f:selectItems
+ value="#{adminPhoneController.allNonLinkedFaxNumbers()}"
+ var="faxNumber"
+ itemValue="#{faxNumber}"
+ itemLabel="#{faxNumber.phoneCountry.countryExternalDialPrefix} (#{faxNumber.phoneAreaCode}) #{faxNumber.phoneNumber}"
+ />
</p:selectOneMenu>
</div>
</h:panelGroup>
filter="true"
filterMatchMode="contains"
>
+
<f:converter converterId="EmployeeConverter" />
+
<f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
- <f:selectItems value="#{employeeController.allEmployees()}" var="companyEmployee" itemValue="#{companyEmployee}" itemLabel="#{beanHelper.renderEmployee(companyEmployee)}" />
+
+ <f:selectItems
+ value="#{employeeController.allEmployees()}"
+ var="companyEmployee"
+ itemValue="#{companyEmployee}"
+ itemLabel="#{beanHelper.renderEmployee(companyEmployee)}"
+ />
</p:selectOneMenu>
<p:outputLabel for="headquarterUserOwner" value="#{msg.ADMIN_ASSIGN_HEADQUARTER_USER_OWNER}" />
filter="true"
filterMatchMode="contains"
>
+
<f:converter converterId="UserConverter" />
+
<f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
- <f:selectItems value="#{userController.allUsers()}" var="headquarterUserOwner" itemValue="#{headquarterUserOwner}" itemLabel="#{headquarterUserOwner.userContact.contactFirstName} #{headquarterUserOwner.userContact.contactFamilyName} (#{headquarterUserOwner.userName})" />
+
+ <f:selectItems
+ value="#{userController.allUsers()}"
+ var="headquarterUserOwner"
+ itemValue="#{headquarterUserOwner}"
+ itemLabel="#{beanHelper.renderContact(headquarterUserOwner.userContact)} (#{headquarterUserOwner.userName})"
+ />
</p:selectOneMenu>
<p:outputLabel for="headquarterEmailAddress" value="#{msg.ADMIN_ENTER_HEADQUARTER_EMAIL_ADDRESS}" />
required="true"
requiredMessage="#{msg.ADMIN_START_WEEK_DAY_REQUIRED}"
>
+
<f:converter converterId="DayOfTheWeekConverter" />
+
<f:selectItem itemValue="#{null}" itemLabel="#{msg.PLEASE_SELECT}" noSelectionOption="true" itemDisabled="true" />
- <f:selectItems value="#{dataController.dayOfTheWeek}" var="dayOfWeek" itemValue="#{dayOfWeek}" itemLabel="#{dayOfWeek.toString()}" />
+
+ <f:selectItems
+ value="#{dataController.dayOfTheWeek}"
+ var="dayOfWeek"
+ itemValue="#{dayOfWeek}"
+ itemLabel="#{dayOfWeek.toString()}"
+ />
</p:selectOneMenu>
<p:selectOneMenu
required="true"
requiredMessage="#{msg.ADMIN_END_WEEK_DAY_REQUIRED}"
>
+
<f:converter converterId="DayOfTheWeekConverter" />
+
<f:selectItem itemValue="#{null}" itemLabel="#{msg.PLEASE_SELECT}" noSelectionOption="true" itemDisabled="true" />
- <f:selectItems value="#{dataController.dayOfTheWeek}" var="dayOfWeek" itemValue="#{dayOfWeek}" itemLabel="#{dayOfWeek.toString()}" />
+
+ <f:selectItems
+ value="#{dataController.dayOfTheWeek}"
+ var="dayOfWeek"
+ itemValue="#{dayOfWeek}"
+ itemLabel="#{dayOfWeek.toString()}"
+ />
</p:selectOneMenu>
<p:calendar
<div class="table-right-medium">
<p:selectOneMenu styleClass="select" id="landLineNumber" value="#{adminPhoneController.landLineNumber}">
<f:converter converterId="LandLineNumberConverter" />
+
<f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
- <f:selectItems value="#{adminPhoneController.allNonLinkedLandLineNumbers()}" var="landlineNumber" itemValue="#{landlineNumber}" itemLabel="#{landlineNumber.phoneCountry.countryExternalDialPrefix} (#{landlineNumber.phoneAreaCode}) #{landlineNumber.phoneNumber}" />
+
+ <f:selectItems
+ value="#{adminPhoneController.allNonLinkedLandLineNumbers()}"
+ var="landlineNumber"
+ itemValue="#{landlineNumber}"
+ itemLabel="#{landlineNumber.phoneCountry.countryExternalDialPrefix} (#{landlineNumber.phoneAreaCode}) #{landlineNumber.phoneNumber}"
+ />
</p:selectOneMenu>
</div>
</h:panelGroup>
<div class="table-right-medium">
<p:selectOneMenu styleClass="select" id="mobileNumber" value="#{adminPhoneController.mobileNumber}">
<f:converter converterId="MobileNumberConverter" />
+
<f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
- <f:selectItems value="#{adminPhoneController.allNonLinkedMobileNumbers()}" var="mobileNumber" itemValue="#{mobileNumber}" itemLabel="#{beanHelper.renderMobileNumber(mobileNumber)}" />
+
+ <f:selectItems
+ value="#{adminPhoneController.allNonLinkedMobileNumbers()}"
+ var="mobileNumber"
+ itemValue="#{mobileNumber}"
+ itemLabel="#{beanHelper.renderMobileNumber(mobileNumber)}"
+ />
</p:selectOneMenu>
</div>
</h:panelGroup>
required="true"
requiredMessage="#{msg.ADMIN_START_WEEK_DAY_REQUIRED}"
>
+
<f:converter converterId="DayOfTheWeekConverter" />
+
<f:selectItem itemValue="#{null}" itemLabel="#{msg.PLEASE_SELECT}" noSelectionOption="true" itemDisabled="true" />
- <f:selectItems value="#{dataController.dayOfTheWeek}" var="dayOfWeek" itemValue="#{dayOfWeek}" itemLabel="#{dayOfWeek.toString()}" />
+
+ <f:selectItems
+ value="#{dataController.dayOfTheWeek}"
+ var="dayOfWeek"
+ itemValue="#{dayOfWeek}"
+ itemLabel="#{dayOfWeek.toString()}"
+ />
</p:selectOneMenu>
<p:selectOneMenu
required="true"
requiredMessage="#{msg.ADMIN_END_WEEK_DAY_REQUIRED}"
>
+
<f:converter converterId="DayOfTheWeekConverter" />
+
<f:selectItem itemValue="#{null}" itemLabel="#{msg.PLEASE_SELECT}" noSelectionOption="true" itemDisabled="true" />
- <f:selectItems value="#{dataController.dayOfTheWeek}" var="dayOfWeek" itemValue="#{dayOfWeek}" itemLabel="#{dayOfWeek.toString()}" />
+
+ <f:selectItems
+ value="#{dataController.dayOfTheWeek}"
+ var="dayOfWeek"
+ itemValue="#{dayOfWeek}"
+ itemLabel="#{dayOfWeek.toString()}"
+ />
</p:selectOneMenu>
<p:calendar
<p:outputPanel styleClass="ui-g-12 ui-md-6">
<p:selectOneMenu value="#{localizationController.localeCode}">
<p:ajax update="master" />
+
<f:selectItem itemLabel="#{msg.SELECT_LANGUAGE}" noSelectionOption="true" itemDisabled="true" />
- <f:selectItems value="#{localizationController.supportedLocales}" var="locale" itemValue="#{locale}" itemLabel="#{msg[locale.toString().toUpperCase()]}" />
+
+ <f:selectItems
+ value="#{localizationController.supportedLocales}"
+ var="locale"
+ itemValue="#{locale}"
+ itemLabel="#{msg[locale.toString().toUpperCase()]}"
+ />
</p:selectOneMenu>
</p:outputPanel>
title="#{msg.FILTER_BY_MULTIPLE_EMPLOYEES_TITLE}"
>
<f:converter converterId="EmployeeConverter" />
- <f:selectItems value="#{employeeController.allEmployees()}" var="employee" itemValue="#{employee}" itemLabel="#{beanHelper.renderEmployee(employee)}" />
+
+ <f:selectItems
+ value="#{employeeController.allEmployees()}"
+ var="employee"
+ itemValue="#{employee}"
+ itemLabel="#{beanHelper.renderEmployee(employee)}"
+ />
</p:selectCheckboxMenu>
</f:facet>
title="#{msg.FILTER_BY_MULTIPLE_EMPLOYEES_TITLE}"
>
<f:converter converterId="EmployeeConverter" />
- <f:selectItems value="#{employeeController.allEmployees()}" var="employee" itemValue="#{employee}" itemLabel="#{beanHelper.renderEmployee(employee)}" />
+
+ <f:selectItems
+ value="#{employeeController.allEmployees()}"
+ var="employee"
+ itemValue="#{employee}"
+ itemLabel="#{beanHelper.renderEmployee(employee)}"
+ />
</p:selectCheckboxMenu>
</f:facet>
title="#{msg.FILTER_BY_MULTIPLE_USERS_TITLE}"
>
<f:converter converterId="UserConverter" />
- <f:selectItems value="#{userController.allUsers()}" var="user" itemValue="#{user}" itemLabel="#{user.userName}" />
+
+ <f:selectItems
+ value="#{userController.allUsers()}"
+ var="user"
+ itemValue="#{user}"
+ itemLabel="#{beanHelper.renderUser(user)}"
+ />
</p:selectCheckboxMenu>
</f:facet>
title="#{msg.FILTER_BY_MULTIPLE_COMPANIES_TITLE}"
>
<f:converter converterId="BasicCompanyDataConverter" />
- <f:selectItems value="#{basicDataListController.allBasicData}" var="basicData" itemValue="#{basicData}" itemLabel="#{basicData.companyName}" />
+
+ <f:selectItems
+ value="#{basicDataListController.allBasicData}"
+ var="basicData"
+ itemValue="#{basicData}"
+ itemLabel="#{beanHelper.renderBasicData(basicData)}"
+ />
</p:selectCheckboxMenu>
</f:facet>
title="#{msg.FILTER_BY_MULTIPLE_USERS_TITLE}"
>
<f:converter converterId="UserConverter" />
- <f:selectItems value="#{userController.allUsers()}" var="user" itemValue="#{user}" itemLabel="#{user.userName}" />
+
+ <f:selectItems
+ value="#{userController.allUsers()}"
+ var="user"
+ itemValue="#{user}"
+ itemLabel="#{beanHelper.renderUser(user)}"
+ />
</p:selectCheckboxMenu>
</f:facet>
title="#{msg.FILTER_BY_MULTIPLE_EMPLOYEES_TITLE}"
>
<f:converter converterId="EmployeeConverter" />
- <f:selectItems value="#{employeeController.allEmployees()}" var="employee" itemValue="#{employee}" itemLabel="#{beanHelper.renderEmployee(employee)}" />
+
+ <f:selectItems
+ value="#{employeeController.allEmployees()}"
+ var="employee"
+ itemValue="#{employee}"
+ itemLabel="#{beanHelper.renderEmployee(employee)}"
+ />
</p:selectCheckboxMenu>
</f:facet>
title="#{msg.FILTER_BY_MULTIPLE_COMPANIES_TITLE}"
>
<f:converter converterId="BasicCompanyDataConverter" />
- <f:selectItems value="#{basicDataListController.allBasicData}" var="basicData" itemValue="#{basicData}" itemLabel="#{basicData.companyName}" />
+
+ <f:selectItems
+ value="#{basicDataListController.allBasicData}"
+ var="basicData"
+ itemValue="#{basicData}"
+ itemLabel="#{beanHelper.renderBasicData(basicData)}"
+ />
</p:selectCheckboxMenu>
</f:facet>
title="#{msg.FILTER_BY_MULTIPLE_EMPLOYEES_TITLE}"
>
<f:converter converterId="BranchOfficeConverter" />
- <f:selectItems value="#{branchOfficeListController.allBranchOffices()}" var="branchOffice" itemValue="#{branchOffice}" itemLabel="#{beanHelper.renderBranchOffice(branchOffice)}" />
+
+ <f:selectItems
+ value="#{branchOfficeListController.allBranchOffices()}"
+ var="branchOffice"
+ itemValue="#{branchOffice}"
+ itemLabel="#{beanHelper.renderBranchOffice(branchOffice)}"
+ />
</p:selectCheckboxMenu>
</f:facet>
title="#{msg.FILTER_BY_MULTIPLE_EMPLOYEES_TITLE}"
>
<f:converter converterId="EmployeeConverter" />
- <f:selectItems value="#{employeeController.allEmployees()}" var="employee" itemValue="#{employee}" itemLabel="#{beanHelper.renderEmployee(employee)}" />
+
+ <f:selectItems
+ value="#{employeeController.allEmployees()}"
+ var="employee"
+ itemValue="#{employee}"
+ itemLabel="#{beanHelper.renderEmployee(employee)}"
+ />
</p:selectCheckboxMenu>
</f:facet>
title="#{msg.FILTER_BY_MULTIPLE_USERS_TITLE}"
>
<f:converter converterId="UserConverter" />
- <f:selectItems value="#{userController.allUsers()}" var="user" itemValue="#{user}" itemLabel="#{user.userName}" />
+
+ <f:selectItems
+ value="#{userController.allUsers()}"
+ var="user"
+ itemValue="#{user}"
+ itemLabel="#{beanHelper.renderUser(user)}"
+ />
</p:selectCheckboxMenu>
</f:facet>
title="#{msg.FILTER_BY_MULTIPLE_EMPLOYEES_TITLE}"
>
<f:converter converterId="BranchOfficeConverter" />
- <f:selectItems value="#{branchOfficeListController.allBranchOffices()}" var="branchOffice" itemValue="#{branchOffice}" itemLabel="#{beanHelper.renderBranchOffice(branchOffice)}" />
+
+ <f:selectItems
+ value="#{branchOfficeListController.allBranchOffices()}"
+ var="branchOffice"
+ itemValue="#{branchOffice}"
+ itemLabel="#{beanHelper.renderBranchOffice(branchOffice)}"
+ />
</p:selectCheckboxMenu>
</f:facet>
updateLabel="true" title="#{msg.FILTER_BY_MULTIPLE_USERS_TITLE}"
>
<f:converter converterId="UserConverter" />
- <f:selectItems value="#{userController.allUsers()}" var="user" itemValue="#{user}" itemLabel="#{user.userName}" />
+
+ <f:selectItems
+ value="#{userController.allUsers()}"
+ var="user"
+ itemValue="#{user}"
+ itemLabel="#{beanHelper.renderUser(user)}"
+ />
</p:selectCheckboxMenu>
</f:facet>
title="#{msg.FILTER_BY_MULTIPLE_COMPANIES_TITLE}"
>
<f:converter converterId="BasicCompanyDataConverter" />
- <f:selectItems value="#{basicDataListController.allBasicData}" var="basicData" itemValue="#{basicData}" itemLabel="#{basicData.companyName}" />
+
+ <f:selectItems
+ value="#{basicDataListController.allBasicData}"
+ var="basicData"
+ itemValue="#{basicData}"
+ itemLabel="#{beanHelper.renderBasicData(basicData)}"
+ />
</p:selectCheckboxMenu>
</f:facet>
title="#{msg.FILTER_BY_MULTIPLE_USERS_TITLE}"
>
<f:converter converterId="UserConverter" />
- <f:selectItems value="#{userController.allUsers()}" var="user" itemValue="#{user}" itemLabel="#{user.userName}" />
+
+ <f:selectItems
+ value="#{userController.allUsers()}"
+ var="user"
+ itemValue="#{user}"
+ itemLabel="#{beanHelper.renderUser(user)}"
+ />
</p:selectCheckboxMenu>
</f:facet>
title="#{msg.FILTER_BY_MULTIPLE_EMPLOYEES_TITLE}"
>
<f:converter converterId="EmployeeConverter" />
- <f:selectItems value="#{employeeController.allEmployees()}" var="employee" itemValue="#{employee}" itemLabel="#{beanHelper.renderEmployee(employee)}" />
+
+ <f:selectItems
+ value="#{employeeController.allEmployees()}"
+ var="employee"
+ itemValue="#{employee}"
+ itemLabel="#{beanHelper.renderEmployee(employee)}"
+ />
</p:selectCheckboxMenu>
</f:facet>
title="#{msg.FILTER_BY_MULTIPLE_WEEK_DAYS_TITLE}"
>
<f:converter converterId="DayOfTheWeekConverter" />
- <f:selectItems value="#{dataController.dayOfTheWeek}" var="dayOfWeek" itemValue="#{dayOfWeek}" itemLabel="#{dayOfWeek.toString()}" />
+
+ <f:selectItems
+ value="#{dataController.dayOfTheWeek}"
+ var="dayOfWeek"
+ itemValue="#{dayOfWeek}"
+ itemLabel="#{dayOfWeek.toString()}"
+ />
</p:selectCheckboxMenu>
</f:facet>
title="#{msg.FILTER_BY_MULTIPLE_WEEK_DAYS_TITLE}"
>
<f:converter converterId="DayOfTheWeekConverter" />
- <f:selectItems value="#{dataController.dayOfTheWeek}" var="dayOfWeek" itemValue="#{dayOfWeek}" itemLabel="#{dayOfWeek.toString()}" />
+
+ <f:selectItems
+ value="#{dataController.dayOfTheWeek}"
+ var="dayOfWeek"
+ itemValue="#{dayOfWeek}"
+ itemLabel="#{dayOfWeek.toString()}"
+ />
</p:selectCheckboxMenu>
</f:facet>
filterMatchMode="contains"
>
<f:converter converterId="ContactConverter" />
- <f:selectItems value="#{contactController.selectableContacts()}" var="contact" itemValue="#{contact}" itemLabel="#{contact.contactId}: #{msg[contact.contactPersonalTitle.messageKey]} #{contact.contactFirstName} #{contact.contactFamilyName}" />
+
+ <f:selectItems
+ value="#{contactController.selectableContacts()}"
+ var="contact"
+ itemValue="#{contact}"
+ itemLabel="#{beanHelper.renderContact(contact)}"
+ />
</p:selectOneMenu>
</p:panelGrid>
</p:fieldset>