1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition template="/WEB-INF/templates/admin/admin_base.tpl"
3 xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:links="http://mxchange.org/jsf/core/links"
5 xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
6 xmlns:h="http://xmlns.jcp.org/jsf/html"
7 xmlns:f="http://xmlns.jcp.org/jsf/core"
8 xmlns:p="http://primefaces.org/ui">
10 <ui:define name="document_admin_title">
11 <h:outputText value="#{msg.PAGE_TITLE_ADMIN_LIST_COUNTRY}" />
14 <ui:define name="content_header">
15 <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_LIST_COUNTRY}" />
18 <ui:define name="content">
19 <h:form id="form-list-countries">
21 id="table-list-countries"
23 value="#{countryController.allCountries()}"
24 tableStyleClass="table table-full"
27 summary="#{msg.TABLE_SUMMARY_ADMIN_LIST_COUNTRIES}"
28 emptyMessage="#{msg.ADMIN_EMPTY_LIST_COUNTRY}"
29 widgetVar="countryList"
32 <f:facet name="header">
33 <h:outputText value="#{msg.ADMIN_HEADER_ID_NUMBER}" />
36 <p:link outcome="admin_show_country" title="#{msg.ADMIN_LINK_SHOW_COUNTRY_TITLE}" value="#{country.countryId}">
37 <f:param name="countryId" value="#{country.countryId}" />
42 <f:facet name="header">
43 <h:outputText value="#{msg.ADMIN_LIST_COUNTRY_DATA_COUNTRY_CODE}" />
46 <h:outputText value="#{country.countryCode}" />
50 <f:facet name="header">
51 <h:outputText value="#{msg.ADMIN_LIST_COUNTRY_DATA_COUNTRY_EXTERNAL_DIAL_PREFIX}" />
54 <h:outputText value="#{country.countryExternalDialPrefix}" />
58 <f:facet name="header">
59 <h:outputText value="#{msg.ADMIN_LIST_COUNTRY_DATA_COUNTRY_NAME}" />
62 <h:outputText value="#{msg[country.countryI18nKey]}" />
66 <f:facet name="header">
67 <h:outputText value="#{msg.ADMIN_HEADER_ACTION_LINKS}" />
70 <links:outputCountryAdminMiniLinks country="#{country}" />
76 <h:panelGroup styleClass="table table-full" layout="block">
77 <div class="table-header">
78 <h:outputText value="#{msg.ADMIN_ADD_COUNTRY_TITLE}" />
81 <ui:include src="/WEB-INF/templates/admin/country/admin_form_country_data.tpl" />
83 <div class="table-footer">
87 value="#{msg.BUTTON_RESET_FORM}"
92 value="#{msg.BUTTON_ADMIN_ADD_COUNTRY}"
93 action="#{adminCountryController.addCountry()}"
94 update=":master:form-list-countries:table-list-countries"
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>