1 <?xml version="1.0" encoding="UTF-8" ?>
3 xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:core="http://mxchange.org/jsf/core/widgets"
5 xmlns:validator="http://mxchange.org/jsf/core/validators"
6 xmlns:f="http://xmlns.jcp.org/jsf/core"
7 xmlns:h="http://xmlns.jcp.org/jsf/html"
8 xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
9 xmlns:p="http://primefaces.org/ui"
12 legend="#{msg.ADMIN_CONTACT_PERSONAL_DATA_LEGEND}"
13 title="#{msg.ADMIN_CONTACT_PERSONAL_DATA_LEGEND_TITLE}"
18 columnClasses="ui-grid-col-4,ui-grid-col-8"
19 styleClass="ui-noborder"
21 <p:outputLabel for="personalTitle" value="#{msg.ADMIN_CONTACT_PERSONAL_TITLE}" />
22 <core:outputPersonalTitleSelectionBox targetController="#{adminContactController}" />
24 <p:outputLabel for="firstName" value="#{msg.ADMIN_PERSONAL_DATA_FIRST_NAME}" />
29 value="#{adminContactController.firstName}"
31 requiredMessage="#{msg.ADMIN_CONTACT_DATA_FIRST_NAME_REQUIRED}"
34 <p:outputLabel for="title" value="#{msg.ADMIN_PERSONAL_DATA_TITLE}" />
39 value="#{adminContactController.academicTitle}"
42 <p:outputLabel for="familyName" value="#{msg.ADMIN_PERSONAL_DATA_FAMILY_NAME}" />
47 value="#{adminContactController.familyName}"
49 requiredMessage="#{msg.ADMIN_CONTACT_DATA_FAMILY_NAME_REQUIRED}"
52 <p:outputLabel for="street" value="#{msg.ADMIN_DATA_STREET_NAME}" />
57 value="#{adminContactController.street}"
60 <p:outputLabel for="houseNumber" value="#{msg.ADMIN_DATA_HOUSE_NUMBER}" />
65 value="#{adminContactController.houseNumber}"
66 validatorMessage="#{msg.ENTERED_HOUSE_NUMBER_INVALID}"
68 <f:validateLongRange minimum="1" maximum="500" />
71 <p:outputLabel for="houseNumberExtension" value="#{msg.ADMIN_DATA_HOUSE_NUMBER_EXTENSION}" />
73 id="houseNumberExtension"
76 value="#{adminContactController.houseNumberExtension}"
79 <p:outputLabel for="zipCode" value="#{msg.DATA_ZIP_CODE}" />
84 value="#{adminContactController.zipCode}"
85 validatorMessage="#{msg.ENTERED_ZIP_CODE_INVALID}"
87 <f:validateLongRange minimum="1" maximum="99999" />
90 <p:outputLabel for="city" value="#{msg.ADMIN_DATA_CITY}" />
95 value="#{adminContactController.city}"
98 <p:outputLabel for="country" value="#{msg.ADMIN_SELECT_COUNTRY}" />
99 <core:outputCountrySelector
101 value="#{adminContactController.contactCountry}"
103 requiredMessage="#{msg.ADMIN_SELECT_CONTACT_COUNTRY_REQUIRED}"
106 <p:outputLabel for="landLineCountry" value="#{msg.ADMIN_PERSONAL_DATA_PHONE_NUMBER}" />
107 <core:inputLandLineNumberPanelGrid targetController="#{adminContactController}" />
109 <p:outputLabel for="faxCountry" value="#{msg.ADMIN_PERSONAL_DATA_FAX_NUMBER}" />
110 <core:inputFaxNumberPanelGrid targetController="#{adminContactController}" />
112 <p:outputLabel for="mobileNumber" value="#{msg.ADMIN_PERSONAL_DATA_MOBILE_NUMBER}" />
113 <core:inputMobileNumberPanelGrid targetController="#{adminContactController}" />
115 <p:outputLabel for="emailAddress" value="#{msg.DATA_EMAIL_ADDRESS}" />
120 value="#{adminContactController.emailAddress}"
121 validatorMessage="#{msg.ENTERED_EMAIL_ADDRESS_IS_INVALID}"
123 <validator:emailAddressValidator allowEmptyRequiredData="true" />
126 <p:outputLabel for="contactBirthday" value="#{msg.ADMIN_PERSONAL_DATA_BIRTHDAY}" />
129 value="#{contactController.birthday}"
130 title="#{msg.ADMIN_PERSONAL_DATA_BIRTHDAY_TITLE}"
131 pattern="#{msg.DATE_PATTERN}"
135 <p:outputLabel for="contactComment" value="#{msg.ADMIN_PERSONAL_DATA_COMMENT}" />
138 value="#{adminContactController.comment}"
145 <h:panelGroup styleClass="para notice" layout="block">
148 <h:outputText value="#{msg.ADMIN_CONTACT_DATA_EMAIL_ADDRESS_NOTICE}" />