1 <?xml version="1.0" encoding="UTF-8" ?>
3 xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:f="http://java.sun.com/jsf/core"
5 xmlns:h="http://java.sun.com/jsf/html"
6 xmlns:ui="http://java.sun.com/jsf/facelets">
8 <div class="para notice">
9 #{msg.PERSONAL_DATA_MINIMUM_NOTICE}
13 <fieldset id="personal_data">
14 <legend title="#{msg.PERSONAL_DATA_LEGEND_TITLE}">#{msg.PERSONAL_DATA_LEGEND}</legend>
16 <div class="table_row">
17 <div class="table_left">
18 <h:outputLabel for="gender" value="#{msg.PERSONAL_DATA_GENDER}" />
21 <div class="table_right">
22 <ui:include src="/WEB-INF/templates/generic/gender_selection_box.tpl" />
25 <div class="clear"></div>
28 <div class="table_row">
29 <div class="table_left">
30 <h:outputLabel for="firstName" value="#{msg.PERSONAL_DATA_FIRST_NAME}" />
33 <div class="table_right">
34 <h:inputText class="input" id="firstName" size="10" maxlength="255" value="#{userController.firstName}" required="true">
35 <f:validator validatorId="NameValidator" />
39 <div class="clear"></div>
42 <div class="table_row">
43 <div class="table_left">
44 <h:outputLabel for="familyName" value="#{msg.PERSONAL_DATA_FAMILY_NAME}" />
47 <div class="table_right">
48 <h:inputText class="input" id="familyName" size="10" maxlength="255" value="#{userController.familyName}" required="true">
49 <f:validator validatorId="NameValidator" />
53 <div class="clear"></div>
56 <div class="table_row">
57 <div class="table_left">
58 <h:outputLabel for="street" value="#{msg.PERSONAL_DATA_STREET}" />
61 <div class="table_right">
62 <h:inputText class="input" id="street" size="20" maxlength="255" value="#{userController.street}" required="true">
63 <f:validator validatorId="NameValidator" />
67 <div class="clear"></div>
70 <div class="table_row">
71 <div class="table_left">
72 <h:outputLabel for="houseNumber" value="#{msg.PERSONAL_DATA_HOUSE_NUMBER}" />
75 <div class="table_right">
76 <h:inputText class="input" id="houseNumber" size="3" maxlength="5" value="#{userController.houseNumber}" required="true">
77 <f:validateLongRange minimum="1" maximum="500" />
81 <div class="clear"></div>
84 <div class="table_row">
85 <div class="table_left">
86 <h:outputLabel for="zipCode" value="#{msg.PERSONAL_DATA_ZIP_CODE}" />
89 <div class="table_right">
90 <h:inputText class="input" id="zipCode" size="5" maxlength="6" value="#{userController.zipCode}" required="true" />
93 <div class="clear"></div>
96 <div class="table_row">
97 <div class="table_left">
98 <h:outputLabel for="city" value="#{msg.PERSONAL_DATA_CITY}" />
101 <div class="table_right">
102 <h:inputText class="input" id="city" size="10" maxlength="255" value="#{userController.city}" required="true">
103 <f:validator validatorId="NameValidator" />
107 <div class="clear"></div>
110 <div class="table_row">
111 <div class="table_left">
112 <h:outputLabel for="country" value="#{msg.PERSONAL_DATA_COUNTRY_CODE}" />
115 <div class="table_right">
116 <h:selectOneMenu class="select" id="country" value="#{userController.country}">
117 <f:selectItems value="#{country.allCountries()}" var="c" itemValue="#{c}" itemLabel="#{c.countryCode} (#{msg[c.countryI18nkey]})" />
121 <div class="clear"></div>
124 <div class="table_row">
125 <div class="table_left">
126 <h:outputLabel value="#{msg.PERSONAL_DATA_PHONE_NUMBER}" />
129 <div class="table_right">
130 <h:selectOneMenu class="select" id="phoneCountryCode" value="#{userController.phoneCountry}">
131 <f:selectItems value="#{country.allCountries()}" var="c" itemValue="#{c}" itemLabel="#{c.countryAbroadDialPrefix}#{c.countryPhoneCode}" />
134 <h:inputText class="input" id="phoneAreaCode" size="5" maxlength="10" value="#{userController.phoneAreaCode}">
135 <f:validator for="phoneAreaCode" validatorId="PhoneNumberValidator" />
138 <h:inputText class="input" id="phoneNumber" size="10" maxlength="20" value="#{userController.phoneNumber}">
139 <f:validator for="phoneNumber" validatorId="PhoneNumberValidator" />
143 <div class="clear"></div>
146 <div class="table_row">
147 <div class="table_left">
148 <h:outputLabel for="faxNumber" value="#{msg.PERSONAL_DATA_FAX_NUMBER}" />
151 <div class="table_right">
152 <h:selectOneMenu class="select" id="faxCountryCode" value="#{userController.faxCountry}">
153 <f:selectItems value="#{country.allCountries()}" var="c" itemValue="#{c}" itemLabel="#{c.countryAbroadDialPrefix}#{c.countryPhoneCode}" />
156 <h:inputText class="input" id="faxAreaCode" size="5" maxlength="10" value="#{userController.faxAreaCode}">
157 <f:validator for="faxAreaCode" validatorId="PhoneNumberValidator" />
160 <h:inputText class="input" id="faxNumber" size="10" maxlength="20" value="#{userController.faxNumber}">
161 <f:validator for="faxNumber" validatorId="PhoneNumberValidator" />
165 <div class="clear"></div>
168 <div class="table_row">
169 <div class="table_left">
170 <h:outputLabel for="cellphoneNumber" value="#{msg.PERSONAL_DATA_CELLPHONE_NUMBER}" />
173 <div class="table_right">
174 <h:selectOneMenu class="select" id="cellphoneCarrier" value="#{userController.cellphoneCarrier}">
175 <f:selectItems value="#{cellphone.allSmsProvider()}" var="c" itemValue="#{c}" itemLabel="#{c.countryAbroadDialPrefix}#{c.countryPhoneCode}" />
178 <h:inputText class="input" id="cellphoneNumber" size="10" maxlength="20" value="#{userController.cellphoneNumber}">
179 <f:validator for="cellphoneNumber" validatorId="PhoneNumberValidator" />
183 <div class="clear"></div>