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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
<?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:p="http://primefaces.org/ui"
      xmlns:h="http://java.sun.com/jsf/html"
      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['continuarSnowballingInterativo.CaminhoContinuacaoSelecaoArtigos']}"
                               style="font-weight: bold"/>                
            </ui:define>

            <ui:define name="conteudoCentro">
                <p:layout>
                    <p:layoutUnit position="center">
                        <h:form id="form">
                            <p:wizard backLabel="Voltar"
                                      nextLabel="Avancar"
                                      >                  

                                <p:tab id="ordenacaoTab" title="Ordenacao">
                                    <p:panel >
                                        <h:outputText value="Selecione o metodo de ordenação dos artigos, a serem exibidos apos cada iteração."
                                                      style="color: blue; font-weight: bold"/>
                                        <hr/>
                                        <br/>                                            
                                        <p:selectOneRadio id="metd" value="#{snowballingBean.metodoOrdenacao}">
                                            <f:selectItem itemLabel="Referencias e Citações" itemValue="refcit" />
                                            <f:selectItem itemLabel="Referencias" itemValue="ref" />
                                            <f:selectItem itemLabel="Citações" itemValue="cit"/>
                                            <f:selectItem itemLabel="Citacoes Google Scholar" itemValue="sch"/>
                                        </p:selectOneRadio>

                                    </p:panel>
                                </p:tab>



                                <!--Tab Confirmação-->
                                <p:tab id="ConfirmacaoTab" title="#{msg['criarSelecaoSnowballingInterativoVarios.DadosIniciais']}">
                                    <p:panel>
                                        <h:outputLabel value="#{msg['continuarSnowballingInterativo.DadosIniciaisSelecao']}"
                                                       style="color: blue; font-weight: bold"/>
                                        <hr/>
                                        <br/>
                                        <h:outputLabel value="#{msg['continuarSnowballingInterativo.ProjetoDp']}"
                                                       style="font-weight: bold"/>
                                        <h:outputLabel value="#{snowballingBean.processamento.projeto.titulo}"/>
                                        <br/>
                                        <br/>

                                        <h:outputLabel value="Metodo de ordenação: "
                                                       style="font-weight: bold"/>
                                        <h:outputLabel value="#{snowballingBean.metodoOrdenacao}"/>
                                        <br/>
                                        <br/>

                                        <h:panelGrid columns="2">
                                            <h:outputLabel value="#{msg['continuarSnowballingInterativo.SementesDp']}"
                                                           style="font-weight: bold"/>
                                            <h:dataTable value="#{snowballingBean.processamento.artigoList}"
                                                         var="semente">
                                                <h:column>
                                                    <h:outputText value="#{semente.titulo}"/>
                                                </h:column>
                                            </h:dataTable>
                                        </h:panelGrid>
                                        <br/>
                                        <h:panelGrid columns="2"
                                                     rendered="#{snowballingBean.processamento.conferenciaList.size() != 0}">
                                            <h:outputLabel value="#{msg['continuarSnowballingInterativo.ConferenciasSelecionadasDp']}"
                                                           style="font-weight: bold"/>
                                            <h:dataTable value="#{snowballingBean.processamento.conferenciaList}"
                                                         var="conf">
                                                <h:column>
                                                    <h:outputText value="#{conf.sigla} - #{conf.nome}"/>
                                                </h:column>
                                            </h:dataTable>
                                        </h:panelGrid>
                                        <h:outputLabel value="#{msg['continuarSnowballingInterativo.NenhumaConferenciaSelecionada']}"
                                                       rendered="#{snowballingBean.processamento.conferenciaList.size() eq 0}"
                                                       style="font-weight: bold"/>
                                    </p:panel>
                                </p:tab>

                                <p:tab id="executandoTab" title="Processar">
                                    <p:panel id="panelProc">
                                        <p:growl showDetail="true" showSummary="true"/>
                                        <p:toolbar>

                                            <p:toolbarGroup style="margin-left: 25%" id="toolm">

                                                <p:commandButton value="#{msg['continuarSnowballingInterativo.Retomar']}"
                                                                 title="#{msg['continuarSnowballingInterativo.RetomarProcessoInterrompido']}"
                                                                 action="#{snowballingBean.continuarProcesso()}"                                                             
                                                                 update="panelProc,selecInt"
                                                                 disabled="#{snowballingBean.desabilitarBotaoRetomar}"                                                             
                                                                 icon="ui-icon-arrowrefresh-1-e"
                                                                 iconPos="right"/>

                                                <p:commandButton value="#{msg['criarSelecaoSnowballingInterativoVarios.Executar']}"
                                                                 title="#{msg['criarSelecaoSnowballingInterativoVarios.ExecutarSnowballing']}"
                                                                 action="#{snowballingBean.iniciarProcessoInterativoVariosResultados()}"                                                                                                                                          
                                                                 icon="ui-icon-refresh"
                                                                 ajax="true"                                                                                                                                                                                                               
                                                                 disabled="#{snowballingBean.desabilitarBotaoExecutarCont}"                                                                     
                                                                 iconPos="right"
                                                                 update="panelProc,selecInt"/>

                                                <p:commandButton value="#{msg['criarSelecaoSnowballingInterativoVarios.Continuar']}"
                                                                 title="#{msg['criarSelecaoSnowballingInterativoVarios.ContinuarProcessamento']}"
                                                                 action="#{snowballingBean.continuarProcessoInterativo()}"                                                                                                                                                                                                               
                                                                 icon="ui-icon-play"
                                                                 iconPos="right"                                                                     
                                                                 disabled="#{snowballingBean.desabilitarBotaoContinuar}"                                                                     
                                                                 update="selecInt,panelProc"                                                                     
                                                                 ajax="true"/>

                                                <p:commandButton value="#{msg['criarSelecaoSnowballingInterativoVarios.Finalizar']}"
                                                                 title="#{msg['criarSelecaoSnowballingInterativoVarios.FinalizarProcessamento']}"
                                                                 action="#{snowballingBean.finalizarProcessoInterativo()}"                                                                     
                                                                 icon="ui-icon-seek-end"
                                                                 disabled="#{snowballingBean.desabilitarBotaoConcluir}"                                                                       
                                                                 ajax="false"
                                                                 iconPos="right"/>                                                    
                                            </p:toolbarGroup>
                                        </p:toolbar>

                                        <p:panel toggleable="true" header="Artigo Selecionados" closable="true" style="text-align: center; "
                                                 rendered="#{snowballingBean.rendereizacao}">
                                            <p:dataTable id="diagSel"  
                                                         value="#{snowballingBean.selecoesEscolhidas}"
                                                         var="selecta">
                                                <p:column headerText="Remover">
                                                    <p:commandButton title="#{msg['criarSelecaoSnowballingInterativoVarios.RemoverSelecao']}"
                                                                     action="#{snowballingBean.removerSelecao}"  
                                                                     update="diagSel"
                                                                     ajax="true"
                                                                     icon="ui-icon-minusthick">
                                                        <f:setPropertyActionListener value="#{selecta}"
                                                                                     target="#{snowballingBean.selecao}"  />
                                                    </p:commandButton>
                                                </p:column>
                                                <p:column headerText="Artigo">
                                                    <p:outputLabel value="Titulo: " style="font-weight: bold"/>
                                                    <p:outputLabel value="#{selecta.artigo.titulo}"/>
                                                    <br/>
                                                    <p:outputLabel value="Justificativa " style="font-weight: bold"/>
                                                    <br/>
                                                    <p:outputLabel value="#{selecta.justificativa}" style="font-weight: bold; color: blue"/>
                                                </p:column>
                                            </p:dataTable>
                                        </p:panel>


                                        <br/>
                                        <p:dataTable id="selecInt" value="#{snowballingBean.selecoes}" var="sel" rendered="#{snowballingBean.rendereizacao}" >
                                            <p:column headerText="Selecionar">
                                                <p:commandButton title="#{msg['criarSelecaoSnowballingInterativoVarios.SelecionarArtigo']}"
                                                                 action="#{snowballingBean.escolherSelecao}"
                                                                 icon="ui-icon-check"
                                                                 ajax="false"
                                                                 update="selecInt">
                                                    <f:setPropertyActionListener value="#{sel}"
                                                                                 target="#{snowballingBean.selecao}"/>                                                        
                                                </p:commandButton>
                                            </p:column>                 

                                            <p:column headerText="Artigo">
                                                <p:outputLabel value="Titulo: " style="font-weight: bold"/>
                                                <p:outputLabel value="#{sel.artigo.titulo}"/>
                                                <br/>                                                    
                                                <p:outputLabel value="Resumo: " style="font-weight: bold"/>
                                                <p:outputLabel value="#{sel.artigo.abstract1}"/>
                                                <br/>                                                    
                                                <p:outputLabel value="Justificativa: " style="font-weight: bold"/>
                                                <p:inputTextarea value="#{sel.justificativa}"
                                                                 rows="3"
                                                                 autoResize="false"
                                                                 style="width: 100%"/>
                                            </p:column>                                                        
                                        </p:dataTable>

                                        <p:ajaxStatus onstart="PF('statusDialog').show()" onsuccess="PF('statusDialog').hide()" />

                                        <!-- Dialog Processar-->
                                        <p:dialog widgetVar="statusDialog"
                                                  appendToBody="true"
                                                  width="650"
                                                  modal="true"
                                                  draggable="false"
                                                  closable="false"
                                                  header="Selecionando"
                                                  resizable="false"
                                                  showHeader="true">
                                            <p:panel>

                                                <h:outputLabel value="#{msg['criarSelecaoSnowballingInterativoVarios.ClicandoEm']}"
                                                               style="color: blue; font-weight: bold"/>                                                    
                                                <h:outputText value="#{msg['criarSelecaoSnowballingInterativoVarios.InterromperProcessoDescartar']}"
                                                              style="color: blue"/>
                                                <h:outputText value="#{msg['criarSelecaoSnowballingInterativoVarios.InterrompeProcessoDescarta']}"
                                                              style="color: blue; font-weight: bold"/>
                                                <br/>
                                                <br/>
                                                <center>
                                                    <p:graphicImage name="loadingC.gif" />                                                        
                                                </center>
                                                <br/>                                                                                                           
                                                <p:commandButton value="#{msg['criarSelecaoSnowballingInterativoVarios.DescartarDados']}"
                                                                 title="#{msg['criarSelecaoSnowballingInterativoVarios.InterromperProcessoNaoSalvarDados']}"
                                                                 ajax="true"
                                                                 process="@this"
                                                                 immediate="true"
                                                                 update="panelProc"
                                                                 action="#{snowballingBean.interromperProcessoInterativo()}"
                                                                 style="width: 100%"
                                                                 icon="ui-icon-stop"
                                                                 async="true"
                                                                 iconPos="right"
                                                                 />

                                                <p:commandButton value="#{msg['criarSelecaoSnowballingInterativoVarios.SalvarDados']}"
                                                                 title="#{msg['criarSelecaoSnowballingInterativoVarios.InterrompeProcessoCheckpoint']}"
                                                                 process="@this"
                                                                 ajax="true"
                                                                 immediate="true"
                                                                 async="true"
                                                                 action="#{snowballingBean.interromperProcessoInterativoESalvar()}"
                                                                 style="width: 100%"
                                                                 icon="ui-icon-video"
                                                                 iconPos="right"/>

                                            </p:panel>
                                        </p:dialog>                                         

                                    </p:panel>
                                </p:tab>

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

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

Diff revisions: vs.
Revision Author Commited Message
574 Diff Diff heartle picture heartle Tue 17 Feb, 2015 20:52:43 +0000

Seleção Interativo Varios Resultado ok

518 Diff Diff masahiro.arthur picture masahiro.arthur Mon 14 Jul, 2014 19:07:34 +0000
377 Diff Diff nascimento picture nascimento Sat 25 Jan, 2014 12:31:27 +0000
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 Diff Diff nascimento picture nascimento Fri 29 Nov, 2013 20:08:59 +0000

Construção do breakpoint.

331 nascimento picture nascimento Thu 28 Nov, 2013 23:19:17 +0000

Construção do breakpoint.