]> git.mxchange.org Git - jjobs-war.git/blob - web/admin/contact/admin_contact_delete.xhtml
Updated copyright year
[jjobs-war.git] / web / admin / contact / admin_contact_delete.xhtml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition
3         template="/WEB-INF/templates/admin/admin_base.tpl"
4         xmlns="http://www.w3.org/1999/xhtml"
5         xmlns:core="http://mxchange.org/jsf/core/widgets"
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"
10         >
11
12         <ui:define name="metadata">
13                 <f:metadata>
14                         <f:viewParam
15                                 name="contactId"
16                                 value="#{adminContactController.contact}"
17                                 converter="ContactConverter"
18                                 required="true"
19                                 requiredMessage="#{msg.ERROR_PARAMETER_CONTACT_ID_NOT_SET}"
20                                 converterMessage="#{msg.PARAMETER_CONTACT_ID_INVALID}"
21                                 />
22                 </f:metadata>
23         </ui:define>
24
25         <ui:define name="document_admin_title">
26                 <h:outputText value="#{msg.PAGE_TITLE_ADMIN_DELETE_CONTACT}" />
27         </ui:define>
28
29         <ui:define name="content_header">
30                 <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_DELETE_CONTACT}" />
31         </ui:define>
32
33         <ui:define name="content">
34                 <h:form rendered="#{not empty beanHelper.contact}">
35                         <h:inputHidden value="#{adminContactController.contactId}" />
36
37                         <h:panelGroup styleClass="table" layout="block">
38                                 <div class="table-header">
39                                         <h:outputFormat value="#{msg.ADMIN_DELETE_CONTACT_TITLE}">
40                                                 <f:param value="#{beanHelper.contact.contactId}" />
41                                         </h:outputFormat>
42                                 </div>
43
44                                 <div class="para notice">
45                                         <h:outputText value="#{msg.ADMIN_DELETE_CONTACT_NOTICE}" />
46                                 </div>
47
48                                 <ui:include src="/WEB-INF/templates/admin/contact/admin_show_contact_data.tpl" />
49
50                                 <p:commandButton
51                                         type="submit"
52                                         value="#{msg.BUTTON_ADMIN_DELETE_CONTACT}"
53                                         action="#{adminContactController.deleteContactData()}"
54                                         />
55                                 </p:panelGrid>
56                 </h:form>
57         </ui:define>
58 </ui:composition>