Subversion Repository Public Repository

ramani

Diff Revisions 570 vs 571 for /Ramani/web/cadastros/criarSelecaoSnowballingInterativoVarios.xhtml

Diff revisions: vs.
  @@ -25,7 +25,9 @@
25 25 <h:form>
26 26 <p:panel>
27 27
28 - <p:wizard backLabel="Voltar" nextLabel="Avancar" >
28 + <p:wizard backLabel="Voltar"
29 + nextLabel="Avancar"
30 + >
29 31 <!--Tab Projetos-->
30 32 <p:tab id="projetoTab" title="#{msg['criarSelecaoSnowballingInterativoVarios.Projeto']}">
31 33 <p:panel>
  @@ -53,7 +55,8 @@
53 55 <!--Tab Upload Arquivo-->
54 56 <p:tab id="uploadTab" title="#{msg['criarSelecaoSnowballingInterativoVarios.Upload']}">
55 57 <h:form id="formIteraivo" enctype="multipart/form-data" >
56 - <p:panel>
58 + <p:panel>
59 + <p:growl showDetail="true" showSummary="true"/>
57 60 <!--Upload Arquivo-->
58 61 <p:fileUpload fileUploadListener="#{snowballingBean.handleFileUpload}" mode="advanced" dragDropSupport="false"
59 62 allowTypes="/(\.|\/)(txt)$/"
  @@ -128,36 +131,35 @@
128 131 </p:tab>
129 132
130 133 <p:tab id="executandoTab" title="Processar">
131 - <p:panel>
134 + <p:panel id="panelProc">
132 135 <p:toolbar>
133 136
134 - <p:toolbarGroup style="margin-left: 25%">
137 + <p:toolbarGroup style="margin-left: 25%" id="toolm">
135 138 <p:commandButton value="#{msg['criarSelecaoSnowballingInterativoVarios.Executar']}"
136 139 title="#{msg['criarSelecaoSnowballingInterativoVarios.ExecutarSnowballing']}"
137 140 action="#{snowballingBean.iniciarProcessoInterativoVariosResultados()}"
138 141 icon="ui-icon-refresh"
139 - ajax="true"
140 - onstart="#{snowballingBean.disableExecutar()}"
141 - oncomplete="#{snowballingBean.disableContinuar()}"
142 + ajax="true"
142 143 disabled="#{snowballingBean.desabilitarBotaoExecutar}"
143 144 iconPos="right"
144 - update="selecInt"/>
145 + update="panelProc,selecInt"/>
145 146
146 147 <p:commandButton value="#{msg['criarSelecaoSnowballingInterativoVarios.Continuar']}"
147 148 title="#{msg['criarSelecaoSnowballingInterativoVarios.ContinuarProcessamento']}"
148 149 action="#{snowballingBean.continuarProcessoInterativo()}"
149 150 icon="ui-icon-play"
150 - iconPos="right"
151 - onstart="#{snowballingBean.disableContinuar()}"
152 - disabled="#{snowballingBean.desabilitarBotaoContinuar}"
153 - oncomplete="#{snowballingBean.disableContinuar()}"
154 - update="selecInt"
151 + iconPos="right"
152 + disabled="#{snowballingBean.desabilitarBotaoContinuar}"
153 + update="panelProc,selecInt"
155 154 ajax="true"/>
156 155
157 156 <p:commandButton value="#{msg['criarSelecaoSnowballingInterativoVarios.Finalizar']}"
158 157 title="#{msg['criarSelecaoSnowballingInterativoVarios.FinalizarProcessamento']}"
159 158 action="#{snowballingBean.finalizarProcessoInterativo()}"
160 159 icon="ui-icon-seek-end"
160 + disabled="#{snowballingBean.desabilitarBotaoConcluir}"
161 + update="panelProc,selecInt"
162 + ajax="true"
161 163 iconPos="right"/>
162 164
163 165 <p:commandButton value="#{msg['criarSelecaoSnowballingInterativoVarios.Cancelar']}"
  @@ -174,6 +176,7 @@
174 176 <p:commandButton title="#{msg['criarSelecaoSnowballingInterativoVarios.SelecionarArtigo']}"
175 177 action="#{snowballingBean.escolherSelecao}"
176 178 icon="ui-icon-check"
179 + ajax="false"
177 180 update="selecInt">
178 181 <f:setPropertyActionListener value="#{sel}"
179 182 target="#{snowballingBean.selecao}"/>
  @@ -185,7 +188,15 @@
185 188 </p:column>
186 189 </p:dataTable>
187 190
191 + <p:ajaxStatus onstart="PF('statusDialog').show()" onsuccess="PF('statusDialog').hide()" />
188 192
193 + <p:dialog widgetVar="statusDialog" modal="true" draggable="false" closable="false" resizable="false" showHeader="false">
194 + <p:panel>
195 + <h:outputLabel value="#{msg['criarSelecaoSnowballingInterativoVarios.InterromperProcesso']}"
196 + style="font-weight: bold"/>
197 + <p:graphicImage name="loadingC.gif" />
198 + </p:panel>
199 + </p:dialog>
189 200 </p:panel>
190 201 </p:tab>
191 202