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:widgets="http://mxchange.org/jsf/core/widgets"
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">
9 <ui:define name="metadata">
11 <f:viewParam name="contactId" value="#{beanHelper.contact}" converter="ContactConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_CONTACT_ID_NOT_SET}" converterMessage="#{msg.PARAMETER_CONTACT_ID_INVALID}" />
12 <f:viewAction onPostback="true" action="#{beanHelper.notifyControllerContactConverted()}" />
16 <ui:define name="admin_title">
17 <h:outputText value="#{msg.PAGE_TITLE_ADMIN_DELETE_CONTACT}" />
20 <ui:define name="content_header">
21 <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_DELETE_CONTACT}" />
24 <ui:define name="content">
25 <widgets:outputMessageBox message="#{msg.ERROR_CONTACT_ID_NOT_FOUND}" messageStyleClass="alert-danger" rendered="#{empty beanHelper.contact}" />
27 <h:form id="form_admin_edit_user" rendered="#{not empty beanHelper.contact}">
28 <h:panelGroup styleClass="table" layout="block">
29 <div class="table-header">
30 <h:outputFormat value="#{msg.ADMIN_DELETE_CONTACT_TITLE}">
31 <f:param value="#{beanHelper.contact.contactId}" />
35 <div class="para notice">
36 <h:outputText value="#{msg.ADMIN_DELETE_CONTACT_NOTICE}" />
39 <ui:include src="/WEB-INF/templates/admin/contact/admin_show_contact_data.tpl" />
41 <div class="table-footer">
42 <h:commandButton styleClass="reset divider-right" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
43 <h:commandButton styleClass="button-danger" type="submit" id="delete_contact" value="#{msg.BUTTON_ADMIN_DELETE_CONTACT}" action="#{adminContactController.deleteContactData()}" />