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="errorHelperContactAddLandline"
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_LAND_LINE_NUMBER_FORM_TITLE}" />
25 <ui:include src="/WEB-INF/templates/admin/contact/admin_contact_data_mini.tpl" />
32 <p:outputLabel for="landLineNumber" value="#{msg.ADMIN_SELECT_LAND_LINE_NUMBER}" />
36 value="#{adminPhoneController.landLineNumber}"
38 <f:converter converterId="LandLineNumberConverter" />
42 itemLabel="#{msg.NONE_SELECTED}"
46 value="#{adminPhoneController.allNonLinkedLandLineNumbers}"
48 itemValue="#{landlineNumber}"
49 itemLabel="#{beanHelper.renderPhoneNumber(landlineNumber)}"
55 <h:outputText value="#{msg.ADMIN_OR_ENTER_CONTACT_NEW_LAND_LINE_DATA}" />
58 <core:outputLandLineInputTableRow targetController="#{adminPhoneController}" labelMessage="#{msg.ADMIN_PERSONAL_DATA_LAND_LINE_NUMBER}" />
60 <p:panelGrid columns="2" layout="grid">
63 value="#{msg.BUTTON_RESET_FORM}"
68 action="#{adminContactPhoneController.doLinkAddLandLineNumber(beanHelper.contact)}"
69 value="#{msg.BUTTON_ADMIN_LINK_ADD_CONTACT_LAND_LINE_NUMBER}"
71 <f:param name="contactId" value="#{param.contactId}" />