Subversion Repository Public Repository

ramani

Diff Revisions 339 vs 345 for /Ramani/web/cadastros/criarSelecaoSnowballingInterativoVarios.xhtml

Diff revisions: vs.
  @@ -210,8 +210,75 @@
210 210 style="color: blue; font-weight: bold"/>
211 211 <hr/>
212 212 <br/>
213 - <p:growl/>
214 - <h:panelGrid columns="1"
213 + <p:panel style="font-size: 25px; border-color: transparent">
214 + <h:outputLabel value="Critérios de seleção de artigos"
215 + style="font-weight: bold; color: blue"/>
216 + <h:panelGrid columns="1">
217 + <h:dataTable value="#{snowballingBean.criteriosDeSelecao}"
218 + var="crit"
219 + style="color: blue">
220 + <h:column>
221 + <h:outputText value="#{crit}"/>
222 + </h:column>
223 + </h:dataTable>
224 + </h:panelGrid>
225 + </p:panel>
226 + <hr/>
227 + <br/>
228 + <p:dataTable value="#{snowballingBean.selecoesEscolhidas}"
229 + emptyMessage=""
230 + var="sel">
231 + <p:column headerText="Artigos selecionados"
232 + width="100%">
233 + <h:outputText value="#{sel.artigo.titulo}"/>
234 + </p:column>
235 + <p:column>
236 + <p:commandButton title="Remover seleção"
237 + action="#{snowballingBean.removerSelecao()}"
238 + ajax="false"
239 + icon="ui-icon-minusthick">
240 + <f:setPropertyActionListener value="#{sel}"
241 + target="#{snowballingBean.selecao}"/>
242 + </p:commandButton>
243 + </p:column>
244 + </p:dataTable>
245 +
246 + <h:dataTable id="dados"
247 + value="#{snowballingBean.selecoes}"
248 + var="sel">
249 + <h:column>
250 + <p:commandButton title="Selecionar artigo #{snowballingBean.selecoes.indexOf(sel) + 1}"
251 + action="#{snowballingBean.escolherSelecao()}"
252 + ajax="false"
253 + icon="ui-icon-check">
254 + <f:setPropertyActionListener value="#{sel}"
255 + target="#{snowballingBean.selecao}"/>
256 + </p:commandButton>
257 + </h:column>
258 + <h:column>
259 + <h:outputLabel value="#{snowballingBean.selecoes.indexOf(sel) + 1}."
260 + style="color: blue; font-weight: bold"/>
261 + <h:outputLabel value=" Título: "
262 + style="font-weight: bold"/>
263 + <h:outputText value="#{sel.artigo.titulo}"/>
264 + <br/>
265 + <h:outputLabel value="Abstract: "
266 + style="font-weight: bold"/>
267 + <h:outputText value="#{sel.artigo.abstract1}"/>
268 + <br/>
269 + <h:outputLabel value="Justificativa"
270 + style="font-weight: bold"/>
271 + <br/>
272 + <p:inputTextarea value="#{sel.justificativa}"
273 + rows="3"
274 + autoResize="false"
275 + style="width: 100%"/>
276 + <hr/>
277 + <br/>
278 + </h:column>
279 + </h:dataTable>
280 +
281 + <!-- <h:panelGrid columns="1"
215 282 width="100%">
216 283 <p:selectManyMenu value="#{snowballingBean.artigosSelecionados}"
217 284 showCheckbox="true"
  @@ -230,7 +297,7 @@
230 297 <hr/>
231 298 </p:column>
232 299 </p:selectManyMenu>
233 - </h:panelGrid>
300 + </h:panelGrid>-->
234 301 </p:panel>
235 302 </p:tab>
236 303 <p:tab id="resultado"