]> git.mxchange.org Git - jjobs-war.git/blob - web/WEB-INF/resources/tags/table_rows/landline_input_table_row.tpl
Please cherry-pick:
[jjobs-war.git] / web / WEB-INF / resources / tags / table_rows / landline_input_table_row.tpl
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition
3         xmlns="http://www.w3.org/1999/xhtml"
4         xmlns:widgets="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">
9
10         <ui:fragment rendered="#{empty rendered or rendered == true}">
11                 <h:panelGroup styleClass="table-row" layout="block">
12                         <div class="table-left-medium">
13                                 <p:outputLabel for="landLineNumber" value="#{labelMessage}" />
14                         </div>
15
16                         <div class="table-right-medium">
17                                 <widgets:outputCountrySelector id="landLineCountry" styleClass="select divider-right" value="#{targetController.landLineCountry}" />
18
19                                 <p:inputText styleClass="input divider-right" id="landLineAreaCode" size="5" maxlength="10" value="#{targetController.landLineAreaCode}">
20                                         <f:validator validatorId="PhoneNumberValidator" />
21                                 </p:inputText>
22
23                                 <p:inputText styleClass="input" id="landLineNumber" size="10" maxlength="20" value="#{targetController.landLineNumber}">
24                                         <f:validator validatorId="PhoneNumberValidator" />
25                                 </p:inputText>
26                         </div>
27                 </h:panelGroup>
28
29                 <h:panelGroup styleClass="error-container" layout="block">
30                         <p:message for="landLineAreaCode" />
31                 </h:panelGroup>
32
33                 <h:panelGroup styleClass="error-container" layout="block">
34                         <p:message for="landLineNumber" />
35                 </h:panelGroup>
36         </ui:fragment>
37 </ui:composition>