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:f="http://java.sun.com/jsf/core"
6 xmlns:h="http://java.sun.com/jsf/html"
7 xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
8 xmlns:p="http://primefaces.org/ui"
11 <h:panelGroup styleClass="para notice" layout="block">
12 <h:outputText value="#{msg.PERSONAL_DATA_MINIMUM_NOTICE}" />
15 <h:panelGroup styleClass="para" layout="block">
16 <fieldset class="fieldset">
17 <legend title="#{msg.PERSONAL_DATA_LEGEND_TITLE}">
18 <h:outputText value="#{msg.PERSONAL_DATA_LEGEND}" />
21 <core:outputPersonalTitleSelectionBox targetController="#{contactController}" />
23 <h:panelGroup styleClass="table-row" layout="block">
24 <div class="table-left-medium">
25 <p:outputLabel for="firstName" value="#{msg.PERSONAL_DATA_FIRST_NAME}" />
28 <div class="table-right-medium">
29 <p:inputText id="firstName" size="10" maxlength="255" value="#{contactController.firstName}" required="true" requiredMessage="#{msg.GUEST_CONTACT_DATA_FIRST_NAME_REQUIRED}">
30 <f:validator validatorId="NameValidator" />
35 <h:panelGroup styleClass="error-container" layout="block">
36 <p:message for="firstName" />
39 <h:panelGroup styleClass="table-row" layout="block">
40 <div class="table-left-medium">
41 <p:outputLabel for="familyName" value="#{msg.PERSONAL_DATA_FAMILY_NAME}" />
44 <div class="table-right-medium">
45 <p:inputText id="familyName" size="10" maxlength="255" value="#{contactController.familyName}" required="true" requiredMessage="#{msg.GUEST_CONTACT_DATA_FAMILY_NAME_REQUIRED}">
46 <f:validator for="familyName" validatorId="NameValidator" />
51 <h:panelGroup styleClass="error-container" layout="block">
52 <p:message for="familyName" />
55 <h:panelGroup styleClass="table-row" layout="block">
56 <div class="table-left-medium">
57 <p:outputLabel for="street" value="#{msg.DATA_STREET_NAME}" />
60 <div class="table-right-medium">
61 <p:inputText id="street" size="20" maxlength="255" value="#{contactController.street}" required="true" requiredMessage="#{msg.GUEST_CONTACT_DATA_STREET_REQUIRED}">
62 <f:validator validatorId="NameValidator" />
67 <h:panelGroup styleClass="error-container" layout="block">
68 <p:message for="street" />
71 <h:panelGroup styleClass="table-row" layout="block">
72 <div class="table-left-medium">
73 <p:outputLabel for="houseNumber" value="#{msg.DATA_HOUSE_NUMBER}" />
76 <div class="table-right-medium">
77 <p:inputText id="houseNumber" size="3" maxlength="5" value="#{contactController.houseNumber}" required="true" requiredMessage="#{msg.GUEST_CONTACT_DATA_HOUSE_NUMBER_REQUIRED}" validatorMessage="#{msg.ENTERED_HOUSE_NUMBER_INVALID}">
78 <f:validateLongRange minimum="1" maximum="500" />
83 <h:panelGroup styleClass="error-container" layout="block">
84 <p:message for="houseNumber" />
87 <h:panelGroup styleClass="table-row" layout="block">
88 <div class="table-left-medium">
89 <p:outputLabel for="houseNumberExtension" value="#{msg.DATA_HOUSE_NUMBER_EXTENSION}" />
92 <div class="table-right-medium">
93 <p:inputText id="houseNumberExtension" size="2" maxlength="2" value="#{contactController.houseNumberExtension}" />
97 <h:panelGroup styleClass="error-container" layout="block">
98 <p:message for="houseNumberExtension" />
101 <h:panelGroup styleClass="table-row" layout="block">
102 <div class="table-left-medium">
103 <p:outputLabel for="zipCode" value="#{msg.DATA_ZIP_CODE}" />
106 <div class="table-right-medium">
107 <p:inputText id="zipCode" size="5" maxlength="6" value="#{contactController.zipCode}" required="true" requiredMessage="#{msg.GUEST_CONTACT_DATA_ZIP_CODE_REQUIRED}" validatorMessage="#{msg.ENTERED_ZIP_CODE_INVALID}">
108 <f:validateLongRange minimum="1" maximum="99999" />
113 <h:panelGroup styleClass="error-container" layout="block">
114 <p:message for="zipCode" />
117 <h:panelGroup styleClass="table-row" layout="block">
118 <div class="table-left-medium">
119 <p:outputLabel for="city" value="#{msg.DATA_CITY}" />
122 <div class="table-right-medium">
123 <p:inputText id="city" size="10" maxlength="255" value="#{contactController.city}" required="true" requiredMessage="#{msg.GUEST_CONTACT_DATA_CITY_REQUIRED}">
124 <f:validator validatorId="NameValidator" />
129 <h:panelGroup styleClass="error-container" layout="block">
130 <p:message for="city" />
133 <h:panelGroup styleClass="table-row" layout="block">
134 <div class="table-left-medium">
135 <p:outputLabel for="birthday" value="#{msg.PERSONAL_DATA_BIRTHDAY}" />
138 <div class="table-right-medium">
141 value="#{contactController.birthday}"
142 pattern="#{msg.DATE_PATTERN}"
145 requiredMessage="#{msg.GUEST_CONTACT_DATA_BIRTHDAY_REQUIRED}"
150 <h:panelGroup styleClass="error-container" layout="block">
151 <p:message for="birthday" />
154 <h:panelGroup styleClass="table-row" layout="block">
155 <div class="table-left-medium">
156 <p:outputLabel for="country" value="#{msg.PERSONAL_DATA_COUNTRY_CODE}" />
159 <div class="table-right-medium">
160 <core:outputCountrySelector id="country" value="#{contactController.country}" />
164 <h:panelGroup styleClass="error-container" layout="block">
165 <p:message for="country" />
168 <h:panelGroup styleClass="table-row" layout="block">
169 <div class="table-left-medium">
170 <p:outputLabel for="landLineNumber" value="#{msg.PERSONAL_DATA_PHONE_NUMBER}" />
173 <div class="table-right-medium">
174 <core:outputCountrySelector styleClass="select" id="landLineCountry" value="#{contactController.landLineCountry}" />
176 <p:inputText id="landLineAreaCode" size="5" maxlength="10" value="#{contactController.landLineAreaCode}">
177 <f:validator validatorId="PhoneNumberValidator" />
180 <p:inputText id="landLineNumber" size="10" maxlength="20" value="#{contactController.landLineNumber}">
181 <f:validator validatorId="PhoneNumberValidator" />
186 <h:panelGroup styleClass="error-container" layout="block">
187 <p:message for="landLineAreaCode" />
190 <h:panelGroup styleClass="error-container" layout="block">
191 <p:message for="landLineNumber" />
194 <h:panelGroup styleClass="table-row" layout="block">
195 <div class="table-left-medium">
196 <p:outputLabel for="faxNumber" value="#{msg.PERSONAL_DATA_FAX_NUMBER}" />
199 <div class="table-right-medium">
200 <core:outputCountrySelector styleClass="select" id="faxCountry" value="#{contactController.faxCountry}" />
202 <p:inputText id="faxAreaCode" size="5" maxlength="10" value="#{contactController.faxAreaCode}">
203 <f:validator for="faxAreaCode" validatorId="PhoneNumberValidator" />
206 <p:inputText id="faxNumber" size="10" maxlength="20" value="#{contactController.faxNumber}">
207 <f:validator for="faxNumber" validatorId="PhoneNumberValidator" />
212 <h:panelGroup styleClass="error-container" layout="block">
213 <p:message for="faxAreaCode" />
216 <h:panelGroup styleClass="error-container" layout="block">
217 <p:message for="faxNumber" />
220 <p:outputLabel for="mobileNumber" value="#{msg.PERSONAL_DATA_MOBILE_NUMBER}" />
221 <core:inputMobileNumberPanelGrid targetController="#{contactController}" />
225 <h:panelGroup styleClass="para" layout="block" rendered="#{featureController.isFeatureEnabled('public_user_profile')}">
226 <fieldset class="fieldset">
227 <legend title="#{msg.USER_PROFILE_LEGEND_TITLE}">
228 <h:outputText value="#{msg.USER_PROFILE_LEGEND}" />
231 <core:outputProfileModeTableRow targetController="#{userController}" labelMessage="#{msg.USER_PROFILE_MODE}" />
233 <h:panelGroup styleClass="table-row" layout="block">
234 <div class="para notice">
236 <li><h:outputText value="#{msg.SELECTION_NOTICE_USER_PROFILE_MODE_INVISIBLE}" /></li>
237 <li><h:outputText value="#{msg.SELECTION_NOTICE_USER_PROFILE_MODE_MEMBERS}" /></li>
238 <li><h:outputText value="#{msg.SELECTION_NOTICE_USER_PROFILE_MODE_PUBLIC}" /></li>