<ui:composition
template="/WEB-INF/templates/admin/admin_base.tpl"
xmlns="http://www.w3.org/1999/xhtml"
- xmlns:links="http://mxchange.org/jsf/core/links"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:f="http://xmlns.jcp.org/jsf/core"
filterable="false"
sortable="false"
>
- <links:outputCountryAdminDropdownMenu country="#{country}" />
+ <p:menuButton value="#{msg.OPTIONS}">
+ <p:menuitem
+ outcome="admin_show_country"
+ value="#{msg.ADMIN_LINK_SHOW_SHORT}"
+ title="#{msg.ADMIN_LINK_SHOW_COUNTRY_TITLE}"
+ >
+ <f:param name="countryId" value="#{country.countryId}" />
+ </p:menuitem>
+
+ <p:menuitem
+ outcome="admin_edit_country"
+ value="#{msg.ADMIN_LINK_EDIT_SHORT}"
+ title="#{msg.ADMIN_LINK_EDIT_COUNTRY_TITLE}"
+ >
+ <f:param name="countryId" value="#{country.countryId}" />
+ </p:menuitem>
+
+ <p:menuitem outcome="admin_delete_country">
+ <h:outputText
+ styleClass="link-danger"
+ value="#{msg.ADMIN_LINK_DELETE_SHORT}"
+ title="#{msg.ADMIN_LINK_DELETE_COUNTRY_TITLE}"
+ />
+ <f:param name="countryId" value="#{country.countryId}" />
+ </p:menuitem>
+ </p:menuButton>
</p:column>
</p:dataTable>