Subversion Repository Public Repository

ramani

Diff Revisions 567 vs 568 for /Ramani/web/restrito/graficoLinhaAutor.xhtml

Diff revisions: vs.
  @@ -18,7 +18,6 @@
18 18 <p:layout>
19 19 <h:form id="formLine">
20 20 <p:layoutUnit position="center">
21 - <h:outputStylesheet name="graficoStyle.css"/>
22 21 <center>
23 22 <h:outputLabel value="#{msg['graficoLinhaAutor.GraficoDeLinha']}"
24 23 style="font-size: 25px; font-weight: bold"/>
  @@ -27,13 +26,14 @@
27 26 <p:wizard
28 27 backLabel="Anterior"
29 28 nextLabel="Proximo"
29 + flowListener="#{graficoLinhaBean.verificarElementosMinimos}"
30 30 >
31 31
32 32 <p:tab id="autor" title="#{msg['graficoLinhaAutor.Autor']}">
33 33
34 34 <p:panel header="#{msg['graficoLinhaAutor.SelecioneAutores']}" style="text-align: center">
35 - <p:growl/>
36 - <h:panelGrid id="autorSelecao" columns="3" columnClasses="label, value" styleClass="tabs">
35 + <p:growl showDetail="true" showSummary="true" autoUpdate="true" />
36 + <h:panelGrid id="autorSelecao" columns="3" columnClasses="label, value" style="margin: 0 auto">
37 37
38 38
39 39 <h:outputText value="#{msg['graficoLinhaAutor.Nome']}"/>
  @@ -53,6 +53,7 @@
53 53 value="#{msg['graficoLinhaAfiliacao.Adicionar']}"
54 54 action="#{graficoLinhaBean.adiconarAutor}"
55 55 update="autorSelecao,dtAutor"
56 +
56 57 />
57 58
58 59 </h:panelGrid>
  @@ -76,10 +77,12 @@
76 77
77 78 <p:column headerText="#{msg['graficoLinhaAutor.Remover']}">
78 79 <p:commandButton
80 +
79 81 id="cbRemoverAutor"
80 82 ajax="false"
81 83 icon="ui-icon-trash"
82 - action="#{graficoLinhaBean.removerAutor}"
84 + value="Remover"
85 + action="#{graficoLinhaBean.removerAutor()}"
83 86 >
84 87 <f:setPropertyActionListener
85 88 target="#{graficoLinhaBean.autor}"
  @@ -96,7 +99,7 @@
96 99
97 100 <p:panel header="#{msg['graficoLinhaAfiliacao.SelecionePeriodoProducao']}">
98 101
99 - <h:panelGrid columns="2" columnClasses="label, value" styleClass="tabs" >
102 + <h:panelGrid columns="2" columnClasses="label, value" style="margin: 0 auto">
100 103
101 104 <h:outputLabel value="#{msg['graficoLinhaAfiliacao.Inicio']}"
102 105 style="font-size: 15px; font-weight: bold; text-align: center"/>
  @@ -130,11 +133,11 @@
130 133
131 134 <p:panel >
132 135
133 - <h:panelGrid styleClass="tabs">
136 + <h:panelGrid style="margin: 0 auto">
134 137 <f:ajax render="category">
135 138 <p:lineChart id="category" value="#{graficoLinhaBean.chPeriodoAutores}" legendPosition="ne"
136 139 title="#{msg['graficoLinhaAfiliacao.PublicacoesPeriodoDe']} #{graficoLinhaBean.edicaoIncio} #{msg['graficoLinhaAfiliacao.A']} #{graficoLinhaBean.edicaoFim}"
137 - animate="true" minY="0" maxY="5" style="height:300px; width: 900px; margin: 0 auto" />
140 + animate="true" minY="0" maxY="#{graficoLinhaBean.maxY}" style="height:300px; width: 900px; margin: 0 auto" />
138 141 </f:ajax>
139 142 </h:panelGrid>
140 143 </p:panel>