-<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
lang="#{localizationController.language}" xml:lang="#{localizationController.language}"
<p:dataTable id="table_export_contacts" var="contact" value="#{contactController.allContacts()}" tableStyleClass="table_big" paginator="true" rows="10" summary="#{msg.TABLE_SUMMARY_ADMIN_EXPORT_CONTACT}" rendered="#{contactController.hasContacts()}">
<p:column exportable="false">
<f:facet name="header">
- <h:outputText value="#{msg.ADMIN_CONTACT_ID}" />
+ <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_ID}" />
</f:facet>
<h:link outcome="admin_show_contact" title="#{msg.ADMIN_LINK_SHOW_CONTACT_TITLE}" value="#{contact.contactId}">
<p:column>
<f:facet name="header">
- <h:outputText value="#{msg.ADMIN_CONTACT_GENDER}" />
+ <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_GENDER}" />
</f:facet>
<h:outputText value="#{msg[contact.contactGender.messageKey]}" />
<p:column>
<f:facet name="header">
- <h:outputText value="#{msg.ADMIN_CONTACT_TITLE}" />
+ <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_TITLE}" />
</f:facet>
<h:outputText value="#{contact.contactTitle}" />
<p:column>
<f:facet name="header">
- <h:outputText value="#{msg.ADMIN_CONTACT_FIRST_NAME}" />
+ <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_FIRST_NAME}" />
</f:facet>
<h:outputText value="#{contact.contactFirstName}" />
<p:column>
<f:facet name="header">
- <h:outputText value="#{msg.ADMIN_CONTACT_FAMILY_NAME}" />
+ <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_FAMILY_NAME}" />
</f:facet>
<h:outputText value="#{contact.contactFamilyName}" />
<p:column>
<f:facet name="header">
- <h:outputText value="#{msg.ADMIN_CONTACT_STREET}" />
+ <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_STREET}" />
</f:facet>
<h:outputText value="#{contact.contactStreet}" />
<p:column>
<f:facet name="header">
- <h:outputText value="#{msg.ADMIN_CONTACT_HOUSE_NUMBER}" />
+ <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_HOUSE_NUMBER}" />
</f:facet>
<h:outputText value="#{contact.contactHouseNumber}" />
<p:column>
<f:facet name="header">
- <h:outputText value="#{msg.ADMIN_CONTACT_COUNTRY_CODE}" />
+ <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_COUNTRY_CODE}" />
</f:facet>
<h:outputText value="#{contact.contactCountry.countryCode}" />
<p:column>
<f:facet name="header">
- <h:outputText value="#{msg.ADMIN_CONTACT_ZIP_CODE}" />
+ <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_ZIP_CODE}" />
</f:facet>
<h:outputText value="#{contact.contactZipCode}" />
<p:column>
<f:facet name="header">
- <h:outputText value="#{msg.ADMIN_CONTACT_CITY}" />
+ <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_CITY}" />
</f:facet>
<h:outputText value="#{contact.contactCity}" />
<p:column>
<f:facet name="header">
- <h:outputText value="#{msg.ADMIN_CONTACT_EMAIL_ADDRESS}" />
+ <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_EMAIL_ADDRESS}" />
</f:facet>
<h:outputText value="#{contact.contactEmailAddress}" />
<p:column>
<f:facet name="header">
- <h:outputText value="#{msg.ADMIN_CONTACT_BIRTHDAY}" />
+ <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_BIRTHDAY}" />
</f:facet>
<h:outputText id="contactBirthday" value="#{contact.contactBirthday}">
<p:column>
<f:facet name="header">
- <h:outputText value="#{msg.ADMIN_CONTACT_CELLPHONE_NUMBER}" />
+ <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_CELLPHONE_NUMBER}" />
</f:facet>
<h:outputText value="#{adminContactController.generateCellphoneNumber(contact.contactCellphoneNumber)}" />
<p:column>
<f:facet name="header">
- <h:outputText value="#{msg.ADMIN_CONTACT_LANDLINE_NUMBER}" />
+ <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_LANDLINE_NUMBER}" />
</f:facet>
<h:outputText value="#{adminContactController.generatePhoneNumber(contact.contactLandLineNumber)}" />
<p:column>
<f:facet name="header">
- <h:outputText value="#{msg.ADMIN_CONTACT_FAX_NUMBER}" />
+ <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_FAX_NUMBER}" />
</f:facet>
<h:outputText value="#{adminContactController.generatePhoneNumber(contact.contactFaxNumber)}" />
<p:column>
<f:facet name="header">
- <h:outputText value="#{msg.ADMIN_CONTACT_CREATED}" />
+ <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_CREATED}" />
</f:facet>
<h:outputText id="contactCreated" value="#{contact.contactCreated.time}">
<div class="table_medium">
<div class="table_header">
- #{msg.ADMIN_EXPORT_CONTACTS_TITLE}
+ <h:outputText value="#{msg.ADMIN_EXPORT_CONTACTS_TITLE}" />
</div>
<div class="para">
</div>
<div class="table_footer">
- <h:commandButton styleClass="submit" type="submit" id="export_contacts" value="#{msg.BUTTON_ADMIN_EXPORT_CONTACTS_CSV}">
- <p:dataExporter type="csv" target="table_export_contacts" fileName="all_contacts" />
+ <h:commandButton styleClass="submit" type="submit" id="export_contacts_xls" value="#{msg.BUTTON_ADMIN_EXPORT_CONTACTS_XLS}">
+ <p:dataExporter type="xls" target="table_export_contacts" fileName="all_contacts" />
</h:commandButton>
</div>
</div>