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:core="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"
8 xmlns:p="http://primefaces.org/ui">
10 <ui:define name="metadata">
12 <f:viewParam name="phoneId" value="#{beanHelper.faxNumber}" converter="FaxNumberConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_PHONE_ID_NOT_SET}" converterMessage="#{msg.PARAMETER_CONTACT_ID_INVALID}" />
13 <f:viewAction onPostback="true" action="#{beanHelper.notifyControllerFaxNumberConverted()}" />
17 <ui:define name="document_admin_title">
18 <h:outputText value="#{msg.PAGE_TITLE_ADMIN_SHOW_FAX_NUMBER}" />
21 <ui:define name="content_header">
22 <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_SHOW_FAX_NUMBER}" />
25 <ui:define name="content">
26 <core:outputAdminFaxPanelGrid faxNumber="#{beanHelper.faxNumber}" />
28 <p:dataTable id="contact_fax_link" var="contact" value="#{contactPhoneController.allCurrentFaxNumberContacts()}" summary="#{msg.TABLE_SUMMARY_ADMIN_SHOW_ADMINISTRATIVE_LINKS}" tableStyleClass="table table-medium">
29 <f:facet name="header">
30 <h:outputFormat value="#{msg.ADMIN_HEADER_SHOW_FAX_NUMBER_LINKS}">
31 <f:param value="#{beanHelper.faxNumber.phoneId}" />
36 <p:outputLabel for="contactId" styleClass="table-data-label" value="#{msg.ADMIN_CONTACT_ID}" />
38 <p:link id="contactId" styleClass="table-data-field" outcome="admin_show_contact" value="#{contact.contactId}">
39 <f:param name="contactId" value="#{contact.contactId}" />
44 <p:outputLabel for="contactPersonalTitle" styleClass="table-data-label" value="#{msg.ADMIN_CONTACT_PERSONAL_TITLE}" />
46 <h:outputText id="contactPersonalTitle" styleClass="table-data-field" value="#{msg[contact.contactPersonalTitle.messageKey]}" />
50 <p:outputLabel for="contactTitle" styleClass="table-data-label" value="#{msg.ADMIN_CONTACT_ACADEMIC_TITLE}" />
52 <h:outputText id="contactTitle" styleClass="table-data-field" value="#{contact.contactTitle}" />
56 <p:outputLabel for="contactFirstName" styleClass="table-data-label" value="#{msg.ADMIN_CONTACT_FIRST_NAME}" />
58 <h:outputText id="contactFirstName" styleClass="table-data-field" value="#{contact.contactFirstName}" />
62 <p:outputLabel for="contactFamilyName" styleClass="table-data-label" value="#{msg.ADMIN_CONTACT_FAMILY_NAME}" />
64 <h:outputText id="contactFamilyName" styleClass="table-data-field" value="#{contact.contactFamilyName}" />
68 <p:outputLabel for="contactEmailAddress" styleClass="table-data-label" value="#{msg.DATA_EMAIL_ADDRESS}" />
70 <h:outputLink id="contactEmailAddress" styleClass="table-data-field" value="mailto:#{contact.contactEmailAddress}">
71 <h:outputText value="#{contact.contactEmailAddress}" />
76 <p:outputLabel styleClass="table-data-label" value="#{msg.ADMIN_UNLINK_DATA}" />
78 <div class="table-data-field">
79 <ul class="navbar-mini">
80 <li class="navlink-mini">
81 <p:link outcome="admin_unlink_contact_fax">
82 <h:outputText styleClass="link-warning" value="#{msg.ADMIN_LINK_UNLINK_SHORT}" title="#{msg.ADMIN_LINK_UNLINK_FAX_NUMBER_CONTACT_TITLE}" />
83 <f:param name="phoneId" value="#{beanHelper.faxNumber.phoneId}" />
84 <f:param name="contactId" value="#{contact.contactId}" />