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
130
131
132
133
134
135
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core">
    <h:head/>
    <h:body>
        <ui:composition template="../template.xhtml">
            <ui:define name="caminho">
                <h:outputLabel value="#{msg['mindmapAfiliacaoArtigo.Caminho']}"
                               style="font-weight: bold"/>
            </ui:define>

            <ui:define name="conteudoCentro">
                <p:layout>
                    <h:form id="formMind">
                        <p:layoutUnit position="west">
                            <h:panelGroup id="pgroup">
                                <center>
                                    <h:outputLabel value="#{msg['mindmapAfiliacaoArtigo.Menu']}"
                                                   style="font-size: 25px; font-weight: bold"/>
                                    <hr/>
                                    <p:commandButton value="#{msg['mindmapAfiliacaoArtigo.Voltar']}"
                                                     title="#{msg['mindmapAfiliacaoArtigo.VoltarPaginaInicial']}"
                                                     action="/projeto/listarProjetos.xhtml"
                                                     style="width: 99%"
                                                     ajax="false"
                                                     immediate="true"
                                                     icon="ui-icon-arrowreturnthick-1-w"
                                                     iconPos="right"/>


                                    <p:commandButton value="#{msg['mindmapAfiliacaoArtigo.Proximo']}"
                                                     title="#{msg['mindmapAfiliacaoArtigo.ProximaTab']}"
                                                     onclick="wiz.next();"
                                                     disabled="#{graficoMindMap.botaoProximo}"
                                                     style="width: 99%"
                                                     icon="ui-icon-arrowthick-1-e"
                                                     iconPos="right"
                                                     update="pgroup"/>

                                    <p:commandButton value="#{msg['mindmapAfiliacaoArtigo.Anterior']}"   
                                                     title="#{msg['mindmapAfiliacaoArtigo.TabAnterior']}"
                                                     onclick="wiz.back();"
                                                     disabled="#{graficoMindMap.botaoAnterior}"
                                                     style="width: 99%"                                                
                                                     icon="ui-icon-arrowthick-1-w"
                                                     iconPos="right"
                                                     update="pgroup"
                                                     />




                                </center>
                            </h:panelGroup>
                        </p:layoutUnit>
                        <p:layoutUnit position="center">
                            <center>
                                <h:outputLabel value="#{msg['mindmapAfiliacaoArtigo.Mindmap']}"
                                               style="font-size: 25px; font-weight: bold"/>
                            </center>


                            <p:wizard
                                widgetVar="wiz"
                                flowListener="#{graficoMindMap.onFlowProcessAfiliacaoArtigo}"
                                binding="#{graficoMindMap.wizard}"
                                showNavBar="false"
                                >  

                                <p:tab id="aut" title="#{msg['mindmapAfiliacaoArtigo.Afiliacao']}">  

                                    <p:panel header="#{msg['mindmapAfiliacaoArtigo.SelecioneAfiliacao']}">  
                                        
                                        <h:panelGrid id="autorSelecao" columns="3" columnClasses="label, value" styleClass="grid">  
                                            <p:growl id="nn"/>

                                            <h:outputText value="#{msg['mindmapAfiliacaoArtigo.NomeAfiliacaoDp']}"/>
                                            <p:autoComplete
                                                required="true"
                                                requiredMessage="#{msg['mindmapAfiliacaoArtigo.InformeAfiliacao']}"
                                                id="autoCompleteAutor"
                                                forceSelection="true"
                                                minQueryLength="4"
                                                value="#{graficoMindMap.afiliacao}"
                                                converter="AfiliacaoConverter"
                                                completeMethod="#{graficoMindMap.autoCompleteAfiliacao}"
                                                var="autorComplete"
                                                itemLabel="#{autorComplete.nome}"
                                                itemValue="#{autorComplete}"
                                                />


                                        </h:panelGrid>  
                                    </p:panel>  
                                </p:tab>


                                <p:tab id="map" title="#{msg['mindmapAfiliacaoArtigo.Mindmap']}">  

                                    <p:panel header="#{msg['mindmapAfiliacaoArtigo.Mindmap']} #{graficoMindMap.afiliacao.nome}">  

                                        <h:panelGrid columns="2" columnClasses="label, value" styleClass="grid" style="margin: 0 auto" >
                                            <f:ajax render="mindAutor">

                                                <p:mindmap id="mindAutor" value="#{graficoMindMap.rootAfiliacao}" style="width:1024px;height:768px;border:1px solid black;">  
                                                    <p:ajax event="select" listener="#{graficoMindMap.onNodeSelectAfiliacaoArtigo}" />  
                                                </p:mindmap>  

                                            </f:ajax>

                                        </h:panelGrid>  
                                    </p:panel>  
                                </p:tab>




                            </p:wizard>  

                        </p:layoutUnit>


                    </h:form>



                </p:layout>
            </ui:define>
        </ui:composition>
    </h:body>
</html>

Commits for ramani/Ramani/web/restrito/mindmapAfiliacaoArtigo.xhtml

Diff revisions: vs.
Revision Author Commited Message
562 Diff Diff heartle picture heartle Mon 01 Dec, 2014 21:13:26 +0000
561 Diff Diff heartle picture heartle Mon 01 Dec, 2014 14:52:08 +0000
519 Diff Diff masahiro.arthur picture masahiro.arthur Tue 15 Jul, 2014 19:38:03 +0000
426 heartle picture heartle Sun 20 Apr, 2014 03:57:18 +0000