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['mindmapColaborador.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['mindmapColaborador.Menu']}"
                                                   style="font-size: 25px; font-weight: bold"/>
                                    <hr/>
                                    <p:commandButton value="#{msg['mindmapColaborador.Voltar']}"
                                                     title="#{msg['mindmapColaborador.VoltarPaginaInicial']}"
                                                     action="/projeto/listarProjetos.xhtml"
                                                     style="width: 99%"
                                                     ajax="false"
                                                     immediate="true"
                                                     icon="ui-icon-arrowreturnthick-1-w"
                                                     iconPos="right"/>


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

                                    <p:commandButton value="#{msg['mindmapColaborador.Anterior']}"  
                                                     title="#{msg['mindmapColaborador.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['mindmapColaborador.Mindmap']}"
                                               style="font-size: 25px; font-weight: bold"/>
                            </center>


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

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

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

                                            <h:outputText value="Nome do Autor:"/>
                                            <p:autoComplete
                                                required="true"
                                                requiredMessage="#{msg['mindmapColaborador.InformeAutor']}"
                                                id="autoCompleteAutor"
                                                forceSelection="true"
                                                minQueryLength="4"
                                                value="#{graficoMindMap.autor}"
                                                converter="AutorConverter"
                                                completeMethod="#{graficoMindMap.autoCompleteAutor}"
                                                var="autorComplete"
                                                itemLabel="#{autorComplete.nome}"
                                                itemValue="#{autorComplete}"
                                                />


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


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

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

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

                                                <p:mindmap id="mindAutor" value="#{graficoMindMap.rootAutor}" style="width:1024px;height:768px;border:1px solid black;">  
                                                    <p:ajax event="select" listener="#{graficoMindMap.onNodeSelectColaborador}" />  
                                                </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/mindmapColaborador.xhtml

Diff revisions: vs.
Revision Author Commited Message
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
425 heartle picture heartle Sat 19 Apr, 2014 15:41:03 +0000