-
Notifications
You must be signed in to change notification settings - Fork 0
/
testecadastro.xhtml
144 lines (100 loc) · 4.48 KB
/
testecadastro.xhtml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<?xml version="1.0" encoding="ISO-8859-1" ?>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui">
<h:head>
</h:head>
<h:body>
<p:growl id="growl" sticky="true" showDetail="true" />
<p:layout style="min-width:900px;min-height:900px;" id="layout">
<p:layoutUnit header="EXEMPLO SIMPLES PARA UMA TELA DE CADASTRO COM PRIMEFACES" position="north" resizable="true" size="15" minSize="40"
maxSize="200">
</p:layoutUnit>
<p:layoutUnit position="center" visible="true">
<p:panel header="Cadastro de Funcionários" id="panel"
style="width:75%;left: 5%">
<h:panelGrid border="0" style="text-align:left; width:100%">
<h:form>
<p:tabView>
<p:tab title="Identificação">
<p:panelGrid columns="4" layout="tabular"
columnClasses="p-col-12 p-md-3 p-xl-2, p-col-12 p-md-9 p-xl-4, p-col-12 p-md-3 p-xl-2, p-col-12 p-md-9 p-xl-4"
contentStyleClass="p-align-baseline ui-fluid">
<p:outputLabel for="name" value="Nome:"
style="font-weight:bold" />
<p:inputText id="name" />
<p:outputLabel for="cpf" value="CPF:" style="font-weight:bold" />
<p:inputText id="cpf" mask="99.999.999-99" />
<p:outputLabel for="telefone" value="Telefone:"
style="font-weight:bold" />
<p:inputMask id="telefone" mask="99-9999-9999" />
<p:outputLabel for="dnasc" value="Data de Nascimento:"
style="font-weight:bold" />
<p:inputMask id="dnasc" mask="99/99/9999" />
</p:panelGrid>
</p:tab>
</p:tabView>
<p:tabView>
<p:tab title="Vinculo/Cargo">
<p:panelGrid columns="4" layout="tabular"
columnClasses="p-col-12 p-md-3 p-xl-2, p-col-12 p-md-9 p-xl-4, p-col-12 p-md-3 p-xl-2, p-col-12 p-md-9 p-xl-4"
contentStyleClass="p-align-baseline ui-fluid">
<p:outputLabel for="seldep" value="Departamento"
style="font-weight:bold" />
<p:selectOneMenu id="seldep">
<f:selectItem itemLabel="Selecione" itemValue="" />
<f:selectItem itemLabel="RH" itemValue="RH" />
<f:selectItem itemLabel="TI" itemValue="TI" />
<f:selectItem itemLabel="Financeiro" itemValue="Financeiro" />
</p:selectOneMenu>
<p:outputLabel for="selcar" value="Cargo"
style="font-weight:bold" />
<p:selectOneMenu id="selcar">
<f:selectItem itemLabel="Selecione" itemValue="" />
<f:selectItem itemLabel="Suporte" itemValue="Suporte" />
<f:selectItem itemLabel="Operador" itemValue="Operador" />
<f:selectItem itemLabel="Vendedor" itemValue="Vendedor" />
</p:selectOneMenu>
</p:panelGrid>
</p:tab>
</p:tabView>
<p:tabView>
<p:tab title="Informações de Contrato">
<p:panelGrid columns="4" layout="tabular"
columnClasses="p-col-12 p-md-3 p-xl-2, p-col-12 p-md-9 p-xl-4, p-col-12 p-md-3 p-xl-2, p-col-12 p-md-9 p-xl-4"
contentStyleClass="p-align-baseline ui-fluid">
<p:outputLabel for="checkboxA" value="Contrato de Experiencia"
style="font-weight:bold" />
<p:selectBooleanCheckbox id="checkboxA" itemLabel="Sim" />
<p:selectBooleanCheckbox id="checkboxB" itemLabel="Nao" />
</p:panelGrid>
</p:tab>
</p:tabView>
<p:tabView>
<p:tab title="Informaçoes Adicionais">
<p:panelGrid columns="4" layout="tabular"
columnClasses="p-col-12 p-md-3 p-xl-2, p-col-12 p-md-9 p-xl-4, p-col-12 p-md-3 p-xl-2, p-col-12 p-md-9 p-xl-4"
contentStyleClass="p-align-baseline ui-fluid">
<p:outputLabel for="end" value="Endereço:"
style="font-weight:bold" />
<p:inputText id="end" />
<p:outputLabel for="bairro" value="Bairro:"
style="font-weight:bold" />
<p:inputText id="bairro" />
<p:outputLabel for="cidade" value="Cidade:"
style="font-weight:bold" />
<p:inputMask id="cidade" />
<p:outputLabel for="uf" value="Uf:" style="font-weight:bold" />
<p:inputMask id="uf" mask="" />
</p:panelGrid>
</p:tab>
</p:tabView>
</h:form>
<p:button onclick="" value="Salvar" />
</h:panelGrid>
</p:panel>
</p:layoutUnit>
</p:layout>
</h:body>
</html>