1 <?xml version="1.0" encoding="UTF-8" ?>
3 xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:widgets="http://mxchange.org/jsf/core/widgets"
5 xmlns:f="http://xmlns.jcp.org/jsf/core"
6 xmlns:h="http://xmlns.jcp.org/jsf/html"
7 xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
9 <widgets:outputMessageBox message="#{msg.ERROR_BEAN_HELPER_CONTACT_NOT_SET}" styleClass="errors" rendered="#{empty beanHelper.contact}" />
11 <h:form id="form_add_contact_mobile" rendered="#{not empty beanHelper.contact}">
12 <h:panelGroup styleClass="table_medium" layout="block">
13 <div class="table_header">
14 <h:outputText value="#{msg.ADMIN_ADD_CONTACT_MOBILE_NUMBER_FORM_TITLE}" />
18 <ui:include src="/WEB-INF/templates/admin/contact/admin_contact_data_mini.tpl" />
21 <h:panelGroup styleClass="table_row" layout="block">
22 <div class="table_left_medium">
23 <h:outputLabel for="mobileNumber" value="#{msg.ADMIN_SELECT_MOBILE_NUMBER}" />
26 <div class="table_right_medium">
27 <h:selectOneMenu styleClass="select right_space" id="mobileNumber" value="#{adminPhoneController.mobileNumber}">
28 <f:converter converterId="MobileNumberConverter" />
29 <f:selectItem itemValue="" itemLabel="#{msg.NONE_SELECTED}" />
30 <f:selectItems value="#{adminPhoneController.allNonLinkedMobileNumbers()}" var="mobileNumber" itemValue="#{mobileNumber}" itemLabel="#{mobileNumber.mobileProvider.providerCountry.countryExternalDialPrefix} (#{mobileNumber.mobileProvider.providerDialPrefix}) #{mobileNumber.phoneNumber}" />
36 <h:outputText value="#{msg.ADMIN_OR_ENTER_CONTACT_NEW_MOBILE_DATA}" />
39 <h:panelGroup styleClass="table_row" layout="block">
40 <div class="table_left_medium">
41 <h:outputLabel for="mobileNumber" value="#{msg.ADMIN_PERSONAL_DATA_MOBILE_NUMBER}" />
44 <div class="table_right_medium">
45 <ui:include src="/WEB-INF/templates/input_fields/mobile_input_fields.tpl">
46 <ui:param name="targetController" value="#{adminPhoneController}" />
51 <div class="table_footer">
52 <h:commandButton styleClass="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
54 <h:commandButton styleClass="submit" id="submit_add_link_contact_mobile" type="submit" action="#{adminContactPhoneController.doLinkAddMobileNumber(beanHelper.contact)}" value="#{msg.BUTTON_ADMIN_LINK_ADD_CONTACT_MOBILE_NUMBER}">
55 <f:param name="contactId" value="#{param.contactId}" />