1 <?xml version="1.0" encoding="UTF-8" ?>
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"
12 <ui:define name="metadata">
14 <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}" />
15 <f:viewAction action="#{beanHelper.notifyControllerFaxNumberConverted()}" />
19 <ui:define name="document_admin_title">
20 <h:outputText value="#{msg.PAGE_TITLE_ADMIN_SHOW_FAX_NUMBER}" />
23 <ui:define name="content_header">
24 <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_SHOW_FAX_NUMBER}" />
27 <ui:define name="content">
28 <core:outputAdminFaxPanelGrid faxNumber="#{beanHelper.faxNumber}" />
33 value="#{contactPhoneController.allCurrentFaxNumberContacts()}"
34 summary="#{msg.TABLE_SUMMARY_ADMIN_SHOW_ADMINISTRATIVE_LINKS}"
36 <f:facet name="header">
37 <h:outputFormat value="#{msg.ADMIN_SHOW_FAX_NUMBER_LINKS_HEADER}">
38 <f:param value="#{beanHelper.faxNumber.phoneId}" />
43 <p:outputLabel for="contactId" styleClass="table-data-label" value="#{msg.ADMIN_CONTACT_ID}" />
45 <p:link id="contactId" styleClass="table-data-field" outcome="admin_show_contact" value="#{contact.contactId}">
46 <f:param name="contactId" value="#{contact.contactId}" />
51 <p:outputLabel for="contactPersonalTitle" styleClass="table-data-label" value="#{msg.ADMIN_CONTACT_PERSONAL_TITLE}" />
53 <h:outputText id="contactPersonalTitle" styleClass="table-data-field" value="#{msg[contact.contactPersonalTitle.messageKey]}" />
57 <p:outputLabel for="contactTitle" styleClass="table-data-label" value="#{msg.ADMIN_CONTACT_ACADEMIC_TITLE}" />
59 <h:outputText id="contactTitle" styleClass="table-data-field" value="#{contact.contactTitle}" />
63 <p:outputLabel for="contactFirstName" styleClass="table-data-label" value="#{msg.ADMIN_CONTACT_FIRST_NAME}" />
65 <h:outputText id="contactFirstName" styleClass="table-data-field" value="#{contact.contactFirstName}" />
69 <p:outputLabel for="contactFamilyName" styleClass="table-data-label" value="#{msg.ADMIN_CONTACT_FAMILY_NAME}" />
71 <h:outputText id="contactFamilyName" styleClass="table-data-field" value="#{contact.contactFamilyName}" />
75 <p:outputLabel for="contactEmailAddress" styleClass="table-data-label" value="#{msg.DATA_EMAIL_ADDRESS}" />
77 <h:outputLink id="contactEmailAddress" styleClass="table-data-field" value="mailto:#{contact.contactEmailAddress}">
78 <h:outputText value="#{contact.contactEmailAddress}" />
83 <p:outputLabel styleClass="table-data-label" value="#{msg.ADMIN_UNLINK_DATA}" />
85 <div class="table-data-field">
86 <ul class="navbar-mini">
87 <li class="navlink-mini">
88 <p:link outcome="admin_unlink_contact_fax">
89 <h:outputText styleClass="link-warning" value="#{msg.ADMIN_LINK_UNLINK_SHORT}" title="#{msg.ADMIN_LINK_UNLINK_FAX_NUMBER_CONTACT_TITLE}" />
90 <f:param name="phoneId" value="#{beanHelper.faxNumber.phoneId}" />
91 <f:param name="contactId" value="#{contact.contactId}" />