Subversion Repository Public Repository

ramani

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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:p="http://primefaces.org/ui"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">
    <h:head>
        <title>#{msg['criarColaborador.Cadastro']}</title>
        <h:outputScript name="calendario.js"/>
    </h:head>
    <h:body>
        <p:layout fullPage="true">
            <p:growl life="10000"/>
            <p:layoutUnit
                position="north"
                resizable="false"
                closable="false"
                collapsible="false"
                style="border-color: transparent">                
                <h:panelGrid columns="2"
                                 columnClasses="cabCol1, cabCol2">                        
             </h:panelGrid>
            </p:layoutUnit>
             

            <p:layoutUnit position="center"
                          style="border-color: transparent">
                <center>
                    <p:panel style="width: 650px; height: 480px;
                             box-shadow: 0 2px 2px 0;
                             background-color: #f7f7f7; border-color: transparent">                       
                        <span style=" font-weight: bold;color:
                              black;">#{msg['criarColaborador.Cadastre']}</span>                       
                        <hr/>
                        <h:form>
                            <f:view encoding="ISO-8859-1">
                                <h:panelGrid columns="1" style="color: black">
                                    <h:outputText value="#{msg['criarColaborador.NomeCompleto']}"
                                                  style="font-weight: bold"/>
                                    <p:inputText value="#{colaboradorBean.colaborador.nome}"
                                                 required="true"
                                                 requiredMessage="A definição do seu nome completo é obrigatória."
                                                 style="width: 550px"/>
                                    <br/>
                                    <h:outputText value="#{msg['criarColaborador.Email']}"
                                                  style="font-weight: bold"/>
                                    <p:inputText value="#{colaboradorBean.colaborador.email}"
                                                 required="true"
                                                 requiredMessage="#{msg['criarColaborador.DefinicaoEmail']}"
                                                 style="width: 550px"/>
                                </h:panelGrid>
                                <br/>
                                <h:panelGrid columns="2" style="color: black">
                                    <h:outputText value="#{msg['criarColaborador.DataNascimento']}"
                                                  style="font-weight: bold"/>
                                    <h:outputText value="#{msg['criarColaborador.NomeUsuario']}"
                                                  style="font-weight: bold"/>
                                    <p:calendar value="#{colaboradorBean.colaborador.nascimento}"
                                                required="true"
                                                requiredMessage="#{msg['criarColaborador.DefinicaoDataNascimento']}"
                                                navigator="true"
                                                locale="pt"
                                                size="30"/>
                                    <p:inputText value="#{colaboradorBean.colaborador.login}"
                                                 required="true"
                                                 requiredMessage="#{msg['criarColaborador.DefinicaoNomeUsuario']}"
                                                 style="width: 270px"/>
                                    <br/>
                                    <h:outputText/>
                                    <h:outputText value="#{msg['criarColaborador.Senha']}"
                                                  style="font-weight: bold"/>
                                    <h:outputText value="#{msg['criarColaborador.DigiteSenha']}"
                                                  style="font-weight: bold; font-family: Arial"/>
                                    <p:password value="#{colaboradorBean.colaborador.senha}"
                                                match="pwd2"
                                                style="width: 270px"
                                                required="true"
                                                requiredMessage="#{msg['criarColaborador.DefinicaoSenha']}"
                                                validatorMessage="#{msg['criarColaborador.ConfirmacaoSenha']}"/>
                                    <p:password id="pwd2"
                                                value="#{colaboradorBean.colaborador.senha}"
                                                style="width: 270px"
                                                required="true"
                                                requiredMessage="#{msg['criarColaborador.ConfirmacaoSenhaObrigatoria']}"/>
                                    <br/>
                                    <h:outputText/>
                                    <p:commandButton value="#{msg['criarColaborador.CriarConta']}"
                                                     action="#{colaboradorBean.salvar()}"
                                                     ajax="false"
                                                     style="width: 280px; background-color: #4d90fe;
                                                     background-size: 0%; color: white; border-style: none"
                                                     icon="ui-icon-plusthick"
                                                     iconPos="right"/>
                                </h:panelGrid>
                            </f:view>
                        </h:form>
                        <h:form style="text-align: left">
                            <br/>
                            <h:outputText value="#{msg['criarColaborador.JaTemConta']}"
                                          style="color: black;"/>
                            <p:commandLink action="/faces/login.xhtml"
                                           value="#{msg['login.Identifique']}"
                                           ajax="false"
                                           style="color: #3399ff; font-weight: bold; text-decoration: none"/>
                        </h:form>
                    </p:panel> 
                </center>
            </p:layoutUnit>  

            <p:layoutUnit 
                position="south" 
                resizable="false" 
                closable="false" 
                collapsible="false"
                style="font-size: 12px">
                <center>
                    <h:outputLabel value="#{msg['criarColaborador.Rodape']}"/>
                </center>
            </p:layoutUnit>  
        </p:layout>  
    </h:body>
</html>

Commits for ramani/Ramani/web/criarColaborador.xhtml

Diff revisions: vs.
Revision Author Commited Message
545 Diff Diff heartle picture heartle Wed 22 Oct, 2014 04:05:35 +0000
511 Diff Diff masahiro.arthur picture masahiro.arthur Mon 07 Jul, 2014 20:00:45 +0000

Mensagens ainda inacabadas. O Resource Bundle já é reconhecido mas ainda não é possível trocar os idiomas. (Trabalhando nisso)

509 Diff Diff masahiro.arthur picture masahiro.arthur Mon 07 Jul, 2014 11:33:40 +0000
406 Diff Diff flbezerra picture flbezerra Thu 27 Mar, 2014 15:13:39 +0000

docs e correções

385 Diff Diff nascimento picture nascimento Wed 29 Jan, 2014 23:43:51 +0000
377 Diff Diff nascimento picture nascimento Sat 25 Jan, 2014 12:31:27 +0000
375 Diff Diff nascimento picture nascimento Thu 23 Jan, 2014 21:11:58 +0000
353 Diff Diff nascimento picture nascimento Fri 06 Dec, 2013 21:19:44 +0000
343 Diff Diff nascimento picture nascimento Wed 04 Dec, 2013 07:52:22 +0000

Refatoração das páginas.

334 nascimento picture nascimento Sat 30 Nov, 2013 20:55:59 +0000

Refatoração das páginas.