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 <ui:fragment rendered="#{empty targetController}">
9 <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
10 <ui:param name="message" value="#{msg.ERROR_PARAMETER_TARGET_CONTROLLER_NOT_SET}" />
11 <ui:param name="styleClass" value="errors" />
15 <ui:fragment rendered="#{not empty targetController}">
16 <h:selectOneMenu styleClass="select right_space" id="countryPhoneCode" value="#{targetController.phoneCountry}">
17 <f:converter converterId="CountryConverter" />
18 <f:selectItem itemValue="" itemLabel="#{msg.NONE_SELECTED}" />
19 <f:selectItems value="#{countryController.allCountries()}" var="country" itemValue="#{country}" itemLabel="#{country.countryAbroadDialPrefix}#{country.countryPhoneCode}" />
22 <h:inputText styleClass="input right_space" id="landLineAreaCode" size="5" maxlength="10" value="#{targetController.phoneAreaCode}">
23 <f:validator validatorId="PhoneNumberValidator" />
26 <h:inputText styleClass="input" id="landLineNumber" size="10" maxlength="20" value="#{targetController.phoneNumber}">
27 <f:validator validatorId="PhoneNumberValidator" />