]> git.mxchange.org Git - jjobs-war.git/blob - web/WEB-INF/resources/tags/admin/form_data/contact/admin_form_contact_data.tpl
769aef856726a7b8823933a2f58234e27300a9b9
[jjobs-war.git] / web / WEB-INF / resources / tags / admin / form_data / contact / admin_form_contact_data.tpl
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition
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"
10         >
11         <p:fieldset
12                 legend="#{msg.ADMIN_CONTACT_PERSONAL_DATA_LEGEND}"
13                 title="#{msg.ADMIN_CONTACT_PERSONAL_DATA_LEGEND_TITLE}"
14                 rendered="#{empty rendered or rendered}"
15                 >
16                 <p:panelGrid
17                         layout="grid"
18                         columns="2"
19                         columnClasses="ui-grid-col-4,ui-grid-col-8"
20                         styleClass="ui-noborder"
21                         >
22                         <p:outputLabel for="personalTitle" value="#{msg.ADMIN_CONTACT_PERSONAL_TITLE}" />
23                         <core:outputPersonalTitleSelectionBox targetController="#{adminContactController}" allowEmptyRequiredData="#{allowEmptyRequiredData}" />
24
25                         <p:outputLabel for="firstName" value="#{msg.ADMIN_PERSONAL_DATA_FIRST_NAME}" />
26                         <p:inputText
27                                 id="firstName"
28                                 size="10"
29                                 maxlength="255"
30                                 value="#{adminContactController.firstName}"
31                                 required="#{empty allowEmptyRequiredData or not allowEmptyRequiredData}"
32                                 requiredMessage="#{msg.ADMIN_CONTACT_DATA_FIRST_NAME_REQUIRED}"
33                                 />
34
35                         <p:outputLabel for="title" value="#{msg.ADMIN_PERSONAL_DATA_TITLE}" />
36                         <p:inputText
37                                 id="title"
38                                 size="5"
39                                 maxlength="255"
40                                 value="#{adminContactController.academicTitle}"
41                                 />
42
43                         <p:outputLabel for="familyName" value="#{msg.ADMIN_PERSONAL_DATA_FAMILY_NAME}" />
44                         <p:inputText
45                                 id="familyName"
46                                 size="10"
47                                 maxlength="255"
48                                 value="#{adminContactController.familyName}"
49                                 required="#{empty allowEmptyRequiredData or not allowEmptyRequiredData}"
50                                 requiredMessage="#{msg.ADMIN_CONTACT_DATA_FAMILY_NAME_REQUIRED}"
51                                 />
52
53                         <p:outputLabel for="street" value="#{msg.ADMIN_DATA_STREET_NAME}" />
54                         <p:inputText
55                                 id="street"
56                                 size="20"
57                                 maxlength="255"
58                                 value="#{adminContactController.street}"
59                                 />
60
61                         <p:outputLabel for="houseNumber" value="#{msg.ADMIN_DATA_HOUSE_NUMBER}" />
62                         <p:inputText
63                                 id="houseNumber"
64                                 size="3"
65                                 maxlength="5"
66                                 value="#{adminContactController.houseNumber}"
67                                 validatorMessage="#{msg.ENTERED_HOUSE_NUMBER_INVALID}"
68                                 >
69                                 <f:validateLongRange minimum="1" maximum="500" />
70                         </p:inputText>
71
72                         <p:outputLabel for="houseNumberExtension" value="#{msg.ADMIN_DATA_HOUSE_NUMBER_EXTENSION}" />
73                         <p:inputText id="houseNumberExtension" size="2" maxlength="2" value="#{adminContactController.houseNumberExtension}" />
74
75                         <p:outputLabel for="zipCode" value="#{msg.DATA_ZIP_CODE}" />
76                         <p:inputText id="zipCode" size="5" maxlength="6" value="#{adminContactController.zipCode}" validatorMessage="#{msg.ENTERED_ZIP_CODE_INVALID}">
77                                 <f:validateLongRange minimum="1" maximum="99999" />
78                         </p:inputText>
79
80                         <p:outputLabel for="city" value="#{msg.ADMIN_DATA_CITY}" />
81                         <p:inputText id="city" size="10" maxlength="255" value="#{adminContactController.city}" />
82
83                         <p:outputLabel for="country" value="#{msg.ADMIN_SELECT_COUNTRY}" />
84                         <core:outputCountrySelector
85                                 id="country"
86                                 value="#{adminContactController.contactCountry}"
87                                 required="#{empty allowEmptyRequiredData or not allowEmptyRequiredData}"
88                                 requiredMessage="#{msg.ADMIN_SELECT_CONTACT_COUNTRY_REQUIRED}"
89                                 />
90
91                         <p:outputLabel for="landLineCountry" value="#{msg.ADMIN_PERSONAL_DATA_PHONE_NUMBER}" />
92                         <core:inputLandLineNumberPanelGrid targetController="#{adminContactController}" />
93
94                         <p:outputLabel for="faxCountry" value="#{msg.ADMIN_PERSONAL_DATA_FAX_NUMBER}" />
95                         <core:inputFaxNumberPanelGrid targetController="#{adminContactController}" />
96
97                         <p:outputLabel for="mobileNumber" value="#{msg.ADMIN_PERSONAL_DATA_MOBILE_NUMBER}" />
98                         <core:inputMobileNumberPanelGrid targetController="#{adminContactController}" />
99
100                         <p:outputLabel for="emailAddress" value="#{msg.DATA_EMAIL_ADDRESS}" />
101                         <p:inputText id="emailAddress" size="20" maxlength="255" value="#{adminContactController.emailAddress}" validatorMessage="#{msg.ENTERED_EMAIL_ADDRESS_IS_INVALID}">
102                                 <validator:emailAddressValidator allowEmptyRequiredData="#{allowEmptyRequiredData}" />
103                         </p:inputText>
104
105                         <p:outputLabel for="contactBirthday" value="#{msg.ADMIN_PERSONAL_DATA_BIRTHDAY}" />
106                         <p:calendar
107                                 id="contactBirthday"
108                                 value="#{contactController.birthday}"
109                                 title="#{msg.ADMIN_PERSONAL_DATA_BIRTHDAY_TITLE}"
110                                 pattern="#{msg.DATE_PATTERN}"
111                                 navigator="true"
112                                 />
113
114                         <p:outputLabel for="contactComment" value="#{msg.ADMIN_PERSONAL_DATA_COMMENT}" />
115                         <p:inputTextarea id="contactComment" value="#{adminContactController.comment}" rows="7" cols="35" />
116                 </p:panelGrid>
117         </p:fieldset>
118
119         <h:panelGroup styleClass="para notice" layout="block">
120                 <ul>
121                         <li>
122                                 <h:outputText value="#{msg.ADMIN_CONTACT_DATA_EMAIL_ADDRESS_NOTICE}" />
123                         </li>
124                 </ul>
125         </h:panelGroup>
126 </ui:composition>