1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 lang="#{localizationController.language}" xml:lang="#{localizationController.language}"
5 xmlns="http://www.w3.org/1999/xhtml"
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"
12 <f:viewParam name="phoneId" value="#{adminContactPhoneController.cellPhone}" converter="CellphoneConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_PHONE_ID_NOT_SET}" />
15 <ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
16 <ui:define name="admin_title">#{msg.PAGE_TITLE_ADMIN_SHOW_CONTACT_CELLPHONE}</ui:define>
18 <ui:define name="content_header">
19 #{msg.CONTENT_TITLE_ADMIN_SHOW_CONTACT_CELLPHONE}
22 <ui:define name="content">
23 <ui:include src="/WEB-INF/templates/admin/cellphone/admin_cellphone_data.tpl">
24 <ui:param name="cellphoneNumber" value="#{adminContactPhoneController.cellPhone}" />
25 <ui:param name="isShowPage" value="#{true}" />
28 <h:dataTable id="contact_cellphone_link" var="contact" value="#{adminContactPhoneController.allCellphoneContacts()}" summary="#{msg.TABLE_SUMMARY_ADMIN_SHOW_CONTACT_CELLPHONE_LINKS}" headerClass="table_header_column" styleClass="table_medium">
29 <f:facet name="header">
30 <h:outputFormat value="#{msg.ADMIN_HEADER_SHOW_CONTACT_CELLPHONE_LINKS}">
31 <f:param value="#{adminContactPhoneController.cellPhone.phoneId}" />
36 <h:outputLabel for="contactId" styleClass="data_label" value="#{msg.ADMIN_CONTACT_ID}" />
38 <h:link id="contactId" styleClass="data_field" outcome="admin_show_contact">
39 <h:outputText value="#{contact.contactId}" />
40 <f:param name="contactId" value="#{contact.contactId}" />
45 <h:outputLabel for="contactGender" styleClass="data_label" value="#{msg.ADMIN_CONTACT_GENDER}" />
47 <h:outputText id="contactGender" styleClass="data_field" value="#{msg[contact.contactGender.messageKey]}" />
51 <h:outputLabel for="contactTitle" styleClass="data_label" value="#{msg.ADMIN_CONTACT_TITLE}" />
53 <h:outputText id="contactTitle" styleClass="data_field" value="#{contact.contactTitle}" />
57 <h:outputLabel for="contactFirstName" styleClass="data_label" value="#{msg.ADMIN_CONTACT_FIRST_NAME}" />
59 <h:outputText id="contactFirstName" styleClass="data_field" value="#{contact.contactFirstName}" />
63 <h:outputLabel for="contactFamilyName" styleClass="data_label" value="#{msg.ADMIN_CONTACT_FAMILY_NAME}" />
65 <h:outputText id="contactFamilyName" styleClass="data_field" value="#{contact.contactFamilyName}" />
69 <h:outputLabel for="contactEmailAddress" styleClass="data_label" value="#{msg.ADMIN_CONTACT_EMAIL_ADDRESS}" />
71 <h:outputLink id="contactEmailAddress" styleClass="data_field" value="mailto:#{contact.contactEmailAddress}">
72 <h:outputText value="#{contact.contactEmailAddress}" />
77 <h:outputLabel for="cellphoneLinks" styleClass="data_label" value="#{msg.ADMIN_SHOW_CELLPHONE_UNLINK}" />
79 <div id="cellphoneLinks" class="data_field">
81 <li class="mini_link">
82 <h:link outcome="admin_unlink_contact_cellphone">
83 <h:outputText styleClass="unlink_link" value="#{msg.ADMIN_LINK_UNLINK_SHORT}" title="#{msg.ADMIN_LINK_UNLINK_SHORT_TITLE}" />
84 <f:param name="phoneId" value="#{adminContactPhoneController.cellPhone.phoneId}" />
85 <f:param name="contactId" value="#{contact.contactId}" />