|
@@ -5,7 +5,7 @@ |
5 |
5 |
|
xmlns:h="http://java.sun.com/jsf/html" |
6 |
6 |
|
xmlns:f="http://java.sun.com/jsf/core"> |
7 |
7 |
|
<h:head> |
8 |
|
- |
<title>Cadastro</title> |
|
8 |
+ |
<title>"#{msg['criarColaborador.Cadastro']}"</title> |
9 |
9 |
|
<h:outputScript name="calendario.js"/> |
10 |
10 |
|
</h:head> |
11 |
11 |
|
<h:body> |
|
@@ -26,61 +26,61 @@ |
26 |
26 |
|
<p:layoutUnit position="center" |
27 |
27 |
|
style="border-color: transparent"> |
28 |
28 |
|
<center> |
29 |
|
- |
<p:panel header="Cadastre-se" |
|
29 |
+ |
<p:panel header="#{msg['criarColaborador.Cadastre']}" |
30 |
30 |
|
style="width: 600px; height: 480px"> |
31 |
31 |
|
<h:form> |
32 |
32 |
|
<f:view encoding="ISO-8859-1"> |
33 |
33 |
|
<h:panelGrid columns="1"> |
34 |
|
- |
<h:outputText value="Nome completo" |
|
34 |
+ |
<h:outputText value="#{msg['criarColaborador.NomeCompleto']}" |
35 |
35 |
|
style="font-weight: bold"/> |
36 |
36 |
|
<p:inputText value="#{colaboradorBean.colaborador.nome}" |
37 |
37 |
|
required="true" |
38 |
38 |
|
requiredMessage="A definição do seu nome completo é obrigatória." |
39 |
39 |
|
style="width: 550px"/> |
40 |
40 |
|
<br/> |
41 |
|
- |
<h:outputText value="E-mail" |
|
41 |
+ |
<h:outputText value="#{msg['criarColaborador.Email']}" |
42 |
42 |
|
style="font-weight: bold"/> |
43 |
43 |
|
<p:inputText value="#{colaboradorBean.colaborador.email}" |
44 |
44 |
|
required="true" |
45 |
|
- |
requiredMessage="A definição de um e-mail é obrigatória." |
|
45 |
+ |
requiredMessage="#{msg['criarColaborador.DefinicaoEmail']}" |
46 |
46 |
|
style="width: 550px"/> |
47 |
47 |
|
</h:panelGrid> |
48 |
48 |
|
<br/> |
49 |
49 |
|
<h:panelGrid columns="2"> |
50 |
|
- |
<h:outputText value="Data de nascimento" |
|
50 |
+ |
<h:outputText value="#{msg['criarColaborador.DataNascimento']}" |
51 |
51 |
|
style="font-weight: bold"/> |
52 |
|
- |
<h:outputText value="Nome de usuário" |
|
52 |
+ |
<h:outputText value="#{msg['criarColaborador.NomeUsuario']}" |
53 |
53 |
|
style="font-weight: bold"/> |
54 |
54 |
|
<p:calendar value="#{colaboradorBean.colaborador.nascimento}" |
55 |
55 |
|
required="true" |
56 |
|
- |
requiredMessage="A definição de uma data de nascimento é obrigatória." |
|
56 |
+ |
requiredMessage="#{msg['criarColaborador.DefinicaoDataNascimento']}" |
57 |
57 |
|
navigator="true" |
58 |
58 |
|
locale="pt" |
59 |
59 |
|
size="30"/> |
60 |
60 |
|
<p:inputText value="#{colaboradorBean.colaborador.login}" |
61 |
61 |
|
required="true" |
62 |
|
- |
requiredMessage="A definição de um nome de usuário é obrigatória." |
|
62 |
+ |
requiredMessage="#{msg['criarColaborador.DefinicaoNomeUsuario']}" |
63 |
63 |
|
style="width: 270px"/> |
64 |
64 |
|
<br/> |
65 |
65 |
|
<h:outputText/> |
66 |
|
- |
<h:outputText value="Senha" |
|
66 |
+ |
<h:outputText value="#{msg['criarColaborador.Senha']}" |
67 |
67 |
|
style="font-weight: bold"/> |
68 |
|
- |
<h:outputText value="Digite a senha novamente" |
|
68 |
+ |
<h:outputText value="#{msg['criarColaborador.DigiteSenha']}" |
69 |
69 |
|
style="font-weight: bold"/> |
70 |
70 |
|
<p:password value="#{colaboradorBean.colaborador.senha}" |
71 |
71 |
|
match="pwd2" |
72 |
72 |
|
style="width: 270px" |
73 |
73 |
|
required="true" |
74 |
|
- |
requiredMessage="A definição de uma senha é obrigatória." |
75 |
|
- |
validatorMessage="Você deve confirmar a nova senha."/> |
|
74 |
+ |
requiredMessage="#{msg['criarColaborador.DefinicaoSenha']}" |
|
75 |
+ |
validatorMessage="#{msg['criarColaborador.ConfirmacaoSenha']}"/> |
76 |
76 |
|
<p:password id="pwd2" |
77 |
77 |
|
value="#{colaboradorBean.colaborador.senha}" |
78 |
78 |
|
style="width: 270px" |
79 |
79 |
|
required="true" |
80 |
|
- |
requiredMessage="A confirmação da senha é obrigatória."/> |
|
80 |
+ |
requiredMessage="#{msg['criarColaborador.ConfirmacaoSenhaObrigatoria']}"/> |
81 |
81 |
|
<br/> |
82 |
82 |
|
<h:outputText/> |
83 |
|
- |
<p:commandButton value="Criar nova conta" |
|
83 |
+ |
<p:commandButton value="#{msg['criarColaborador.CriarConta']}" |
84 |
84 |
|
action="#{colaboradorBean.salvar()}" |
85 |
85 |
|
ajax="false" |
86 |
86 |
|
style="width: 280px" |
|
@@ -91,10 +91,10 @@ |
91 |
91 |
|
</h:form> |
92 |
92 |
|
<h:form style="text-align: left"> |
93 |
93 |
|
<br/> |
94 |
|
- |
<h:outputText value="Já tem conta? " |
|
94 |
+ |
<h:outputText value="#{msg['criarColaborador.JaTemConta']}" |
95 |
95 |
|
style="color: darkgray"/> |
96 |
96 |
|
<p:commandLink action="/faces/login.xhtml" |
97 |
|
- |
value="Identifique-se" |
|
97 |
+ |
value="#{msg['login.Identifique']}" |
98 |
98 |
|
ajax="false" |
99 |
99 |
|
style="color: darkgray; font-weight: bold"/> |
100 |
100 |
|
</h:form> |
|
@@ -109,7 +109,7 @@ |
109 |
109 |
|
collapsible="false" |
110 |
110 |
|
style="font-size: 10px"> |
111 |
111 |
|
<center> |
112 |
|
- |
<h:outputLabel value="Projeto Ramani 2012. Todos os direitos reservados."/> |
|
112 |
+ |
<h:outputLabel value="#{msg['criarColaborador.Rodape']}"/> |
113 |
113 |
|
</center> |
114 |
114 |
|
</p:layoutUnit> |
115 |
115 |
|
</p:layout> |