1 <?xml version="1.0" encoding="UTF-8" ?>
3 xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:f="http://xmlns.jcp.org/jsf/core"
5 xmlns:h="http://xmlns.jcp.org/jsf/html"
6 xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
8 <h:outputText styleClass="errors" value="#{msg.ERROR_BEAN_HELPER_CONTACT_NOT_SET}" rendered="#{empty beanHelper.contact}" />
10 <h:form id="form_add_contact_fax" rendered="#{not empty beanHelper.contact}">
11 <h:panelGroup styleClass="table_medium" layout="block">
12 <div class="table_header">
13 <h:outputText value="#{msg.ADMIN_ADD_CONTACT_LAND_LINE_FORM_TITLE}" />
17 <ui:include src="/WEB-INF/templates/admin/contact/admin_contact_data_mini.tpl" />
20 <div class="table_row">
21 <div class="table_left_medium">
22 <h:outputLabel for="choosenLandLineNumber" value="#{msg.ADMIN_SELECT_LAND_LINE}" />
25 <div class="table_right_medium">
26 <h:selectOneMenu styleClass="select right_space" id="choosenLandLineNumber" value="#{adminPhoneController.choosenLandLineNumber}">
27 <f:converter converterId="LandLineConverter" />
28 <f:selectItem itemValue="" itemLabel="#{msg.NONE_SELECTED}" />
29 <f:selectItems value="#{adminPhoneController.allNonLinkedLandLineNumbers()}" var="faxNumber" itemValue="#{faxNumber}" itemLabel="#{faxNumber.faxProvider.providerCountry.countryExternalDialPrefix} (#{faxNumber.faxProvider.providerDialPrefix}) #{faxNumber.phoneNumber}" />
35 <h:outputText value="#{msg.ADMIN_OR_ENTER_CONTACT_NEW_LAND_LINE_DATA}" />
38 <div class="table_row">
39 <div class="table_left_medium">
40 <h:outputLabel for="faxNumber" value="#{msg.ADMIN_PERSONAL_DATA_LAND_LINE_NUMBER}" />
43 <div class="table_right_medium">
44 <ui:include src="/WEB-INF/templates/generic/landline_selection_box.tpl">
45 <ui:param name="targetController" value="#{adminPhoneController}" />
50 <div class="table_footer">
51 <h:commandButton styleClass="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
52 <h:commandButton styleClass="submit" type="submit" action="#{adminContactPhoneController.doLinkAddLandLine(beanHelper.contact)}" value="#{msg.BUTTON_ADMIN_LINK_ADD_CONTACT_LAND_LINE}" />