1 <?xml version="1.0" encoding="UTF-8" ?>
3 xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:core="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"
8 xmlns:p="http://primefaces.org/ui"
11 <core:outputMessageBox
12 panelGroupId="errorHandlerAddMobileContact"
13 message="#{msg.ERROR_BEAN_HELPER_CONTACT_NOT_SET}"
14 messageStyleClass="alert-danger"
15 rendered="#{empty beanHelper.contact}"
18 <h:form rendered="#{not empty beanHelper.contact}">
19 <h:panelGroup layout="block">
20 <div class="table-header">
21 <h:outputText value="#{msg.ADMIN_ADD_CONTACT_MOBILE_NUMBER_FORM_TITLE}" />
25 <ui:include src="/WEB-INF/templates/admin/contact/admin_contact_data_mini.tpl" />
32 <p:outputLabel for="mobileNumber" value="#{msg.ADMIN_SELECT_MOBILE_NUMBER}" />
35 value="#{adminMobileController.mobileNumber}">
37 <f:converter converterId="MobileNumberConverter" />
41 itemLabel="#{msg.NONE_SELECTED}"
45 value="#{adminMobileController.allNonLinkedMobileNumbers}"
47 itemValue="#{mobileNumber}"
48 itemLabel="#{beanHelper.renderMobileNumber(mobileNumber)}"
54 <h:outputText value="#{msg.ADMIN_OR_ENTER_CONTACT_NEW_MOBILE_DATA}" />
57 <p:outputLabel for="mobileNumber" value="#{msg.ADMIN_PERSONAL_DATA_MOBILE_NUMBER}" />
58 <core:inputMobileNumberPanelGrid targetController="#{adminMobileController}" />
66 value="#{msg.BUTTON_RESET_FORM}"
71 action="#{adminContactMobileController.doLinkAddMobileNumber(beanHelper.contact)}"
72 value="#{msg.BUTTON_ADMIN_LINK_ADD_CONTACT_MOBILE_NUMBER}"
74 <f:param name="contactId" value="#{param.contactId}" />