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"
7 xmlns:p="http://primefaces.org/ui"
10 <h:panelGroup styleClass="para notice" layout="block">
11 <h:outputText value="#{msg.ADMIN_COUNTRY_DATA_MINIMUM_NOTICE}" />
14 <h:panelGroup styleClass="para" layout="block">
15 <fieldset class="fieldset">
16 <legend title="#{msg.ADMIN_COUNTRY_PHONE_DATA_LEGEND_TITLE}">
17 <h:outputText value="#{msg.ADMIN_COUNTRY_PHONE_DATA_LEGEND}" />
20 <h:panelGroup styleClass="table-row" layout="block">
21 <div class="table-left-medium">
22 <p:outputLabel for="countryAbroadDialPrefix" value="#{msg.ADMIN_ENTER_COUNTRY_ABROAD_DIAL_PREFIX}" />
25 <div class="table-right-medium">
27 id="countryAbroadDialPrefix"
30 value="#{adminCountryController.countryAbroadDialPrefix}"
32 requiredMessage="#{msg.ADMIN_COUNTRY_ABROAD_DIAL_PREFIX_REQUIRED}"
34 <f:validator validatorId="AbroadDialValidator" />
39 <h:panelGroup styleClass="error-container" layout="block">
40 <p:message for="countryAbroadDialPrefix" />
43 <h:panelGroup styleClass="table-row" layout="block">
44 <div class="table-left-medium">
45 <p:outputLabel for="countryCode" value="#{msg.ADMIN_ENTER_COUNTRY_CODE}" />
48 <div class="table-right-medium">
53 value="#{adminCountryController.countryCode}"
56 <f:validateRegex for="countryCode" pattern="[A-Z]{2}" />
59 <h:outputText styleClass="small notice" value="#{msg.ADMIN_ENTER_COUNTRY_CODE_EXAMPLE}" />
63 <h:panelGroup styleClass="error-container" layout="block">
64 <p:message for="countryCode" />
67 <h:panelGroup styleClass="table-row" layout="block">
68 <div class="table-left-medium">
69 <p:outputLabel for="countryI18nKey" value="#{msg.ADMIN_ENTER_COUNTRY_I18N_KEY}" />
72 <div class="table-right-medium">
76 value="#{adminCountryController.countryI18nKey}"
78 requiredMessage="#{msg.ADMIN_COUNTRY_I18N_KEY_REQUIRED}"
80 <f:validateRegex for="countryI18nKey" pattern="[A-Z_]{2,}" />
85 <h:panelGroup styleClass="error-container" layout="block">
86 <p:message for="countryI18nKey" />
89 <h:panelGroup styleClass="table-row" layout="block">
90 <div class="table-left-medium">
91 <p:outputLabel for="countryIsLocalPrefixRequired" value="#{msg.ADMIN_SELECT_COUNTRY_IS_EXTERNAL_DIAL_PREFIX_REQUIRED}" />
94 <div class="table-right-medium">
97 id="countryIsLocalPrefixRequired"
98 value="#{adminCountryController.countryIsLocalPrefixRequired}"
101 <f:selectItem itemValue="true" itemLabel="#{msg.CHOICE_YES}" />
102 <f:selectItem itemValue="false" itemLabel="#{msg.CHOICE_NO}" />
103 </h:selectOneListbox>
107 <h:panelGroup styleClass="error-container" layout="block">
108 <p:message for="countryIsLocalPrefixRequired" />
111 <h:panelGroup styleClass="table-row" layout="block">
112 <div class="table-left-medium">
113 <p:outputLabel for="countryExternalDialPrefix" value="#{msg.ADMIN_ENTER_COUNTRY_EXTERNAL_DIAL_PREFIX}" />
116 <div class="table-right-medium">
118 id="countryExternalDialPrefix"
121 value="#{adminCountryController.countryExternalDialPrefix}"
123 requiredMessage="#{msg.ADMIN_COUNTRY_EXTERNAL_DIAL_PREFIX_REQUIRED}"
125 <f:validateLongRange minimum="0" maximum="99" />
130 <h:panelGroup styleClass="error-container" layout="block">
131 <p:message for="countryAbroadDialPrefix" />
134 <h:panelGroup styleClass="table-row" layout="block">
135 <div class="table-left-medium">
136 <p:outputLabel for="countryPhoneCode" value="#{msg.ADMIN_ENTER_COUNTRY_PHONE_CODE}" />
139 <div class="table-right-medium">
141 id="countryPhoneCode"
144 value="#{adminCountryController.countryPhoneCode}"
146 requiredMessage="#{msg.ADMIN_COUNTRY_PHONE_CODE_REQUIRED}"
148 <f:validateLongRange minimum="0" maximum="999" />
151 <h:outputText styleClass="small notice" value="#{msg.ADMIN_ENTER_COUNTRY_PHONE_CODE_EXAMPLE}" />
155 <h:panelGroup styleClass="error-container" layout="block">
156 <p:message for="countryPhoneCode" />