- <h:selectOneMenu styleClass="select right_space" id="countryPhoneCode" value="#{adminPhoneController.phoneCountry}">
- <f:converter converterId="CountryConverter" />
- <f:selectItem itemValue="" itemLabel="#{msg.NONE_SELECTED}" />
- <f:selectItems value="#{countryController.allCountries()}" var="country" itemValue="#{country}" itemLabel="#{country.countryAbroadDialPrefix}#{country.countryPhoneCode}" />
- </h:selectOneMenu>
-
- <h:inputText styleClass="input right_space" id="landLineAreaCode" size="5" maxlength="10" value="#{adminPhoneController.phoneAreaCode}">
- <f:validator validatorId="PhoneNumberValidator" />
- </h:inputText>
-
- <h:inputText styleClass="input" id="landLineNumber" size="10" maxlength="20" value="#{adminPhoneController.phoneNumber}">
- <f:validator validatorId="PhoneNumberValidator" />
- </h:inputText>
+ <ui:include src="/WEB-INF/templates/input_fields/landline_input_fields.tpl">
+ <ui:param name="targetController" value="#{adminPhoneController}" />
+ </ui:include>