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
123
124
125
126
127
128
129
<?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>
        <h:outputStylesheet name="cadastroCss.css"/>
        <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 styleClass="panelP">                       
                        <span> <strong>#{msg['criarColaborador.Cadastre']}</strong></span>                       
                        <hr/>
                        <h:form>
                            <f:view encoding="ISO-8859-1">
                                <h:panelGrid columns="1" style="color: black">
                                    <h:outputText value="#{msg['criarColaborador.NomeCompleto']}"
                                                  styleClass="outputTextStyle" />
                                    <p:inputText value="#{colaboradorBean.colaborador.nome}"
                                                 required="true"
                                                 requiredMessage="A definição do seu nome completo é obrigatória."
                                                 styleClass="inputStyle1" />
                                    <br/>
                                    <h:outputText value="#{msg['criarColaborador.Email']}"
                                                  styleClass="outputTextStyle"/>
                                    <p:inputText value="#{colaboradorBean.colaborador.email}"
                                                 required="true"
                                                 requiredMessage="#{msg['criarColaborador.DefinicaoEmail']}"
                                                 styleClass="inputStyle1" 
                                                 />
                                </h:panelGrid>
                                <br/>
                                <h:panelGrid columns="2" style="color: black">
                                    <h:outputText value="#{msg['criarColaborador.DataNascimento']}"
                                                  styleClass="outputTextStyle" />
                                    <h:outputText value="#{msg['criarColaborador.NomeUsuario']}"
                                                  styleClass="outputTextStyle" />
                                    <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']}"
                                                  styleClass="outputTextStyle" />
                                    <h:outputText value="#{msg['criarColaborador.DigiteSenha']}"
                                                  styleClass="outputTextStyle" />
                                    <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"                                                     
                                                     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']}"
                                          class="msgConta"/>
                            <p:commandLink action="/faces/login.xhtml"
                                           value="#{msg['login.Identifique']}"
                                           ajax="false"
                                           styleClass="linkStyle"/>
                        </h:form>
                    </p:panel> 
                </center>
            </p:layoutUnit>  

            <p:layoutUnit 
                position="south" 
                resizable="false" 
                closable="false" 
                collapsible="false"
                >
                <h:form >     
                    <center>
                        <h:outputLabel class="rodaPe" value="#{msg['login.Rodape']}"/> 
                        <div class="lang">
                            <h:graphicImage value="resources/icon_chat_small.png" class="imgChat"/>
                            <h:selectOneMenu 
                                value="#{language.localeCode}" onchange="submit()"
                                valueChangeListener="#{language.countryLocaleCodeChanged}">
                                <f:selectItems value="#{language.countriesInMap}" /> 
                            </h:selectOneMenu>
                        </div>
                    </center>
                </h:form>
            </p:layoutUnit>  
        </p:layout>  
    </h:body>
</html>

Commits for ramani/Ramani/web/criarColaborador.xhtml

Diff revisions: vs.
Revision Author Commited Message
555 Diff Diff heartle picture heartle Sun 26 Oct, 2014 01:52:44 +0000
549 Diff Diff heartle picture heartle Sat 25 Oct, 2014 17:20:16 +0000
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 nascimento picture nascimento Fri 06 Dec, 2013 21:19:44 +0000