1 <?xml version="1.0" encoding="UTF-8" ?>
3 template="/WEB-INF/templates/admin/admin_base.tpl"
4 xmlns="http://www.w3.org/1999/xhtml"
5 xmlns:links="http://mxchange.org/jsf/core/links"
6 xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
7 xmlns:h="http://xmlns.jcp.org/jsf/html"
8 xmlns:f="http://xmlns.jcp.org/jsf/core"
9 xmlns:p="http://primefaces.org/ui"
12 <ui:define name="document_admin_title">
13 <h:outputText value="#{msg.PAGE_TITLE_ADMIN_LIST_COUNTRY}" />
16 <ui:define name="content_header">
17 <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_LIST_COUNTRY}" />
20 <ui:define name="content">
21 <h:form id="form-list-countries">
25 value="#{countryController.allCountries()}"
28 summary="#{msg.TABLE_SUMMARY_ADMIN_LIST_COUNTRIES}"
29 emptyMessage="#{msg.ADMIN_EMPTY_LIST_COUNTRY}"
30 widgetVar="countryList"
33 <f:facet name="header">
34 <h:outputText value="#{msg.ID_HEADER}" />
37 <p:link outcome="admin_show_country" title="#{msg.ADMIN_LINK_SHOW_COUNTRY_TITLE}" value="#{country.countryId}">
38 <f:param name="countryId" value="#{country.countryId}" />
43 <f:facet name="header">
44 <h:outputText value="#{msg.ADMIN_LIST_COUNTRY_DATA_COUNTRY_CODE}" />
47 <h:outputText value="#{country.countryCode}" />
51 <f:facet name="header">
52 <h:outputText value="#{msg.ADMIN_LIST_COUNTRY_DATA_COUNTRY_EXTERNAL_DIAL_PREFIX}" />
55 <h:outputText value="#{country.countryExternalDialPrefix}" />
59 <f:facet name="header">
60 <h:outputText value="#{msg.ADMIN_LIST_COUNTRY_DATA_COUNTRY_NAME}" />
63 <h:outputText value="#{msg[country.countryI18nKey]}" />
67 <f:facet name="header">
68 <h:outputText value="#{msg.ADMIN_ACTION_LINKS_HEADER}" />
71 <links:outputCountryAdminDropdownMenu country="#{country}" />
77 <h:panelGroup layout="block">
78 <div class="table-header">
79 <h:outputText value="#{msg.ADMIN_ADD_COUNTRY_TITLE}" />
82 <ui:include src="/WEB-INF/templates/admin/country/admin_form_country_data.tpl" />
84 <p:panelGrid columns="2" layout="grid">
87 value="#{msg.BUTTON_RESET_FORM}"
92 value="#{msg.BUTTON_ADMIN_ADD_COUNTRY}"
93 action="#{adminCountryController.addCountry()}"
94 update=":master:form-list-countries:countryList"
99 <div class="para notice">
100 <h:outputText value="#{msg.ADMIN_ADD_COUNTRY_NOTICES}" />
102 <li><h:outputText value="#{msg.ADMIN_ADD_COUNTRY_I18N_KEY_NOTICE}" /></li>