1 <?xml version="1.0" encoding="UTF-8" ?>
3 xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:f="http://java.sun.com/jsf/core"
5 xmlns:h="http://java.sun.com/jsf/html"
6 xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
8 <h:outputText styleClass="errors" value="#{msg.ERROR_BEAN_HELPER_LAND_LINE_NUMBER_NOT_SET}" rendered="#{empty beanHelper.landLineNumber}" />
11 <fieldset class="fieldset" id="landline_data">
12 <legend title="#{msg.ADMIN_LAND_LINE_DATA_LEGEND_TITLE}">
13 <h:outputText value="#{msg.ADMIN_LAND_LINE_DATA_LEGEND}" />
16 <div class="table_row">
17 <div class="table_left_medium">
18 <h:outputLabel for="landLineNumberId" value="#{msg.ADMIN_SHOW_PHONE_ID}" />
21 <div class="table_right_medium">
22 <h:outputText id="landLineNumberId" value="#{beanHelper.landLineNumber.phoneId}" />
25 <div class="clear"></div>
28 <div class="table_row">
29 <div class="table_left_medium">
30 <h:outputLabel for="landLineNumber" value="#{msg.ADMIN_EDIT_LAND_LINE_NUMBER}" />
33 <div class="table_right_medium">
34 <h:selectOneMenu styleClass="select right_space" id="countryPhoneCode" value="#{adminPhoneController.phoneCountry}">
35 <f:converter converterId="CountryConverter" />
36 <f:selectItem itemValue="" itemLabel="#{msg.NONE_SELECTED}" />
37 <f:selectItems value="#{countryController.allCountries()}" var="country" itemValue="#{country}" itemLabel="#{country.countryAbroadDialPrefix}#{country.countryPhoneCode}" />
40 <h:inputText styleClass="input right_space" id="landLineAreaCode" size="5" maxlength="10" value="#{adminPhoneController.phoneAreaCode}">
41 <f:validator validatorId="PhoneNumberValidator" />
44 <h:inputText styleClass="input" id="landLineNumber" size="10" maxlength="20" value="#{adminPhoneController.phoneNumber}">
45 <f:validator validatorId="PhoneNumberValidator" />
49 <div class="clear"></div>
51 <div class="error_container">
52 <h:message for="landLineNumber" errorClass="errors" fatalClass="errors" warnClass="errors" />