|
@@ -1,206 +1,178 @@ |
1 |
1 |
|
<?xml version="1.0" encoding="UTF-8"?> |
2 |
2 |
|
<!DOCTYPE html> |
3 |
3 |
|
<html xmlns="http://www.w3.org/1999/xhtml" |
|
4 |
+ |
xmlns:ui="http://java.sun.com/jsf/facelets" |
4 |
5 |
|
xmlns:h="http://java.sun.com/jsf/html" |
5 |
6 |
|
xmlns:p="http://primefaces.org/ui" |
6 |
|
- |
xmlns:f="http://java.sun.com/jsf/core" |
7 |
|
- |
xmlns:ui="http://java.sun.com/jsf/facelets"> |
|
7 |
+ |
xmlns:f="http://java.sun.com/jsf/core"> |
|
8 |
+ |
|
8 |
9 |
|
<h:head/> |
9 |
10 |
|
<h:body> |
10 |
11 |
|
<ui:composition template="../template.xhtml"> |
11 |
12 |
|
<ui:define name="caminho"> |
12 |
|
- |
<h:outputLabel value="#{msg['criarSelecaoEscolha.Caminho']}" |
|
13 |
+ |
<h:outputLabel value="#{msg['graficoLinhaAfiliacao.Caminho']}" |
13 |
14 |
|
style="font-weight: bold"/> |
14 |
15 |
|
</ui:define> |
15 |
16 |
|
|
16 |
17 |
|
<ui:define name="conteudoCentro"> |
17 |
18 |
|
<p:layout> |
18 |
|
- |
<h:form id="form"> |
19 |
|
- |
<p:layoutUnit position="west"> |
20 |
|
- |
<h:panelGroup id="pgroup"> |
21 |
|
- |
<center> |
22 |
|
- |
<h:outputLabel value="#{msg['criarSelecaoEscolha.Menu']}" |
23 |
|
- |
style="font-size: 25px; font-weight: bold"/> |
24 |
|
- |
<hr/> |
25 |
|
- |
<p:commandButton value="#{msg['criarSelecaoEscolha.Salvar']}" |
26 |
|
- |
title="#{msg['criarSelecaoEscolha.SalvarSelecoes']}" |
27 |
|
- |
action="#{selecaoBean.criarSelecoes()}" |
28 |
|
- |
disabled="#{selecaoBean.desabilitarBotaoSalvar or !selecaoBean.wizard.step.equals('selecoes')}" |
29 |
|
- |
style="width: 99%" |
30 |
|
- |
ajax="false" |
31 |
|
- |
icon="ui-icon-disk" |
32 |
|
- |
iconPos="right"/> |
33 |
|
- |
<p:commandButton value="#{msg['criarSelecaoEscolha.Proximo']}" |
34 |
|
- |
title="#{msg['criarSelecaoEscolha.ProximaTab']}" |
35 |
|
- |
onclick="wiz.next();" |
36 |
|
- |
style="width: 99%" |
37 |
|
- |
update="pgroup" |
38 |
|
- |
disabled="#{selecaoBean.wizard.step.equals('selecoes')}" |
39 |
|
- |
icon="ui-icon-arrowthick-1-e" |
40 |
|
- |
iconPos="right"/> |
41 |
|
- |
<p:commandButton value="#{msg['criarSelecaoEscolha.Anterior']}" |
42 |
|
- |
title="#{msg['criarSelecaoEscolha.AnteriorTab']}" |
43 |
|
- |
onclick="wiz.back();" |
44 |
|
- |
style="width: 99%" |
45 |
|
- |
update="pgroup" |
46 |
|
- |
disabled="#{selecaoBean.desabilitarBotaoAnterior or selecaoBean.wizard.step.equals('proj')}" |
47 |
|
- |
icon="ui-icon-arrowthick-1-w" |
48 |
|
- |
iconPos="right"/> |
49 |
|
- |
<p:commandButton value="#{msg['criarSelecaoEscolha.Voltar']}" |
50 |
|
- |
title="#{msg['criarSelecaoEscolha.VoltarPaginaInicial']}" |
51 |
|
- |
action="/projeto/listarProjetos.xhtml" |
52 |
|
- |
style="width: 99%" |
53 |
|
- |
ajax="false" |
54 |
|
- |
immediate="true" |
55 |
|
- |
icon="ui-icon-arrowreturnthick-1-w" |
56 |
|
- |
iconPos="right"/> |
57 |
|
- |
</center> |
58 |
|
- |
</h:panelGroup> |
59 |
|
- |
</p:layoutUnit> |
|
19 |
+ |
<h:form id="formCrSelecao"> |
|
20 |
+ |
|
60 |
21 |
|
<p:layoutUnit position="center"> |
61 |
|
- |
<center> |
62 |
|
- |
<h:outputLabel value="#{msg['criarSelecaoEscolha.SelecaoArtigosEscolha']}" |
63 |
|
- |
style="font-size: 25px; font-weight: bold"/> |
64 |
|
- |
</center> |
65 |
|
- |
<hr/> |
66 |
|
- |
<p:panel style="border-color: transparent"> |
67 |
|
- |
<p:wizard widgetVar="wiz" |
68 |
|
- |
binding="#{selecaoBean.wizard}" |
69 |
|
- |
flowListener="#{selecaoBean.onFlowProcess}" |
70 |
|
- |
showNavBar="false"> |
71 |
|
- |
<p:tab id="proj" |
72 |
|
- |
title="#{msg['criarSelecaoEscolha.Projeto']}"> |
73 |
|
- |
<p:panel> |
74 |
|
- |
<h:outputLabel value="#{msg['criarSelecaoEscolha.EscolhaProjeto']}" |
75 |
|
- |
style="color: blue; font-weight: bold"/> |
76 |
|
- |
<hr/> |
77 |
|
- |
<br/> |
78 |
|
- |
<p:growl/> |
79 |
|
- |
<h:panelGrid columns="1" |
80 |
|
- |
width="100%"> |
81 |
|
- |
<p:selectOneMenu value="#{selecaoBean.projeto}" |
82 |
|
- |
converter="ProjetoConverter"> |
83 |
|
- |
<f:selectItems value="#{selecaoBean.projetos}" |
84 |
|
- |
var="projeto" |
85 |
|
- |
itemLabel="#{projeto.titulo}"/> |
86 |
|
- |
</p:selectOneMenu> |
87 |
|
- |
</h:panelGrid> |
88 |
|
- |
</p:panel> |
89 |
|
- |
</p:tab> |
90 |
|
- |
<p:tab id="conferenc" |
91 |
|
- |
title="#{msg['criarSelecaoEscolha.Conferencias']}"> |
92 |
|
- |
<p:growl/> |
93 |
|
- |
<p:panel> |
94 |
|
- |
<h:outputLabel value="#{msg['criarSelecaoEscolha.SelecioneConferencias']}" |
95 |
|
- |
style="color: blue; font-weight: bold"/> |
96 |
|
- |
<br/> |
97 |
|
- |
<h:outputText value="#{msg['criarSelecaoEscolha.ConferenciasDevemEstarSelecionadas']}" |
98 |
|
- |
style="color: red; font-weight: bold"/> |
99 |
|
- |
<hr/> |
100 |
|
- |
<br/> |
101 |
|
- |
<p:selectManyCheckbox id="selectCon" |
102 |
|
- |
value="#{selecaoBean.conferenciasSelecionadas}" |
103 |
|
- |
converter="ConferenciaConverter" |
104 |
|
- |
layout="pageDirection"> |
105 |
|
- |
<f:selectItems value="#{selecaoBean.projeto.conferenciaList}" |
106 |
|
- |
var="conf" |
107 |
|
- |
itemLabel="#{conf.sigla} - #{conf.nome}"/> |
108 |
|
- |
</p:selectManyCheckbox> |
109 |
|
- |
</p:panel> |
110 |
|
- |
</p:tab> |
111 |
|
- |
<p:tab id="list" |
112 |
|
- |
title="#{msg['criarSelecaoEscolha.Artigos']}"> |
113 |
|
- |
<p:panel> |
114 |
|
- |
<h:outputLabel value="#{msg['criarSelecaoEscolha. SelecioneArtigos']}" |
115 |
|
- |
style="color: blue; font-weight: bold"/> |
116 |
|
- |
<hr/> |
117 |
|
- |
<h:panelGrid columns="1" |
118 |
|
- |
style="width: 100%"> |
119 |
|
- |
<p:panel style="font-size: 25px; border-color: transparent"> |
120 |
|
- |
<h:outputLabel value="#{msg['criarSelecaoEscolha.CriteriosSelecaoArtigos']}" |
121 |
|
- |
style="font-weight: bold; color: blue"/> |
122 |
|
- |
<h:panelGrid columns="1"> |
123 |
|
- |
<h:dataTable value="#{selecaoBean.criteriosDeSelecao}" |
124 |
|
- |
var="crit" |
125 |
|
- |
style="color: blue"> |
126 |
|
- |
<h:column> |
127 |
|
- |
<h:outputText value="#{crit}"/> |
128 |
|
- |
</h:column> |
129 |
|
- |
</h:dataTable> |
130 |
|
- |
</h:panelGrid> |
131 |
|
- |
</p:panel> |
132 |
|
- |
<hr/> |
|
22 |
+ |
<p:wizard |
|
23 |
+ |
backLabel="Anterior" |
|
24 |
+ |
nextLabel="Proximo" |
|
25 |
+ |
> |
|
26 |
+ |
<p:tab id="projetoTab" title="#{msg['criarSelecaoEscolha.Projeto']}"> |
|
27 |
+ |
<p:panel> |
|
28 |
+ |
<h:outputLabel value="#{msg['criarSelecaoEscolha.EscolhaProjeto']}" |
|
29 |
+ |
style="color: blue; font-weight: bold"/> |
|
30 |
+ |
<p:growl severity="true" showDetail="true" showSummary="true" /> |
|
31 |
+ |
<h:panelGrid columns="1" |
|
32 |
+ |
width="100%"> |
|
33 |
+ |
<p:selectOneMenu value="#{selecaoBean.projeto}" |
|
34 |
+ |
converter="ProjetoConverter"> |
|
35 |
+ |
<f:selectItems value="#{selecaoBean.projetos}" |
|
36 |
+ |
var="projeto" |
|
37 |
+ |
itemLabel="#{projeto.titulo}"/> |
|
38 |
+ |
</p:selectOneMenu> |
|
39 |
+ |
</h:panelGrid> |
|
40 |
+ |
</p:panel> |
|
41 |
+ |
</p:tab> |
|
42 |
+ |
|
|
43 |
+ |
<p:tab id="conferenciaTab" title="#{msg['criarSelecaoEscolha.Conferencias']}"> |
|
44 |
+ |
<p:panel > |
|
45 |
+ |
<h:outputLabel value="#{msg['criarSelecaoEscolha.SelecioneConferencias']}" |
|
46 |
+ |
style="color: blue; font-weight: bold"/> |
|
47 |
+ |
<br/> |
|
48 |
+ |
<h:outputText value="#{msg['criarSelecaoEscolha.ConferenciasDevemEstarSelecionadas']}" |
|
49 |
+ |
style="color: red; font-weight: bold"/> |
|
50 |
+ |
<br/> |
|
51 |
+ |
<hr/> |
|
52 |
+ |
<p:selectManyCheckbox id="selectCon" |
|
53 |
+ |
value="#{selecaoBean.conferenciasSelecionadas}" |
|
54 |
+ |
converter="ConferenciaConverter" |
|
55 |
+ |
layout="pageDirection"> |
|
56 |
+ |
<f:selectItems value="#{selecaoBean.projeto.conferenciaList}" |
|
57 |
+ |
var="conf" |
|
58 |
+ |
itemLabel="#{conf.sigla} - #{conf.nome}"/> |
|
59 |
+ |
</p:selectManyCheckbox> |
|
60 |
+ |
</p:panel> |
|
61 |
+ |
</p:tab> |
|
62 |
+ |
|
|
63 |
+ |
<p:tab id="artigoTab" title="#{msg['criarSelecaoEscolha.Artigos']}"> |
|
64 |
+ |
<p:panel id="pSelectEscc"> |
|
65 |
+ |
<h:outputLabel value="#{msg['criarSelecaoEscolha.SelecioneArtigos']}" |
|
66 |
+ |
style="color: blue; font-weight: bold"/> |
|
67 |
+ |
<hr/> |
|
68 |
+ |
|
|
69 |
+ |
|
|
70 |
+ |
<h:outputLabel value="#{msg['criarSelecaoEscolha.CriteriosSelecaoArtigos']}" |
|
71 |
+ |
style="font-weight: bold; color: blue"/> |
|
72 |
+ |
<h:panelGrid columns="1"> |
|
73 |
+ |
<h:dataTable id="tabEsc" |
|
74 |
+ |
value="#{selecaoBean.criteriosDeSelecao}" |
|
75 |
+ |
var="crit" |
|
76 |
+ |
style="color: blue"> |
|
77 |
+ |
<h:column> |
|
78 |
+ |
<h:outputText value="#{crit}"/> |
|
79 |
+ |
</h:column> |
|
80 |
+ |
</h:dataTable> |
|
81 |
+ |
</h:panelGrid> |
|
82 |
+ |
|
|
83 |
+ |
<hr/> |
|
84 |
+ |
|
|
85 |
+ |
<p:dataTable id="dados" |
|
86 |
+ |
value="#{selecaoBean.selecoes}" |
|
87 |
+ |
|
|
88 |
+ |
paginator="true" |
|
89 |
+ |
rows="10" |
|
90 |
+ |
var="sel"> |
|
91 |
+ |
<p:column> |
|
92 |
+ |
<p:commandButton id="selecionar" |
|
93 |
+ |
title="#{msg['criarSelecaoEscolha.SelecionarArtigo']} #{selecaoBean.selecoes.indexOf(sel) + 1}" |
|
94 |
+ |
ajax="false" |
|
95 |
+ |
icon="ui-icon-check" |
|
96 |
+ |
action="#{selecaoBean.escolherSelecao}" |
|
97 |
+ |
value="Selecionar" |
|
98 |
+ |
> |
|
99 |
+ |
<f:setPropertyActionListener |
|
100 |
+ |
target="#{selecaoBean.selecao}" |
|
101 |
+ |
value="#{sel}"/> |
|
102 |
+ |
<p:ajax immediate="true"/> |
|
103 |
+ |
</p:commandButton> |
|
104 |
+ |
</p:column> |
|
105 |
+ |
|
|
106 |
+ |
<p:column headerText="Artigo"> |
|
107 |
+ |
<h:outputLabel value="#{selecaoBean.selecoes.indexOf(sel) + 1}." |
|
108 |
+ |
style="color: blue; font-weight: bold"/> |
|
109 |
+ |
<h:outputLabel value="#{msg['criarSelecaoEscolha.Titulo']}" |
|
110 |
+ |
style="font-weight: bold"/> |
|
111 |
+ |
<h:outputText value="#{sel.artigo.titulo}"/> |
133 |
112 |
|
<br/> |
134 |
|
- |
<h:dataTable id="dados" |
135 |
|
- |
value="#{selecaoBean.selecoes}" |
136 |
|
- |
var="sel"> |
137 |
|
- |
<h:column> |
138 |
|
- |
<p:commandButton id="selecionar" |
139 |
|
- |
title="#{msg['criarSelecaoEscolha.SelecionarArtigo']} #{selecaoBean.selecoes.indexOf(sel) + 1}" |
140 |
|
- |
action="#{selecaoBean.escolherSelecao()}" |
141 |
|
- |
ajax="false" |
142 |
|
- |
icon="ui-icon-check"> |
143 |
|
- |
<f:setPropertyActionListener value="#{sel}" |
144 |
|
- |
target="#{selecaoBean.selecao}"/> |
145 |
|
- |
</p:commandButton> |
146 |
|
- |
</h:column> |
147 |
|
- |
<h:column> |
148 |
|
- |
<h:outputLabel value="#{selecaoBean.selecoes.indexOf(sel) + 1}." |
149 |
|
- |
style="color: blue; font-weight: bold"/> |
150 |
|
- |
<h:outputLabel value="#{msg['criarSelecaoEscolha.Titulo']}" |
151 |
|
- |
style="font-weight: bold"/> |
152 |
|
- |
<h:outputText value="#{sel.artigo.titulo}"/> |
153 |
|
- |
<br/> |
154 |
|
- |
<h:outputLabel value="#{msg['criarSelecaoEscolha.Abstract']}" |
155 |
|
- |
style="font-weight: bold"/> |
156 |
|
- |
<h:outputText value="#{sel.artigo.abstract1}"/> |
157 |
|
- |
<br/> |
158 |
|
- |
<h:panelGrid columns="1" |
159 |
|
- |
width="100%"> |
160 |
|
- |
<h:outputLabel value="#{msg['criarSelecaoEscolha.Justificativa']}" |
161 |
|
- |
style="font-weight: bold"/> |
162 |
|
- |
<p:inputTextarea value="#{sel.justificativa}" |
163 |
|
- |
rows="3" |
164 |
|
- |
autoResize="false" |
165 |
|
- |
style="width: 100%"/> |
166 |
|
- |
</h:panelGrid> |
167 |
|
- |
<hr/> |
168 |
|
- |
<br/> |
169 |
|
- |
</h:column> |
170 |
|
- |
</h:dataTable> |
171 |
|
- |
</h:panelGrid> |
172 |
|
- |
</p:panel> |
173 |
|
- |
</p:tab> |
174 |
|
- |
<p:tab id="selecoes" |
175 |
|
- |
title="#{msg['criarSelecaoEscolha.Selecoes']}"> |
176 |
|
- |
<p:panel> |
177 |
|
- |
<h:outputLabel value="#{msg['criarSelecaoEscolha.ArtigosSelecionadosExtendido']}" |
178 |
|
- |
style="color: blue; font-weight: bold"/> |
179 |
|
- |
<hr/> |
180 |
|
- |
<br/> |
181 |
|
- |
<p:dataTable value="#{selecaoBean.selecoesEscolhidas}" |
182 |
|
- |
emptyMessage="" |
183 |
|
- |
var="sel"> |
184 |
|
- |
<p:column headerText="#{msg['criarSelecaoEscolha.ArtigosSelecionados']}" |
185 |
|
- |
width="100%"> |
186 |
|
- |
<h:outputText value="#{sel.artigo.titulo}"/> |
187 |
|
- |
</p:column> |
188 |
|
- |
<p:column> |
189 |
|
- |
<p:commandButton title="#{msg['criarSelecaoEscolha.RemoverSelecao']}" |
190 |
|
- |
action="#{selecaoBean.removerSelecao()}" |
191 |
|
- |
ajax="false" |
192 |
|
- |
icon="ui-icon-minusthick"> |
193 |
|
- |
<f:setPropertyActionListener value="#{sel}" |
194 |
|
- |
target="#{selecaoBean.selecao}"/> |
195 |
|
- |
</p:commandButton> |
196 |
|
- |
</p:column> |
197 |
|
- |
</p:dataTable> |
198 |
|
- |
</p:panel> |
199 |
|
- |
</p:tab> |
200 |
|
- |
</p:wizard> |
201 |
|
- |
</p:panel> |
|
113 |
+ |
<h:outputLabel value="#{msg['criarSelecaoEscolha.Abstract']}" |
|
114 |
+ |
style="font-weight: bold"/> |
|
115 |
+ |
<h:outputText value="#{sel.artigo.abstract1}"/> |
|
116 |
+ |
<br/> |
|
117 |
+ |
<p:panel |
|
118 |
+ |
|
|
119 |
+ |
style="border: none"> |
|
120 |
+ |
<h:outputLabel value="#{msg['criarSelecaoEscolha.Justificativa']}" |
|
121 |
+ |
style="font-weight: bold"/> |
|
122 |
+ |
<p:inputTextarea value="#{sel.justificativa}" |
|
123 |
+ |
rows="3" |
|
124 |
+ |
autoResize="false" |
|
125 |
+ |
style="width: 100%"/> |
|
126 |
+ |
</p:panel> |
|
127 |
+ |
<br/> |
|
128 |
+ |
</p:column> |
|
129 |
+ |
</p:dataTable> |
|
130 |
+ |
|
|
131 |
+ |
</p:panel> |
|
132 |
+ |
</p:tab> |
|
133 |
+ |
|
|
134 |
+ |
<p:tab id="selecaoTab" title="#{msg['criarSelecaoEscolha.Selecoes']}"> |
|
135 |
+ |
<p:panel> |
|
136 |
+ |
<h:outputLabel value="#{msg['criarSelecaoEscolha.ArtigosSelecionadosExtendido']}" |
|
137 |
+ |
style="color: blue; font-weight: bold"/> |
|
138 |
+ |
<hr/> |
|
139 |
+ |
<br/> |
|
140 |
+ |
<p:commandButton value="#{msg['criarSelecaoEscolha.Salvar']}" |
|
141 |
+ |
title="#{msg['criarSelecaoEscolha.SalvarSelecoes']}" |
|
142 |
+ |
action="#{selecaoBean.criarSelecoes()}" |
|
143 |
+ |
style="width: 100%;" |
|
144 |
+ |
ajax="false" |
|
145 |
+ |
iconPos="right"/> |
|
146 |
+ |
<br/> |
|
147 |
+ |
<br/> |
|
148 |
+ |
<p:dataTable value="#{selecaoBean.selecoesEscolhidas}" |
|
149 |
+ |
emptyMessage="" |
|
150 |
+ |
var="sel"> |
|
151 |
+ |
<p:column headerText="#{msg['criarSelecaoEscolha.ArtigosSelecionados']}" |
|
152 |
+ |
width="100%"> |
|
153 |
+ |
<h:outputText value="#{sel.artigo.titulo}"/> |
|
154 |
+ |
</p:column> |
|
155 |
+ |
<p:column> |
|
156 |
+ |
<p:commandButton title="#{msg['criarSelecaoEscolha.RemoverSelecao']}" |
|
157 |
+ |
action="#{selecaoBean.removerSelecao()}" |
|
158 |
+ |
ajax="false" |
|
159 |
+ |
icon="ui-icon-minusthick" |
|
160 |
+ |
value="Remover"> |
|
161 |
+ |
<f:setPropertyActionListener value="#{sel}" |
|
162 |
+ |
target="#{selecaoBean.selecao}"/> |
|
163 |
+ |
</p:commandButton> |
|
164 |
+ |
</p:column> |
|
165 |
+ |
</p:dataTable> |
|
166 |
+ |
</p:panel> |
|
167 |
+ |
|
|
168 |
+ |
</p:tab> |
|
169 |
+ |
|
|
170 |
+ |
</p:wizard> |
|
171 |
+ |
|
|
172 |
+ |
|
202 |
173 |
|
</p:layoutUnit> |
203 |
174 |
|
</h:form> |
|
175 |
+ |
|
204 |
176 |
|
</p:layout> |
205 |
177 |
|
</ui:define> |
206 |
178 |
|
</ui:composition> |