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 <div class="para notice">
9 #{msg.ADMIN_COUNTRY_DATA_MINIMUM_NOTICE}
13 <fieldset id="country_data">
14 <legend title="#{msg.ADMIN_COUNTRY_PHONE_DATA_LEGEND_TITLE}">
15 <h:outputText value="#{msg.ADMIN_COUNTRY_PHONE_DATA_LEGEND}" />
18 <div class="table_row">
19 <div class="table_left_medium">
20 <h:outputLabel for="countryAbroadDialPrefix" value="#{msg.ADMIN_ENTER_COUNTRY_ABROAD_DIAL_PREFIX}" />
23 <div class="table_right_medium">
24 <h:inputText styleClass="input" id="countryAbroadDialPrefix" size="2" maxlength="10" value="#{adminCountryController.countryAbroadDialPrefix}" required="true">
25 <f:validateLongRange for="countryAbroadDialPrefix" minimum="0" maximum="99" />
29 <div class="clear"></div>
32 <div class="table_row">
33 <div class="table_left_medium">
34 <h:outputLabel for="countryCode" value="#{msg.ADMIN_ENTER_COUNTRY_CODE}" />
37 <div class="table_right_medium">
38 <h:inputText styleClass="input" id="countryCode" size="2" maxlength="2" value="#{adminCountryController.countryCode}" required="true">
39 <f:validateRegex for="countryCode" pattern="[A-Z]{2}" />
42 <h:outputText styleClass="small notice" value="#{msg.ADMIN_ENTER_COUNTRY_CODE_EXAMPLE}" />
45 <div class="clear"></div>
48 <div class="table_row">
49 <div class="table_left_medium">
50 <h:outputLabel for="countryI18nKey" value="#{msg.ADMIN_ENTER_COUNTRY_I18N_KEY}" />
53 <div class="table_right_medium">
54 <h:inputText styleClass="input" id="countryI18nKey" size="20" maxlength="100" value="#{adminCountryController.countryI18nKey}" required="true">
55 <f:validateRegex for="countryI18nKey" pattern="[A-Z_]{2,}" />
59 <div class="clear"></div>
62 <div class="table_row">
63 <div class="table_left_medium">
64 <h:outputLabel for="countryIsLocalPrefixRequired" value="#{msg.ADMIN_SELECT_COUNTRY_IS_EXTERNAL_DIAL_PREFIX_REQUIRED}" />
67 <div class="table_right_medium">
68 <h:selectOneListbox styleClass="select" required="true" id="countryIsLocalPrefixRequired" value="#{adminCountryController.countryIsLocalPrefixRequired}" size="1">
69 <f:selectItem itemValue="true" itemLabel="#{msg.CHOICE_YES}" />
70 <f:selectItem itemValue="false" itemLabel="#{msg.CHOICE_NO}" />
74 <div class="clear"></div>
77 <div class="table_row">
78 <div class="table_left_medium">
79 <h:outputLabel for="countryExternalDialPrefix" value="#{msg.ADMIN_ENTER_COUNTRY_EXTERNAL_DIAL_PREFIX}" />
82 <div class="table_right_medium">
83 <h:inputText styleClass="input" id="countryExternalDialPrefix" size="2" maxlength="10" value="#{adminCountryController.countryExternalDialPrefix}" required="true">
84 <f:validateLongRange for="countryAbroadDialPrefix" minimum="0" maximum="99" />
88 <div class="clear"></div>
91 <div class="table_row">
92 <div class="table_left_medium">
93 <h:outputLabel for="countryPhoneCode" value="#{msg.ADMIN_ENTER_COUNTRY_PHONE_CODE}" />
96 <div class="table_right_medium">
97 <h:inputText styleClass="input" id="countryPhoneCode" size="2" maxlength="6" value="#{adminCountryController.countryPhoneCode}" required="true">
98 <f:validateLongRange for="countryAbroadDialPrefix" minimum="0" maximum="99" />
101 <h:outputText styleClass="small notice" value="#{msg.ADMIN_ENTER_COUNTRY_PHONE_CODE_EXAMPLE}" />
104 <div class="clear"></div>