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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:ui="http://java.sun.com/jsf/facelets">
    <h:head/>
    <h:body>
        <ui:composition template="../template.xhtml">
            <ui:define name="caminho">
                <h:outputLabel value="#{msg['criarArtigoUpload.CriarArtigo']}"
                               />
            </ui:define>

            <ui:define name="conteudoCentro">
                <p:layout>
                  
                    <h:form enctype="multipart/form-data">
                        <p:layoutUnit position="west" styleClass="panelMenu">
                            <center>
                                <h:outputLabel value="#{msg['criarArtigoUpload.Menu']}"
                                               styleClass="titleMenu"/>
                                <hr/>
                                <p:commandButton value="#{msg['criarArtigoUpload.Enviar']}"
                                                 title="#{msg['criarArtigoUpload.FazerUploadArquivo']}"
                                                 action="#{uploadBean.criarArtigo()}"
                                                  style = "width: 99%"
                                                 ajax="false"
                                                 icon="ui-icon-extlink"
                                                 iconPos="right"/>
                                <p:commandButton value="#{msg['criarArtigoUpload.Voltar']}"
                                                 title="#{msg['criarArtigoUpload.VoltarPaginaInicial']}"
                                                 action="/projeto/listarProjetos.xhtml"
                                                  style = "width: 99%"
                                                 immediate="true"
                                                 ajax="false"
                                                 icon="ui-icon-arrowreturnthick-1-w"
                                                 iconPos="right"/>
                            </center>
                        </p:layoutUnit>
                        <p:layoutUnit position="center">
                            <center>
                                <h:outputLabel value="#{msg['criarArtigoUpload.CriarArtigoUpload']}"
                                             />
                            </center>
                            <hr/>
                            <p:panel style="border-color: transparent">
                                <h:outputLabel value="#{msg['criarArtigoUpload.UploadArquivo']}"
                                                />
                                <h:outputText value="#{msg['criarArtigoUpload.ModeloUpload']}"
                                               />
                                <hr/>
                                <br/>
                                <p:growl/>
                                <h:panelGrid columns="1"
                                             width="100%">
                                    <p:fileUpload value="#{uploadBean.arquivo}"
                                                  required="true"
                                                  requiredMessage="#{msg['criarArtigoUpload.UploadObrigatorio']}"
                                                  mode="simple"
                                                  allowTypes="\.txt"
                                                  invalidFileMessage="#{msg['criarArtigoUpload.ApenasArquivosTxt']}"
                                                  oncomplete="/projeto/listarProjetos.xhtml"
                                                  style="border-style: groove;"/>
                                </h:panelGrid>
                            </p:panel>
                        </p:layoutUnit>
                    </h:form>
                </p:layout>
            </ui:define>
        </ui:composition>
    </h:body>
</html>

Commits for ramani/Ramani/web/cadastros/criarArtigoUpload.xhtml

Diff revisions: vs.
Revision Author Commited Message
568 Diff Diff heartle picture heartle Mon 15 Dec, 2014 03:35:05 +0000
557 Diff Diff heartle picture heartle Tue 28 Oct, 2014 02:56:34 +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)

378 Diff Diff nascimento picture nascimento Tue 28 Jan, 2014 04:36:38 +0000
377 Diff Diff nascimento picture nascimento Sat 25 Jan, 2014 12:31:27 +0000
360 Diff Diff nascimento picture nascimento Fri 13 Dec, 2013 19:45:05 +0000

Refatoração do snowballing.

340 Diff Diff nascimento picture nascimento Tue 03 Dec, 2013 00:44:25 +0000

Refatoração das páginas.

339 Diff Diff nascimento picture nascimento Mon 02 Dec, 2013 19:19:10 +0000

Finalização do breakpoint.

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

Refatoração das páginas.

333 nascimento picture nascimento Fri 29 Nov, 2013 20:08:59 +0000

Construção do breakpoint.