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 panelGroupId="errorHelperContactAddFax" message="#{msg.ERROR_BEAN_HELPER_CONTACT_NOT_SET}" messageStyleClass="alert-danger" rendered="#{empty beanHelper.contact}" />
13 <h:form id="form_add_contact_fax" rendered="#{not empty beanHelper.contact}">
14 <h:panelGroup layout="block">
15 <div class="table-header">
16 <h:outputText value="#{msg.ADMIN_ADD_CONTACT_FAX_NUMBER_FORM_TITLE}" />
20 <ui:include src="/WEB-INF/templates/admin/contact/admin_contact_data_mini.tpl" />
23 <h:panelGroup styleClass="table-row" layout="block">
24 <div class="table-left-medium">
25 <p:outputLabel for="faxNumber" value="#{msg.ADMIN_SELECT_FAX_NUMBER}" />
28 <div class="table-right-medium">
29 <p:selectOneMenu styleClass="select" id=" " value="#{adminPhoneController.faxNumber}">
30 <f:converter converterId="FaxNumberConverter" />
32 <f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
35 value="#{adminPhoneController.allNonLinkedFaxNumbers()}"
37 itemValue="#{faxNumber}"
38 itemLabel="#{faxNumber.phoneCountry.countryExternalDialPrefix} (#{faxNumber.phoneAreaCode}) #{faxNumber.phoneNumber}"
45 <h:outputText value="#{msg.ADMIN_OR_ENTER_CONTACT_NEW_FAX_DATA}" />
48 <core:outputFaxInputTableRow targetController="#{adminContactPhoneController}" labelMessage="#{msg.ADMIN_PERSONAL_DATA_FAX_NUMBER}" />
50 <p:panelGrid columns="2" layout="grid">
53 value="#{msg.BUTTON_RESET_FORM}"
59 action="#{adminContactPhoneController.doLinkMainFaxNumber()}"
60 value="#{msg.BUTTON_ADMIN_LINK_ADD_CONTACT_FAX_NUMBER}"