fix tables display in chrome

git-svn-id: https://svn.coded.pt/svn/SIPRP@1683 bb69d46d-e84e-40c8-a05a-06db0d633741
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
Diogo Neves 15 years ago
parent 48b846f0a2
commit dc672da3c4

@ -525,31 +525,35 @@ exists or setup the property manually. For example like this:
<copyfiles files="${libs.rowset-ri.classpath}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.libs.rowset-ri.classpath" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.activation.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.activation.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.avalon-framework-4.2.0.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.avalon-framework-4.2.0.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.iText-2.0.8.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.iText-2.0.8.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.batik-all-1.7.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.batik-all-1.7.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.commons-collections-3.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.commons-collections-3.1.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.commons-digester-1.7.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.commons-digester-1.7.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.commons-httpclient-3.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.commons-httpclient-3.1.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.commons-io-1.4.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.commons-io-1.4.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.commons-lang-2.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.commons-lang-2.1.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.commons-logging-1.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.commons-logging-1.1.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.commons-validator-1.3.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.commons-validator-1.3.1.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.commons-vfs-1.0.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.commons-vfs-1.0.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.evologger.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.evologger.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.evolute.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.evolute.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.fop.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.fop.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.xmlgraphics-commons-1.3.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.xmlgraphics-commons-1.3.1.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.httpclient-4.0.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.httpclient-4.0.1.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.iText-2.0.8.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.iText-2.0.8.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.jai_imageio.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.jai_imageio.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.jakarta-oro-2.0.8.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.jakarta-oro-2.0.8.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.jdom.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.jdom.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.log4j-1.2.15.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.log4j-1.2.15.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.mail.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.mail.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.evolute.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.evolute.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.postgresql-8.4-701.jdbc4.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.postgresql-8.4-701.jdbc4.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.evologger.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.evologger.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.poi-3.5-beta6-20090622.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.poi-3.5-beta6-20090622.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.poi-ooxml-3.5-beta6-20090622.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.poi-ooxml-3.5-beta6-20090622.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.postgresql-8.4-701.jdbc4.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.postgresql-8.4-701.jdbc4.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.serializer-2.7.0.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.serializer-2.7.0.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.shst.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.shst.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.xalan-2.7.0.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.xalan-2.7.0.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.commons-io-1.4.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.commons-io-1.4.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.commons-logging-1.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.commons-logging-1.1.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.log4j-1.2.15.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.log4j-1.2.15.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.xercesImpl-2.7.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.xercesImpl-2.7.1.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.xml-apis-1.3.04.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.xml-apis-1.3.04.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.xml-apis-ext-1.3.04.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.xml-apis-ext-1.3.04.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.serializer-2.7.0.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.serializer-2.7.0.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.commons-collections-3.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.commons-collections-3.1.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.commons-lang-2.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.commons-lang-2.1.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.commons-validator-1.3.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.commons-validator-1.3.1.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.jakarta-oro-2.0.8.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.jakarta-oro-2.0.8.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.shst.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.shst.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${file.reference.xmlgraphics-commons-1.3.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.file.reference.xmlgraphics-commons-1.3.1.jar" todir="${dist.ear.dir}"/>
<copyfiles files="${libs.jsf-runtime.classpath}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${libs.jsfsupport-runtime.classpath}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${libs.webui-runtime.classpath}" todir="${build.web.dir}/WEB-INF/lib"/>
@ -559,7 +563,7 @@ exists or setup the property manually. For example like this:
<copyfiles files="${libs.jstl11.classpath}" todir="${build.web.dir}/WEB-INF/lib"/>
<mkdir dir="${build.web.dir}/META-INF"/>
<manifest file="${build.web.dir}/META-INF/MANIFEST.MF" mode="update">
<attribute name="Class-Path" value="${manifest.libs.jsf-designtime.classpath} ${manifest.libs.jsfsupport-designtime.classpath} ${manifest.libs.webui-designtime.classpath} ${manifest.libs.jdbcsupport-designtime.classpath} ${manifest.libs.theme-default.classpath} ${manifest.libs.jstl11.classpath} ${manifest.libs.rowset-ri.classpath} ${manifest.file.reference.activation.jar} ${manifest.file.reference.avalon-framework-4.2.0.jar} ${manifest.file.reference.iText-2.0.8.jar} ${manifest.file.reference.batik-all-1.7.jar} ${manifest.file.reference.fop.jar} ${manifest.file.reference.xmlgraphics-commons-1.3.1.jar} ${manifest.file.reference.jai_imageio.jar} ${manifest.file.reference.jdom.jar} ${manifest.file.reference.mail.jar} ${manifest.file.reference.evolute.jar} ${manifest.file.reference.postgresql-8.4-701.jdbc4.jar} ${manifest.file.reference.evologger.jar} ${manifest.file.reference.poi-3.5-beta6-20090622.jar} ${manifest.file.reference.poi-ooxml-3.5-beta6-20090622.jar} ${manifest.file.reference.xalan-2.7.0.jar} ${manifest.file.reference.commons-io-1.4.jar} ${manifest.file.reference.commons-logging-1.1.jar} ${manifest.file.reference.log4j-1.2.15.jar} ${manifest.file.reference.xercesImpl-2.7.1.jar} ${manifest.file.reference.xml-apis-1.3.04.jar} ${manifest.file.reference.xml-apis-ext-1.3.04.jar} ${manifest.file.reference.serializer-2.7.0.jar} ${manifest.file.reference.commons-collections-3.1.jar} ${manifest.file.reference.commons-lang-2.1.jar} ${manifest.file.reference.commons-validator-1.3.1.jar} ${manifest.file.reference.jakarta-oro-2.0.8.jar} ${manifest.file.reference.shst.jar} "/>
<attribute name="Class-Path" value="${manifest.libs.jsf-designtime.classpath} ${manifest.libs.jsfsupport-designtime.classpath} ${manifest.libs.webui-designtime.classpath} ${manifest.libs.jdbcsupport-designtime.classpath} ${manifest.libs.theme-default.classpath} ${manifest.libs.jstl11.classpath} ${manifest.libs.rowset-ri.classpath} ${manifest.file.reference.activation.jar} ${manifest.file.reference.avalon-framework-4.2.0.jar} ${manifest.file.reference.batik-all-1.7.jar} ${manifest.file.reference.commons-collections-3.1.jar} ${manifest.file.reference.commons-digester-1.7.jar} ${manifest.file.reference.commons-httpclient-3.1.jar} ${manifest.file.reference.commons-io-1.4.jar} ${manifest.file.reference.commons-lang-2.1.jar} ${manifest.file.reference.commons-logging-1.1.jar} ${manifest.file.reference.commons-validator-1.3.1.jar} ${manifest.file.reference.commons-vfs-1.0.jar} ${manifest.file.reference.evologger.jar} ${manifest.file.reference.evolute.jar} ${manifest.file.reference.fop.jar} ${manifest.file.reference.httpclient-4.0.1.jar} ${manifest.file.reference.iText-2.0.8.jar} ${manifest.file.reference.jai_imageio.jar} ${manifest.file.reference.jakarta-oro-2.0.8.jar} ${manifest.file.reference.jdom.jar} ${manifest.file.reference.log4j-1.2.15.jar} ${manifest.file.reference.mail.jar} ${manifest.file.reference.poi-3.5-beta6-20090622.jar} ${manifest.file.reference.poi-ooxml-3.5-beta6-20090622.jar} ${manifest.file.reference.postgresql-8.4-701.jdbc4.jar} ${manifest.file.reference.serializer-2.7.0.jar} ${manifest.file.reference.shst.jar} ${manifest.file.reference.xalan-2.7.0.jar} ${manifest.file.reference.xercesImpl-2.7.1.jar} ${manifest.file.reference.xml-apis-1.3.04.jar} ${manifest.file.reference.xml-apis-ext-1.3.04.jar} ${manifest.file.reference.xmlgraphics-commons-1.3.1.jar} "/>
</manifest>
</target>
<target depends="init" name="library-inclusion-in-archive" unless="dist.ear.dir">
@ -572,31 +576,35 @@ exists or setup the property manually. For example like this:
<copyfiles files="${libs.rowset-ri.classpath}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.activation.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.avalon-framework-4.2.0.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.iText-2.0.8.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.batik-all-1.7.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.commons-collections-3.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.commons-digester-1.7.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.commons-httpclient-3.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.commons-io-1.4.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.commons-lang-2.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.commons-logging-1.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.commons-validator-1.3.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.commons-vfs-1.0.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.evologger.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.evolute.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.fop.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.xmlgraphics-commons-1.3.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.httpclient-4.0.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.iText-2.0.8.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.jai_imageio.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.jakarta-oro-2.0.8.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.jdom.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.log4j-1.2.15.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.mail.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.evolute.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.postgresql-8.4-701.jdbc4.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.evologger.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.poi-3.5-beta6-20090622.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.poi-ooxml-3.5-beta6-20090622.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.postgresql-8.4-701.jdbc4.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.serializer-2.7.0.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.shst.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.xalan-2.7.0.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.commons-io-1.4.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.commons-logging-1.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.log4j-1.2.15.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.xercesImpl-2.7.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.xml-apis-1.3.04.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.xml-apis-ext-1.3.04.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.serializer-2.7.0.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.commons-collections-3.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.commons-lang-2.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.commons-validator-1.3.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.jakarta-oro-2.0.8.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.shst.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.xmlgraphics-commons-1.3.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${libs.jsf-runtime.classpath}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${libs.jsfsupport-runtime.classpath}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${libs.webui-runtime.classpath}" todir="${build.web.dir}/WEB-INF/lib"/>

@ -2,12 +2,12 @@
<Scene Scope="Project" version="2">
<Scope Scope="Faces Configuration Only"/>
<Scope Scope="Project">
<Node id="GestaoUtilizadores.jsp" x="900" y="150" zoom="true"/>
<Node id="RecuperarPassword.jsp" x="900" y="300" zoom="true"/>
<Node id="GestaoUtilizadores.jsp" x="900" y="150" zoom="true"/>
<Node id="FormDirGerRh.jsp" x="150" y="150" zoom="true"/>
<Node id="FormGestor.jsp" x="1150" y="150" zoom="true"/>
<Node id="Erro.jsp" x="650" y="450" zoom="true"/>
<Node id="Acesso.jsp" x="400" y="750" zoom="true"/>
<Node id="Erro.jsp" x="650" y="450" zoom="true"/>
<Node id="FormRH.jsp" x="400" y="150" zoom="true"/>
<Node id="EstatisticasProcesso.jsp" x="150" y="900" zoom="true"/>
<Node id="AnaliseAcidenteTrabalho.jsp" x="150" y="300" zoom="true"/>
@ -22,8 +22,8 @@
<Node id="ConfirmarDesactivar.jsp" x="1650" y="150" zoom="true"/>
<Node id="Dummy.jsp" x="150" y="750" zoom="true"/>
<Node id="LoadImage.jsp" x="400" y="600" zoom="true"/>
<Node id="ViewAnaliseAcidenteTrabalho.jsp" x="650" y="300" zoom="true"/>
<Node id="Login.jsp" x="400" y="300" zoom="true"/>
<Node id="ViewAnaliseAcidenteTrabalho.jsp" x="650" y="300" zoom="true"/>
</Scope>
<Scope Scope="All Faces Configurations"/>
</Scene>

@ -1,8 +1,8 @@
build.xml.data.CRC32=8edae352
build.xml.data.CRC32=328cf086
build.xml.script.CRC32=97b5d0ef
build.xml.stylesheet.CRC32=c0ebde35@1.15.2.1
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
nbproject/build-impl.xml.data.CRC32=8edae352
nbproject/build-impl.xml.script.CRC32=44c2e1c7
nbproject/build-impl.xml.data.CRC32=328cf086
nbproject/build-impl.xml.script.CRC32=8e640846
nbproject/build-impl.xml.stylesheet.CRC32=8ab4467e@1.15.2.1

@ -6,12 +6,12 @@
<Node id="RecuperarPassword.jsp" x="150" y="600" zoom="true"/>
<Node id="FormDirGerRh.jsp" x="150" y="450" zoom="true"/>
<Node id="FormGestor.jsp" x="650" y="300" zoom="true"/>
<Node id="Erro.jsp" x="900" y="300" zoom="true"/>
<Node id="Acesso.jsp" x="650" y="150" zoom="true"/>
<Node id="Erro.jsp" x="900" y="300" zoom="true"/>
<Node id="FormRH.jsp" x="400" y="450" zoom="true"/>
<Node id="EstatisticasProcesso.jsp" x="150" y="900" zoom="true"/>
<Node id="AnaliseAcidenteTrabalho.jsp" x="900" y="150" zoom="true"/>
<Node id="FormSeguranca.jsp" x="400" y="150" zoom="true"/>
<Node id="AnaliseAcidenteTrabalho.jsp" x="900" y="150" zoom="true"/>
<Node id="NovoUtilizador.jsp" x="150" y="300" zoom="true"/>
<Node id="FormDirSiprp.jsp" x="1400" y="150" zoom="true"/>
<Node id="FichaUtilizador.jsp" x="900" y="450" zoom="true"/>

@ -6,8 +6,8 @@
<Node id="RecuperarPassword.jsp" x="400" y="150" zoom="true"/>
<Node id="FormDirGerRh.jsp" x="150" y="750" zoom="true"/>
<Node id="FormGestor.jsp" x="400" y="300" zoom="true"/>
<Node id="Erro.jsp" x="650" y="450" zoom="true"/>
<Node id="Acesso.jsp" x="400" y="750" zoom="false"/>
<Node id="Erro.jsp" x="650" y="450" zoom="true"/>
<Node id="FormRH.jsp" x="400" y="600" zoom="true"/>
<Node id="EstatisticasProcesso.jsp" x="150" y="900" zoom="true"/>
<Node id="FormSeguranca.jsp" x="1150" y="150" zoom="true"/>

@ -24,13 +24,17 @@ file.reference.activation.jar=lib/activation.jar
file.reference.avalon-framework-4.2.0.jar=lib/avalon-framework-4.2.0.jar
file.reference.batik-all-1.7.jar=lib/batik-all-1.7.jar
file.reference.commons-collections-3.1.jar=lib/commons-collections-3.1.jar
file.reference.commons-digester-1.7.jar=lib/commons-digester-1.7.jar
file.reference.commons-httpclient-3.1.jar=lib/commons-httpclient-3.1.jar
file.reference.commons-io-1.4.jar=lib/commons-io-1.4.jar
file.reference.commons-lang-2.1.jar=lib/commons-lang-2.1.jar
file.reference.commons-logging-1.1.jar=lib/commons-logging-1.1.jar
file.reference.commons-validator-1.3.1.jar=lib/commons-validator-1.3.1.jar
file.reference.commons-vfs-1.0.jar=lib/commons-vfs-1.0.jar
file.reference.evologger.jar=lib/evologger.jar
file.reference.evolute.jar=lib/evolute.jar
file.reference.fop.jar=lib/fop.jar
file.reference.httpclient-4.0.1.jar=lib/httpclient-4.0.1.jar
file.reference.iText-2.0.8.jar=lib/iText-2.0.8.jar
file.reference.jai_imageio.jar=lib/jai_imageio.jar
file.reference.jakarta-oro-2.0.8.jar=lib/jakarta-oro-2.0.8.jar
@ -62,31 +66,35 @@ javac.classpath=\
${libs.rowset-ri.classpath}:\
${file.reference.activation.jar}:\
${file.reference.avalon-framework-4.2.0.jar}:\
${file.reference.iText-2.0.8.jar}:\
${file.reference.batik-all-1.7.jar}:\
${file.reference.commons-collections-3.1.jar}:\
${file.reference.commons-digester-1.7.jar}:\
${file.reference.commons-httpclient-3.1.jar}:\
${file.reference.commons-io-1.4.jar}:\
${file.reference.commons-lang-2.1.jar}:\
${file.reference.commons-logging-1.1.jar}:\
${file.reference.commons-validator-1.3.1.jar}:\
${file.reference.commons-vfs-1.0.jar}:\
${file.reference.evologger.jar}:\
${file.reference.evolute.jar}:\
${file.reference.fop.jar}:\
${file.reference.xmlgraphics-commons-1.3.1.jar}:\
${file.reference.httpclient-4.0.1.jar}:\
${file.reference.iText-2.0.8.jar}:\
${file.reference.jai_imageio.jar}:\
${file.reference.jakarta-oro-2.0.8.jar}:\
${file.reference.jdom.jar}:\
${file.reference.log4j-1.2.15.jar}:\
${file.reference.mail.jar}:\
${file.reference.evolute.jar}:\
${file.reference.postgresql-8.4-701.jdbc4.jar}:\
${file.reference.evologger.jar}:\
${file.reference.poi-3.5-beta6-20090622.jar}:\
${file.reference.poi-ooxml-3.5-beta6-20090622.jar}:\
${file.reference.postgresql-8.4-701.jdbc4.jar}:\
${file.reference.serializer-2.7.0.jar}:\
${file.reference.shst.jar}:\
${file.reference.xalan-2.7.0.jar}:\
${file.reference.commons-io-1.4.jar}:\
${file.reference.commons-logging-1.1.jar}:\
${file.reference.log4j-1.2.15.jar}:\
${file.reference.xercesImpl-2.7.1.jar}:\
${file.reference.xml-apis-1.3.04.jar}:\
${file.reference.xml-apis-ext-1.3.04.jar}:\
${file.reference.serializer-2.7.0.jar}:\
${file.reference.commons-collections-3.1.jar}:\
${file.reference.commons-lang-2.1.jar}:\
${file.reference.commons-validator-1.3.1.jar}:\
${file.reference.jakarta-oro-2.0.8.jar}:\
${file.reference.shst.jar}
${file.reference.xmlgraphics-commons-1.3.1.jar}
# Space-separated list of extra javac options
javac.compilerargs=
javac.debug=true

@ -44,39 +44,39 @@
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library>
<file>${file.reference.iText-2.0.8.jar}</file>
<file>${file.reference.batik-all-1.7.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library>
<file>${file.reference.batik-all-1.7.jar}</file>
<file>${file.reference.commons-collections-3.1.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library>
<file>${file.reference.fop.jar}</file>
<file>${file.reference.commons-digester-1.7.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library>
<file>${file.reference.xmlgraphics-commons-1.3.1.jar}</file>
<file>${file.reference.commons-httpclient-3.1.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library>
<file>${file.reference.jai_imageio.jar}</file>
<file>${file.reference.commons-io-1.4.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library>
<file>${file.reference.jdom.jar}</file>
<file>${file.reference.commons-lang-2.1.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library>
<file>${file.reference.mail.jar}</file>
<file>${file.reference.commons-logging-1.1.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library>
<file>${file.reference.evolute.jar}</file>
<file>${file.reference.commons-validator-1.3.1.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library>
<file>${file.reference.postgresql-8.4-701.jdbc4.jar}</file>
<file>${file.reference.commons-vfs-1.0.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library>
@ -84,23 +84,31 @@
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library>
<file>${file.reference.poi-3.5-beta6-20090622.jar}</file>
<file>${file.reference.evolute.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library>
<file>${file.reference.poi-ooxml-3.5-beta6-20090622.jar}</file>
<file>${file.reference.fop.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library>
<file>${file.reference.xalan-2.7.0.jar}</file>
<file>${file.reference.httpclient-4.0.1.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library>
<file>${file.reference.commons-io-1.4.jar}</file>
<file>${file.reference.iText-2.0.8.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library>
<file>${file.reference.commons-logging-1.1.jar}</file>
<file>${file.reference.jai_imageio.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library>
<file>${file.reference.jakarta-oro-2.0.8.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library>
<file>${file.reference.jdom.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library>
@ -108,15 +116,19 @@
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library>
<file>${file.reference.xercesImpl-2.7.1.jar}</file>
<file>${file.reference.mail.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library>
<file>${file.reference.xml-apis-1.3.04.jar}</file>
<file>${file.reference.poi-3.5-beta6-20090622.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library>
<file>${file.reference.xml-apis-ext-1.3.04.jar}</file>
<file>${file.reference.poi-ooxml-3.5-beta6-20090622.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library>
<file>${file.reference.postgresql-8.4-701.jdbc4.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library>
@ -124,23 +136,27 @@
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library>
<file>${file.reference.commons-collections-3.1.jar}</file>
<file>${file.reference.shst.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library>
<file>${file.reference.commons-lang-2.1.jar}</file>
<file>${file.reference.xalan-2.7.0.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library>
<file>${file.reference.commons-validator-1.3.1.jar}</file>
<file>${file.reference.xercesImpl-2.7.1.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library>
<file>${file.reference.jakarta-oro-2.0.8.jar}</file>
<file>${file.reference.xml-apis-1.3.04.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library>
<file>${file.reference.shst.jar}</file>
<file>${file.reference.xml-apis-ext-1.3.04.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library>
<file>${file.reference.xmlgraphics-commons-1.3.1.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
</web-module-libraries>

@ -287,17 +287,7 @@ public class FormHS extends AbstractPageBean
{
this.tableRowGroup1 = trg;
}
private TableColumn tableColumn1 = new TableColumn();
public TableColumn getTableColumn1()
{
return tableColumn1;
}
public void setTableColumn1( TableColumn tc )
{
this.tableColumn1 = tc;
}
private Hyperlink lnkDataAcidente = new Hyperlink();
public Hyperlink getLnkDataAcidente()
@ -309,17 +299,7 @@ public class FormHS extends AbstractPageBean
{
this.lnkDataAcidente = h;
}
private TableColumn tableColumn2 = new TableColumn();
public TableColumn getTableColumn2()
{
return tableColumn2;
}
public void setTableColumn2( TableColumn tc )
{
this.tableColumn2 = tc;
}
private Hyperlink lnkNr = new Hyperlink();
public Hyperlink getLnkNr()
@ -331,17 +311,6 @@ public class FormHS extends AbstractPageBean
{
this.lnkNr = h;
}
private TableColumn tableColumn3 = new TableColumn();
public TableColumn getTableColumn3()
{
return tableColumn3;
}
public void setTableColumn3( TableColumn tc )
{
this.tableColumn3 = tc;
}
private Hyperlink lnkNomeAcidentado = new Hyperlink();
public Hyperlink getLnkNomeAcidentado()
@ -793,17 +762,7 @@ public class FormHS extends AbstractPageBean
{
this.txtSearchMsg = st;
}
private TableColumn tableColumn10 = new TableColumn();
public TableColumn getTableColumn10()
{
return tableColumn10;
}
public void setTableColumn10( TableColumn tc )
{
this.tableColumn10 = tc;
}
private Hyperlink lnkFase = new Hyperlink();
public Hyperlink getLnkFase()
@ -837,17 +796,7 @@ public class FormHS extends AbstractPageBean
{
this.lnkFaseSeg = h;
}
private TableColumn tableColumn12 = new TableColumn();
public TableColumn getTableColumn12()
{
return tableColumn12;
}
public void setTableColumn12( TableColumn tc )
{
this.tableColumn12 = tc;
}
private TableColumn tableColumn13 = new TableColumn();
public TableColumn getTableColumn13()
@ -1024,17 +973,7 @@ public class FormHS extends AbstractPageBean
{
this.txtMsg = st;
}
private TableColumn tableColumn16 = new TableColumn();
public TableColumn getTableColumn16()
{
return tableColumn16;
}
public void setTableColumn16( TableColumn tc )
{
this.tableColumn16 = tc;
}
private Hyperlink lnkDataAbertura = new Hyperlink();
public Hyperlink getLnkDataAbertura()
@ -1090,17 +1029,7 @@ public class FormHS extends AbstractPageBean
{
this.lnkDataAberturaConcluida = h;
}
private TableColumn tableColumn19 = new TableColumn();
public TableColumn getTableColumn19()
{
return tableColumn19;
}
public void setTableColumn19( TableColumn tc )
{
this.tableColumn19 = tc;
}
private Hyperlink lnkEstabelecimento = new Hyperlink();
public Hyperlink getLnkEstabelecimento()
@ -1481,8 +1410,8 @@ public class FormHS extends AbstractPageBean
try
{
AnalisesDataProvider adp = AnalisesDataProvider.getInstance();
ArrayList actuaisList = adp.getAnalisesActuaisHsList(
getSessionBean1().getAnalisesActualDataProvider().setList( null );
ArrayList actuaisList = AnalisesDataProvider.getInstance().getAnalisesActuaisHsList(
getSessionBean1().getCurrentUser().getEstabelecimento_id(), fromYear );
getSessionBean1().getAnalisesActualDataProvider().setList( actuaisList );
table1.setRendered( true );
@ -1495,8 +1424,8 @@ public class FormHS extends AbstractPageBean
try
{
AnalisesDataProvider adp = AnalisesDataProvider.getInstance();
ArrayList seguimentoList = adp.getAnalisesSeguimentoHsList(
getSessionBean1().getAnalisesSeguimentoDataProvider().setList( null );
ArrayList seguimentoList = AnalisesDataProvider.getInstance().getAnalisesSeguimentoHsList(
getSessionBean1().getCurrentUser().getEstabelecimento_id(), fromYear );
getSessionBean1().getAnalisesSeguimentoDataProvider().setList( seguimentoList );
table2.setRendered( true );
@ -1509,13 +1438,10 @@ public class FormHS extends AbstractPageBean
try
{
AnalisesDataProvider adp = AnalisesDataProvider.getInstance();
System.out.println( "CONCLUIDAS TABLE" );
getSessionBean1().getAnalisesConcluidasDataProvider().setList( null );
table3.setRendered( true );
ArrayList concluidasList = adp.getAnalisesConcluidasHsList( fromYear );
ArrayList concluidasList = AnalisesDataProvider.getInstance().getAnalisesConcluidasHsList( fromYear );
getSessionBean1().getAnalisesConcluidasDataProvider().setList( concluidasList );
table3.setRendered( true );
}
catch ( Exception ex )
{
@ -1542,7 +1468,7 @@ public class FormHS extends AbstractPageBean
String referer = request.getRequestURI();
String pageFrom = Utils.getPageFrom( referer );
System.out.println( "PAGE FROM : " + pageFrom );
if ( !pageFrom.matches( "FormHS.jsp" ) || getSessionBean1().isFromAnaliseDeletion() )
if ( ! pageFrom.matches( "FormHS.jsp" ) || getSessionBean1().isFromAnaliseDeletion() )
{
fillCurrentYearDrop();
Utils.fillEstabelecimentos( dropEstabelecimentosActuais, dropEstabelecimentosSeguimento, dropEstabelecimentosConcluidos );

@ -105,7 +105,9 @@ public class SessionBean1 extends AbstractSessionBean
* or resources that are required for the lifetime of a particular
* user session.</p>
*/
public void init() {
@Override
public void init()
{
// Perform initializations inherited from our superclass
super.init();
// Perform application initialization that must complete
@ -115,11 +117,14 @@ public class SessionBean1 extends AbstractSessionBean
// <editor-fold defaultstate="collapsed" desc="Managed Component Initialization">
// Initialize automatically managed components
// *Note* - this logic should NOT be modified
try {
try
{
_init();
} catch (Exception e) {
log("SessionBean1 Initialization Failure", e);
throw e instanceof FacesException ? (FacesException) e: new FacesException(e);
}
catch ( Exception e )
{
log( "SessionBean1 Initialization Failure", e );
throw e instanceof FacesException ? ( FacesException ) e : new FacesException( e );
}
// </editor-fold>
@ -138,7 +143,9 @@ public class SessionBean1 extends AbstractSessionBean
* <p>You may customize this method to release references to session data
* or resources that can not be serialized with the session itself.</p>
*/
public void passivate() {
@Override
public void passivate()
{
}
/**
@ -149,7 +156,9 @@ public class SessionBean1 extends AbstractSessionBean
* data or resources that could not be serialized with the
* session itself.</p>
*/
public void activate() {
@Override
public void activate()
{
}
/**
@ -161,33 +170,40 @@ public class SessionBean1 extends AbstractSessionBean
* during the execution of the <code>init()</code> method, or
* at any later time during the lifetime of the application.</p>
*/
public void destroy() {
@Override
public void destroy()
{
}
/**
* <p>Return a reference to the scoped data bean.</p>
*/
protected ApplicationBean1 getApplicationBean1() {
protected ApplicationBean1 getApplicationBean1()
{
return (ApplicationBean1)getBean("ApplicationBean1");
}
private String msg;
public String getMsg() {
public String getMsg()
{
return msg;
}
public void setMsg(String msg) {
public void setMsg(String msg)
{
this.msg = msg;
}
private Utilizador currentUser;
public Utilizador getCurrentUser() {
public Utilizador getCurrentUser()
{
return currentUser;
}
public void setCurrentUser(Utilizador currentUser) {
public void setCurrentUser(Utilizador currentUser)
{
this.currentUser = currentUser;
setCanAccessEstatisticas( getCanAccessEstatisticas() );
}

@ -401,26 +401,14 @@ public class AnalisesDataProvider extends GenericDataProvider
where = where.and( new Field( "EXTRACT( year FROM data_acidente )" ).isEqual( fromYear ) );
}
Select2 query = new Select2(
new String[]
{
"analises_acidentes"
},
new Integer[]
{
},
new Expression[]
{
},
new String[]
{
"*"
},
new String[] { "analises_acidentes" },
new Integer[] { },
new Expression[] { },
new String[] { "*" },
where,
new String[]
{
"analise_nr"
},
null, null, null );
new String[] { "analise_nr" },
null, null, null
);
// String sql = "SELECT * " +
// "FROM analises_acidentes " +
@ -550,26 +538,14 @@ public class AnalisesDataProvider extends GenericDataProvider
new Field( "estado" ).isLess( Global.ESTADO_HS ).or( new Field( "estado" ).isGreater( Global.ESTADO_HS ).and( new Field( "estado" ).isLess( Global.ESTADO_CONSOLIDACAO ) ) ).or( new Field( "estado" ).isGreater( Global.ESTADO_CONSOLIDACAO ).and( new Field( "estado" ).isLess( Global.ESTADO_FECHAR ) ) ) );
Select2 query = new Select2(
new String[]
{
"analises_acidentes"
},
new Integer[]
{
},
new Expression[]
{
},
new String[]
{
"*"
},
new String[] { "analises_acidentes" },
new Integer[] { },
new Expression[] { },
new String[] { "*" },
where,
new String[]
{
"analises_acidentes.analise_nr"
},
null, null, null );
new String[] { "analises_acidentes.analise_nr" },
null, null, null
);
// String sql = null;
// sql = "SELECT * FROM analises_acidentes WHERE (" +
@ -641,26 +617,14 @@ public class AnalisesDataProvider extends GenericDataProvider
where = where.and( or );
Select2 query = new Select2(
new String[]
{
"analises_acidentes"
},
new Integer[]
{
},
new Expression[]
{
},
new String[]
{
"*"
},
new String[] { "analises_acidentes" },
new Integer[] { },
new Expression[] { },
new String[] { "*" },
where,
new String[]
{
"analise_nr"
},
null, null, null );
new String[] { "analise_nr" },
null, null, null
);
Statement st = createStatement();
ResultSet rs = st.executeQuery( query.toString() );
@ -716,26 +680,14 @@ public class AnalisesDataProvider extends GenericDataProvider
new Field( "analises_acidentes.estado" ).isGreater( 6 ).and( new Field( "analises_acidentes.estado" ).isLess( 9 ) ) ) );
Select2 query = new Select2(
new String[]
{
"analises_acidentes"
},
new Integer[]
{
},
new Expression[]
{
},
new String[]
{
"*"
},
new String[] { "analises_acidentes" },
new Integer[] { },
new Expression[] { },
new String[] { "*" },
where,
new String[]
{
"analises_acidentes.analise_nr"
},
null, null, null );
new String[] { "analises_acidentes.analise_nr" },
null, null, null
);
Statement st = createStatement();
ResultSet rs = st.executeQuery( query.toString() );
@ -770,26 +722,14 @@ public class AnalisesDataProvider extends GenericDataProvider
}
Select2 query = new Select2(
new String[]
{
"analises_acidentes"
},
new Integer[]
{
},
new Expression[]
{
},
new String[]
{
"*"
},
new String[] { "analises_acidentes" },
new Integer[] { },
new Expression[] { },
new String[] { "*" },
where,
new String[]
{
"analise_nr"
},
null, null, null );
new String[] { "analise_nr" },
null, null, null
);
Statement st = createStatement();
ResultSet rs = st.executeQuery( query.toString() );
@ -848,26 +788,14 @@ public class AnalisesDataProvider extends GenericDataProvider
}
Select2 query = new Select2(
new String[]
{
"analises_acidentes"
},
new Integer[]
{
},
new Expression[]
{
},
new String[]
{
"*"
},
new String[] { "analises_acidentes" },
new Integer[] { },
new Expression[] { },
new String[] { "*" },
where,
new String[]
{
"analise_nr"
},
null, null, null );
new String[] { "analise_nr" },
null, null, null
);
Statement st = createStatement();
ResultSet rs = st.executeQuery( query.toString() );
@ -894,26 +822,14 @@ public class AnalisesDataProvider extends GenericDataProvider
}
Select2 query = new Select2(
new String[]
{
"analises_acidentes"
},
new Integer[]
{
},
new Expression[]
{
},
new String[]
{
"*"
},
new String[] { "analises_acidentes" },
new Integer[] { },
new Expression[] { },
new String[] { "*" },
where,
new String[]
{
"analise_nr"
},
null, null, null );
new String[] { "analise_nr" },
null, null, null
);
System.out.println( "\ngetAnalisesConcluidasList() : " + query.toString() + "\n" );
@ -1497,6 +1413,7 @@ public class AnalisesDataProvider extends GenericDataProvider
{
a.setTipo_lesao( rs.getString( "tipo_lesao" ) );
}
a.setTipo_incapacidade( rs.getString( "tipo_incapacidade" ) );
//a.setCoef_incapacidade(new Integer(( rs.getInt("coef_incapacidade") )));
a.setCoef_incapacidade( ( Integer ) rs.getObject( "coef_incapacidade" ) );

@ -13,7 +13,8 @@ package pagestate;
*
* @author lluis
*/
public class AnaliseAcidenteTrabalhoState {
public class AnaliseAcidenteTrabalhoState
{
private Object header_nr;
private Object header_date;
private int estado;
@ -459,6 +460,4 @@ public class AnaliseAcidenteTrabalhoState {
this.averiguacao_obs = averiguacao_obs;
}
}

@ -13,7 +13,6 @@ import analiseacidentestrabalho.SessionBean1;
import com.evolute.utils.error.ErrorLogger;
import javax.faces.component.UIViewRoot;
import javax.servlet.http.HttpServletRequest;
import utils.AnaliseAcidentesTrabalhoLogger;
import utils.JSFUtils;
import utils.Logos;
@ -23,7 +22,6 @@ import utils.Logos;
*/
public class MainPhaseListener implements PhaseListener
{
private boolean firstEntry = true;
@Override
public void afterPhase(PhaseEvent pe)

@ -6,7 +6,7 @@
<ui:html binding="#{FormDirGerRh.html1}" id="html1">
<ui:head binding="#{FormDirGerRh.head1}" id="head1">
<ui:link binding="#{FormDirGerRh.link1}" id="link1" url="/resources/stylesheet.css"/>
<script>
<script type="text/javascript">
function showPdf()
{
sOptions = " width = '" + screen.availWidth + "'";
@ -18,8 +18,11 @@
wOpen.resizeTo( screen.availWidth, screen.availHeight );
}
</script>
<ui:script type="text/javascript" url="/resources/RaveThemeFix.js" />
</ui:head>
<ui:body binding="#{FormDirGerRh.body1}" id="body1" style="-rave-layout: grid">
<ui:body binding="#{FormDirGerRh.body1}" id="body1" style="-rave-layout: grid" onLoad="showTables( 'form2:table1', 'form3:table2' );">
<!-- ui:form binding=FormDirGerRh.form1 id="form1" -->
@ -100,8 +103,7 @@
<ui:button binding="#{FormDirGerRh.buttonFilterSeg}" id="buttonFilterSeg" action="#{FormDirGerRh.buttonFilterSeg_action}" text="Pesquisar" />
</h:panelGrid>
<ui:table augmentTitle="false" binding="#{FormDirGerRh.table1}" id="table1" style="width: 80%; height: 48px"
styleClass="centerBlock" width="100%">
<ui:table augmentTitle="false" binding="#{FormDirGerRh.table1}" id="table1" style="width: 100%; height: 48px" styleClass="centerBlock">
<ui:tableRowGroup binding="#{FormDirGerRh.tableRowGroup1}" id="tableRowGroup1"
sourceData="#{SessionBean1.analisesSeguimentoDataProvider}" sourceVar="currentRow">
<ui:tableColumn binding="#{FormDirGerRh.tableColumn1}" headerText="Data do acidente" id="tableColumn1"
@ -193,8 +195,7 @@
</h:panelGrid>
<h:panelGrid binding="#{FormDirGerRh.gridPanel6}" columnClasses="gridColCenter" columns="1" id="gridPanel6"
style="height: 24px; width: 80%" styleClass="centerBlock" width="456">
<ui:table augmentTitle="false" binding="#{FormDirGerRh.table2}" id="table2" style="width: 89%; height: 48px"
styleClass="centerBlock" width="707">
<ui:table augmentTitle="false" binding="#{FormDirGerRh.table2}" id="table2" style="width: 100%; height: 48px" styleClass="centerBlock">
<ui:tableRowGroup binding="#{FormDirGerRh.tableRowGroup2}" id="tableRowGroup2"
sourceData="#{SessionBean1.analisesConcluidasDataProvider}" sourceVar="currentRow">
<ui:tableColumn binding="#{FormDirGerRh.tableColumn6}" headerText="Data do acidente" id="tableColumn6"

@ -6,7 +6,7 @@
<ui:html binding="#{FormDirSiprp.html1}" id="html1">
<ui:head binding="#{FormDirSiprp.head1}" id="head1">
<ui:link binding="#{FormDirSiprp.link1}" id="link1" url="/resources/stylesheet.css"/>
<script>
<script type="text/javascript">
function showPdf()
{
sOptions = " width = '" + screen.availWidth + "'";
@ -19,8 +19,10 @@
}
</script>
<ui:script type="text/javascript" url="/resources/RaveThemeFix.js" />
</ui:head>
<ui:body binding="#{FormDirSiprp.body1}" id="body1" style="-rave-layout: grid">
<ui:body binding="#{FormDirSiprp.body1}" id="body1" style="-rave-layout: grid" onLoad="showTables( 'form1:table2', 'form2:table3' );">
<!-- ui:form binding="#{FormDirSiprp.form1}" id="form1" -->
@ -107,8 +109,7 @@
<ui:button binding="#{FormDirSiprp.buttonFilterSeg}" id="buttonFilterSeg" action="#{FormDirSiprp.buttonFilterSeg_action}" text="Pesquisar" />
</h:panelGrid>
<ui:table augmentTitle="false" binding="#{FormDirSiprp.table2}" id="table2" style="width: 80%; height: 48px"
styleClass="centerBlock" width="100%">
<ui:table augmentTitle="false" binding="#{FormDirSiprp.table2}" id="table2" style="width: 100%; height: 48px" styleClass="centerBlock">
<ui:tableRowGroup binding="#{FormDirSiprp.tableRowGroup2}" id="tableRowGroup2"
sourceData="#{SessionBean1.analisesSeguimentoDataProvider}" sourceVar="currentRow">
<ui:tableColumn binding="#{FormDirSiprp.tableColumn6}" headerText="Data do acidente" id="tableColumn6"
@ -204,8 +205,7 @@
</h:panelGrid>
<h:panelGrid binding="#{FormDirSiprp.gridPanel8}" columnClasses="gridColCenter" columns="1" id="gridPanel8"
style="height: 24px; width: 80%" styleClass="centerBlock" width="456">
<ui:table augmentTitle="false" binding="#{FormDirSiprp.table3}" id="table3" style="width: 89%; height: 48px"
styleClass="centerBlock" width="707">
<ui:table augmentTitle="false" binding="#{FormDirSiprp.table3}" id="table3" style="width: 100%; height: 48px" styleClass="centerBlock">
<ui:tableRowGroup binding="#{FormDirSiprp.tableRowGroup3}" id="tableRowGroup3"
sourceData="#{SessionBean1.analisesConcluidasDataProvider}" sourceVar="currentRow">
<ui:tableColumn binding="#{FormDirSiprp.tableColumn11}" headerText="Data do acidente" id="tableColumn11"

@ -6,7 +6,7 @@
<ui:html binding="#{FormGestor.html1}" id="html1">
<ui:head binding="#{FormGestor.head1}" id="head1">
<ui:link binding="#{FormGestor.link1}" id="link1" url="/resources/stylesheet.css"/>
<script>
<script type="text/javascript">
function showPdf()
{
sOptions = " width = '" + screen.availWidth + "'";
@ -18,8 +18,10 @@
wOpen.resizeTo( screen.availWidth, screen.availHeight );
}
</script>
<ui:script type="text/javascript" url="/resources/RaveThemeFix.js" />
</ui:head>
<ui:body binding="#{FormGestor.body1}" id="body1" style="-rave-layout: grid">
<ui:body binding="#{FormGestor.body1}" id="body1" style="-rave-layout: grid" onLoad="showTables( 'form1:table1', 'form2:table2' );">
<!-- ui:form binding="#{FormGestor.form1}" id="form1" -->
@ -100,8 +102,8 @@
<ui:button binding="#{FormGestor.buttonFilterSeg}" id="buttonFilterSeg" action="#{FormGestor.buttonFilterSeg_action}" text="Pesquisar" />
</h:panelGrid>
<ui:table augmentTitle="false" binding="#{FormGestor.table1}" id="table1" style="width: 80%; height: 48px"
styleClass="centerBlock" width="100%">
<ui:table augmentTitle="false" binding="#{FormGestor.table1}" id="table1" style="width: 100%; height: 48px"
styleClass="centerBlock">
<ui:tableRowGroup binding="#{FormGestor.tableRowGroup1}" id="tableRowGroup1"
sourceData="#{SessionBean1.analisesSeguimentoDataProvider}" sourceVar="currentRow">
<ui:tableColumn binding="#{FormGestor.tableColumn1}" headerText="Data do acidente" id="tableColumn1"
@ -193,8 +195,8 @@
</h:panelGrid>
<h:panelGrid binding="#{FormGestor.gridPanel6}" columnClasses="gridColCenter" columns="1" id="gridPanel6"
style="height: 24px; width: 80%" styleClass="centerBlock" width="456">
<ui:table augmentTitle="false" binding="#{FormGestor.table2}" id="table2" style="width: 89%; height: 48px"
styleClass="centerBlock" width="590">
<ui:table augmentTitle="false" binding="#{FormGestor.table2}" id="table2" style="width: 100%; height: 48px"
styleClass="centerBlock">
<ui:tableRowGroup binding="#{FormGestor.tableRowGroup2}" id="tableRowGroup2"
sourceData="#{SessionBean1.analisesConcluidasDataProvider}" sourceVar="currentRow">
<ui:tableColumn binding="#{FormGestor.tableColumn6}" headerText="Data do acidente" id="tableColumn6"

@ -6,7 +6,8 @@
<ui:html binding="#{FormHS.html1}" id="html1">
<ui:head binding="#{FormHS.head1}" id="head1">
<ui:link binding="#{FormHS.link1}" id="link1" url="/resources/stylesheet.css"/>
<script>
<script type="text/javascript">
function showPdf()
{
sOptions = " width = '" + screen.availWidth + "'";
@ -18,8 +19,11 @@
wOpen.resizeTo( screen.availWidth, screen.availHeight );
}
</script>
<ui:script type="text/javascript" url="/resources/RaveThemeFix.js" />
</ui:head>
<ui:body binding="#{FormHS.body1}" id="body1" style="-rave-layout: grid">
<ui:body binding="#{FormHS.body1}" id="body1" style="-rave-layout: grid" onLoad="showTables( 'form1:table1', 'form2:table2', 'form3:table3' );">
<!-- ui:form binding="#{FormHS.form1}" id="form1" -->
<h:panelGrid binding="#{FormHS.gridBase1}" columns="1" id="gridBase1"
style="height: 24px; left: 0px; top: 60px; position: absolute; width: 100%" styleClass="centerBlock" width="648">
@ -60,22 +64,28 @@
<ui:form id="formYear">
<ui:staticText escape="false" id="textCurrentYear" text="Visualizar análises do ano: " />
<ui:dropDown binding="#{FormHS.dropCurrentYear}" id="dropCurrentYear"
onChange="common_timeoutSubmitForm(this.form, 'dropCurrentYear');" valueChangeListener="#{FormHS.dropCurrentYear_valueChangeListener}"/>
onChange="common_timeoutSubmitForm(this.form, 'dropCurrentYear');" valueChangeListener="#{FormHS.dropCurrentYear_valueChangeListener}" />
</ui:form>
</h:panelGroup>
</h:panelGrid>
<h:panelGrid binding="#{FormHS.gridLayoutTop1}" columnClasses="gridLayoutTopCols, gridLayoutTopCols" columns="1" id="gridLayoutTop1" style="height: 15px; position: relative; vertical-align: top; width: 100%">
<ui:form binding="#{FormHS.form1}" id="form1">
<h:panelGrid binding="#{FormHS.gridActual1}" columnClasses="gridColCenter" columns="1" id="gridActual1"
style="background-color: #f6f4e8; height: 24px; position: relative; width: 100%" width="360">
<h:panelGrid binding="#{FormHS.gridPanel2}" columnClasses="gridColCenter" columns="1" id="gridPanel2"
style="height: 24px; width: 100%" width="264">
<ui:staticText binding="#{FormHS.staticText4}" id="staticText4"
style="font-size: 18px; font-weight: bold; height: 24px; width: 168px" text="Actual"/>
</h:panelGrid>
<ui:staticText binding="#{FormHS.staticText5}" id="staticText5" styleClass="labelBold" text="Processos com dados pendentes"/>
<h:panelGrid binding="#{FormHS.gridPanel3}" id="gridPanel3" style="height: 24px; width: 100%" styleClass="centerBlock" width="456">
<h:panelGrid binding="#{FormHS.gridPanelFilterActual}" columns="5" id="gridPanelFilterActual" styleClass="centerBlock">
<ui:panelGroup>
<ui:staticText escape="false" id="labelFilterDateActual" styleClass="labelBold" text="Data do acidente:"/>
@ -98,47 +108,37 @@
<ui:button action="#{FormHS.buttonFilterActual_action}" binding="#{FormHS.buttonFilterActual}"
id="buttonFilterActual" text="Pesquisar"/>
</h:panelGrid>
<ui:table augmentTitle="false" binding="#{FormHS.table1}" id="table1" style="width: 80%; height: 48px"
styleClass="centerBlock" width="933">
<ui:tableRowGroup binding="#{FormHS.tableRowGroup1}" id="tableRowGroup1"
sourceData="#{SessionBean1.analisesActualDataProvider}" sourceVar="currentRow">
<ui:tableColumn binding="#{FormHS.tableColumn1}" headerText="Data do acidente" id="tableColumn1"
sort="data_acidente" style="width: 10%" width="10%">
<ui:hyperlink action="#{FormHS.lnkDataAcidente_action}" binding="#{FormHS.lnkDataAcidente}"
id="lnkDataAcidente" text="#{currentRow.value['data_acidente']}"/>
<ui:table augmentTitle="false" binding="#{FormHS.table1}" id="table1" style="height: 48px; width: 100%" styleClass="centerBlock">
<ui:tableRowGroup binding="#{FormHS.tableRowGroup1}" id="tableRowGroup1" sourceData="#{SessionBean1.analisesActualDataProvider}" sourceVar="currentRow">
<ui:tableColumn headerText="Data do acidente" sort="data_acidente" style="width: 10%">
<ui:hyperlink action="#{FormHS.lnkDataAcidente_action}" binding="#{FormHS.lnkDataAcidente}" id="lnkDataAcidente" text="#{currentRow.value['data_acidente']}" />
</ui:tableColumn>
<ui:tableColumn binding="#{FormHS.tableColumn16}" headerText="Data da abertura" id="tableColumn16"
sort="data_inicio_processo" width="10%">
<ui:hyperlink action="#{FormHS.lnkDataAbertura_action}" binding="#{FormHS.lnkDataAbertura}"
id="lnkDataAbertura" style="" text="#{currentRow.value['data_inicio_processo']}"/>
<ui:tableColumn headerText="Data da abertura" sort="data_inicio_processo" width="10%">
<ui:hyperlink action="#{FormHS.lnkDataAbertura_action}" binding="#{FormHS.lnkDataAbertura}" id="lnkDataAbertura" text="#{currentRow.value['data_inicio_processo']}" />
</ui:tableColumn>
<ui:tableColumn binding="#{FormHS.tableColumn2}" headerText="Nº acidente" id="tableColumn2"
sort="analise_nr" style="width: 10%" width="10%">
<ui:hyperlink action="#{FormHS.lnkNr_action}" binding="#{FormHS.lnkNr}" id="lnkNr" text="#{currentRow.value['analise_nr']}"/>
<ui:tableColumn headerText="Nº acidente" sort="analise_nr" style="width: 10%">
<ui:hyperlink action="#{FormHS.lnkNr_action}" binding="#{FormHS.lnkNr}" id="lnkNr" text="#{currentRow.value['analise_nr']}" />
</ui:tableColumn>
<ui:tableColumn binding="#{FormHS.tableColumn12}" headerText="POR" id="tableColumn12"
sort="numero_mecanografico" width="10%">
<ui:hyperlink action="#{FormHS.lnkPor_action}" binding="#{FormHS.lnkPor}" id="lnkPor" style="" text="#{currentRow.value['numero_mecanografico']}"/>
<ui:tableColumn headerText="POR" sort="numero_mecanografico" width="10%">
<ui:hyperlink action="#{FormHS.lnkPor_action}" binding="#{FormHS.lnkPor}" id="lnkPor" text="#{currentRow.value['numero_mecanografico']}" />
</ui:tableColumn>
<ui:tableColumn binding="#{FormHS.tableColumn3}" headerText="Nome do acidentado" id="tableColumn3"
sort="nome_acidentado" style="width: 25%" width="25%">
<ui:hyperlink action="#{FormHS.lnkNomeAcidentado_action}" binding="#{FormHS.lnkNomeAcidentado}"
id="lnkNomeAcidentado" text="#{currentRow.value['nome_acidentado']}"/>
<ui:tableColumn headerText="Nome do acidentado" sort="nome_acidentado" style="width: 25%">
<ui:hyperlink action="#{FormHS.lnkNomeAcidentado_action}" binding="#{FormHS.lnkNomeAcidentado}" id="lnkNomeAcidentado" text="#{currentRow.value['nome_acidentado']}" />
</ui:tableColumn>
<ui:tableColumn binding="#{FormHS.tableColumn10}" headerText="Fase" id="tableColumn10" sort="fase" width="20%">
<ui:hyperlink action="#{FormHS.lnkFase_action}" binding="#{FormHS.lnkFase}" id="lnkFase"
style="height: 24px" text="#{currentRow.value['fase']}"/>
<ui:tableColumn headerText="Fase" sort="fase" width="20%">
<ui:hyperlink action="#{FormHS.lnkFase_action}" binding="#{FormHS.lnkFase}" id="lnkFase" style="height: 24px" text="#{currentRow.value['fase']}" />
</ui:tableColumn>
<ui:tableColumn binding="#{FormHS.tableColumn19}" headerText="Estabelecimento" id="tableColumn19"
sort="nome_estabelecimento" width="15%">
<ui:hyperlink action="#{FormHS.lnkEstabelecimento_action}" binding="#{FormHS.lnkEstabelecimento}"
id="lnkEstabelecimento" style="" text="#{currentRow.value['nome_estabelecimento']}"/>
<ui:tableColumn headerText="Estabelecimento" sort="nome_estabelecimento" width="15%">
<ui:hyperlink action="#{FormHS.lnkEstabelecimento_action}" binding="#{FormHS.lnkEstabelecimento}" id="lnkEstabelecimento" text="#{currentRow.value['nome_estabelecimento']}" />
</ui:tableColumn>
</ui:tableRowGroup>
</ui:table>
</h:panelGrid>
</h:panelGrid>
</ui:form>
<ui:form id="form2">
<h:panelGrid binding="#{FormHS.gridSeguimento1}" columns="1" id="gridSeguimento1"
style="background-color: #f6f4e8; position: relative; width: 100%" width="360">
@ -170,8 +170,7 @@
</ui:panelGroup>
<ui:button action="#{FormHS.buttonFilterSeg_action}" binding="#{FormHS.buttonFilterSeg}" id="buttonFilterSeg" text="Pesquisar"/>
</h:panelGrid>
<ui:table augmentTitle="false" binding="#{FormHS.table2}" id="table2" style="width: 80%; height: 48px"
styleClass="centerBlock" width="100%">
<ui:table augmentTitle="false" binding="#{FormHS.table2}" id="table2" style="width: 100%; height: 48px" styleClass="centerBlock">
<ui:tableRowGroup binding="#{FormHS.tableRowGroup2}" id="tableRowGroup2"
sourceData="#{SessionBean1.analisesSeguimentoDataProvider}" sourceVar="currentRow">
<ui:tableColumn binding="#{FormHS.tableColumn4}" headerText="Data do acidente" id="tableColumn4"
@ -256,8 +255,7 @@
</h:panelGrid>
<h:panelGrid binding="#{FormHS.gridPanel8}" columnClasses="gridColCenter" columns="1" id="gridPanel8"
style="height: 24px; width: 80%" styleClass="centerBlock" width="456">
<ui:table augmentTitle="false" binding="#{FormHS.table3}" id="table3" style="width: 89%; height: 48px"
styleClass="centerBlock" width="100%">
<ui:table augmentTitle="false" binding="#{FormHS.table3}" id="table3" style="width: 100%; height: 48px" styleClass="centerBlock">
<ui:tableRowGroup binding="#{FormHS.tableRowGroup3}" id="tableRowGroup3"
sourceData="#{SessionBean1.analisesConcluidasDataProvider}" sourceVar="currentRow">
<ui:tableColumn binding="#{FormHS.tableColumn7}" headerText="Data do acidente" id="tableColumn7"

@ -6,8 +6,10 @@
<ui:html binding="#{FormMedico.html1}" id="html1">
<ui:head binding="#{FormMedico.head1}" id="head1">
<ui:link binding="#{FormMedico.link1}" id="link1" url="/resources/stylesheet.css"/>
<ui:script type="text/javascript" url="/resources/RaveThemeFix.js" />
</ui:head>
<ui:body binding="#{FormMedico.body1}" id="body1" style="-rave-layout: grid">
<ui:body binding="#{FormMedico.body1}" id="body1" style="-rave-layout: grid" onLoad="showTables( 'form1:table1', 'form2:table2', 'form3:table3' );">
<!-- ui:form binding="#{FormMedico.form1}" id="form1" -->
@ -75,8 +77,7 @@
<ui:button binding="#{FormMedico.buttonFilterActual}" id="buttonFilterActual" action="#{FormMedico.buttonFilterActual_action}" text="Pesquisar" />
</h:panelGrid>
<ui:table augmentTitle="false" binding="#{FormMedico.table1}" id="table1" style="width: 80%; height: 48px"
styleClass="centerBlock" width="550">
<ui:table augmentTitle="false" binding="#{FormMedico.table1}" id="table1" style="width: 100%; height: 48px" styleClass="centerBlock">
<ui:tableRowGroup binding="#{FormMedico.tableRowGroup1}" id="tableRowGroup1"
sourceData="#{SessionBean1.analisesActualDataProvider}" sourceVar="currentRow">
<ui:tableColumn binding="#{FormMedico.tableColumn1}" headerText="Data do acidente" id="tableColumn1"
@ -140,8 +141,7 @@
<ui:button binding="#{FormMedico.buttonFilterSeg}" id="buttonFilterSeg" action="#{FormMedico.buttonFilterSeg_action}" text="Pesquisar" />
</h:panelGrid>
<ui:table augmentTitle="false" binding="#{FormMedico.table2}" id="table2" style="width: 80%; height: 48px"
styleClass="centerBlock" width="740">
<ui:table augmentTitle="false" binding="#{FormMedico.table2}" id="table2" style="width: 100%; height: 48px" styleClass="centerBlock">
<ui:tableRowGroup binding="#{FormMedico.tableRowGroup2}" id="tableRowGroup2"
sourceData="#{SessionBean1.analisesSeguimentoDataProvider}" sourceVar="currentRow">
<ui:tableColumn binding="#{FormMedico.tableColumn4}" headerText="Data do acidente" id="tableColumn4"
@ -221,8 +221,7 @@
</h:panelGrid>
<h:panelGrid binding="#{FormMedico.gridPanel8}" columnClasses="gridColCenter" columns="1" id="gridPanel8"
style="height: 24px; width: 80%" styleClass="centerBlock" width="456">
<ui:table augmentTitle="false" binding="#{FormMedico.table3}" id="table3" style="width: 89%; height: 48px"
styleClass="centerBlock" width="707">
<ui:table augmentTitle="false" binding="#{FormMedico.table3}" id="table3" style="width: 100%; height: 48px" styleClass="centerBlock">
<ui:tableRowGroup binding="#{FormMedico.tableRowGroup3}" id="tableRowGroup3"
sourceData="#{SessionBean1.analisesConcluidasDataProvider}" sourceVar="currentRow">
<ui:tableColumn binding="#{FormMedico.tableColumn7}" headerText="Data do acidente" id="tableColumn7"

@ -6,7 +6,7 @@
<ui:html binding="#{FormRH.html1}" id="html1">
<ui:head binding="#{FormRH.head1}" id="head1">
<ui:link binding="#{FormRH.link1}" id="link1" url="/resources/stylesheet.css"/>
<script>
<script type="text/javascript">
function showPdf()
{
sOptions = " width = '" + screen.availWidth + "'";
@ -18,8 +18,10 @@
wOpen.resizeTo( screen.availWidth, screen.availHeight );
}
</script>
<ui:script type="text/javascript" url="/resources/RaveThemeFix.js" />
</ui:head>
<ui:body binding="#{FormRH.body1}" id="body1" style="-rave-layout: grid">
<ui:body binding="#{FormRH.body1}" id="body1" style="-rave-layout: grid" onLoad="showTables( 'form1:table1', 'form2:table2', 'form3:table3' );">
<!-- ui:form binding="#{FormRH.form1}" id="form1" -->
@ -96,8 +98,7 @@
<ui:button binding="#{FormRH.buttonFilterActual}" id="buttonFilterActual" action="#{FormRH.buttonFilterActual_action}" text="Pesquisar" />
</h:panelGrid>
<ui:table augmentTitle="false" binding="#{FormRH.table1}" id="table1" style="width: 80%; height: 48px"
styleClass="centerBlock" width="100%">
<ui:table augmentTitle="false" binding="#{FormRH.table1}" id="table1" style="width: 100%; height: 48px" styleClass="centerBlock">
<ui:tableRowGroup binding="#{FormRH.tableRowGroup1}" id="tableRowGroup1"
sourceData="#{SessionBean1.analisesActualDataProvider}" sourceVar="currentRow">
<ui:tableColumn binding="#{FormRH.tableColumn1}" headerText="Data do acidente" id="tableColumn1"
@ -166,8 +167,7 @@
<ui:button binding="#{FormRH.buttonFilterSeg}" id="buttonFilterSeg" action="#{FormRH.buttonFilterSeg_action}" text="Pesquisar" />
</h:panelGrid>
<ui:table augmentTitle="false" binding="#{FormRH.table2}" id="table2" style="width: 80%; height: 48px"
styleClass="centerBlock" width="100%">
<ui:table augmentTitle="false" binding="#{FormRH.table2}" id="table2" style="width: 100%; height: 48px" styleClass="centerBlock">
<ui:tableRowGroup binding="#{FormRH.tableRowGroup2}" id="tableRowGroup2"
sourceData="#{SessionBean1.analisesSeguimentoDataProvider}" sourceVar="currentRow">
<ui:tableColumn binding="#{FormRH.tableColumn4}" headerText="Data do acidente" id="tableColumn4"
@ -253,8 +253,7 @@
</h:panelGrid>
<h:panelGrid binding="#{FormRH.gridPanel8}" columnClasses="gridColCenter" columns="1" id="gridPanel8"
style="height: 24px; width: 80%" styleClass="centerBlock" width="456">
<ui:table augmentTitle="false" binding="#{FormRH.table3}" id="table3" style="width: 89%; height: 48px"
styleClass="centerBlock" width="707">
<ui:table augmentTitle="false" binding="#{FormRH.table3}" id="table3" style="width: 100%; height: 48px" styleClass="centerBlock">
<ui:tableRowGroup binding="#{FormRH.tableRowGroup3}" id="tableRowGroup3"
sourceData="#{SessionBean1.analisesConcluidasDataProvider}" sourceVar="currentRow">
<ui:tableColumn binding="#{FormRH.tableColumn7}" headerText="Data do acidente" id="tableColumn7"

@ -7,7 +7,7 @@
<ui:head binding="#{FormSeguranca.head1}" id="head1">
<ui:link binding="#{FormSeguranca.link1}" id="link1" url="/resources/stylesheet.css"/>
<ui:link binding="#{FormSeguranca.link2}" id="link2" url="/resources/stylesheet.css"/>
<script>
<script type="text/javascript">
function showPdf()
{
sOptions = " width = '" + screen.availWidth + "'";
@ -19,8 +19,10 @@
wOpen.resizeTo( screen.availWidth, screen.availHeight );
}
</script>
<ui:script type="text/javascript" url="/resources/RaveThemeFix.js" />
</ui:head>
<ui:body binding="#{FormSeguranca.body1}" id="body1" style="-rave-layout: grid">
<ui:body binding="#{FormSeguranca.body1}" id="body1" style="-rave-layout: grid" onLoad="showTables( 'form1:table1', 'form2:table2', 'form3:table3' );">
<!-- ui:form binding="#{FormSeguranca.form1}" id="form1" -->
@ -103,8 +105,7 @@
<ui:button binding="#{FormSeguranca.buttonFilterActual}" id="buttonFilterActual" action="#{FormSeguranca.buttonFilterActual_action}" text="Pesquisar" />
</h:panelGrid>
<ui:table augmentTitle="false" binding="#{FormSeguranca.table1}" id="table1" style="width: 80%; height: 48px"
styleClass="centerBlock" width="816">
<ui:table augmentTitle="false" binding="#{FormSeguranca.table1}" id="table1" style="width: 100%; height: 48px" styleClass="centerBlock">
<ui:tableRowGroup binding="#{FormSeguranca.tableRowGroup1}" id="tableRowGroup1" rows="10"
sourceData="#{SessionBean1.analisesActualDataProvider}" sourceVar="currentRow">
<ui:tableColumn binding="#{FormSeguranca.tableColumn1}" headerText="Data do acidente" id="tableColumn1"
@ -176,8 +177,7 @@
<ui:button binding="#{FormSeguranca.buttonFilterSeg}" id="buttonFilterSeg" action="#{FormSeguranca.buttonFilterSeg_action}" text="Pesquisar" />
</h:panelGrid>
<ui:table augmentTitle="false" binding="#{FormSeguranca.table2}" id="table2" style="width: 80%; height: 48px"
styleClass="centerBlock" width="816">
<ui:table augmentTitle="false" binding="#{FormSeguranca.table2}" id="table2" style="width: 100%; height: 48px" styleClass="centerBlock">
<ui:tableRowGroup binding="#{FormSeguranca.tableRowGroup2}" id="tableRowGroup2" rows="10"
sourceData="#{SessionBean1.analisesSeguimentoDataProvider}" sourceVar="currentRow">
<ui:tableColumn binding="#{FormSeguranca.tableColumn4}" headerText="Data do acidente" id="tableColumn4"
@ -268,8 +268,7 @@
</h:panelGrid>
<h:panelGrid binding="#{FormSeguranca.gridPanel7}" columnClasses="gridColCenter" columns="1" id="gridPanel7"
style="height: 24px; width: 80%" styleClass="centerBlock" width="456">
<ui:table augmentTitle="false" binding="#{FormSeguranca.table3}" id="table3" style="width: 89%; height: 48px"
styleClass="centerBlock" width="816">
<ui:table augmentTitle="false" binding="#{FormSeguranca.table3}" id="table3" style="width: 100%; height: 48px" styleClass="centerBlock">
<ui:tableRowGroup binding="#{FormSeguranca.tableRowGroup3}" id="tableRowGroup3" rows="10"
sourceData="#{SessionBean1.analisesConcluidasDataProvider}" sourceVar="currentRow">
<ui:tableColumn binding="#{FormSeguranca.tableColumn7}" headerText="Data do acidente" id="tableColumn7"

@ -0,0 +1,26 @@
/**
* fix for the rave theme being used.
* Rave theme is setting table.hidden = "hidden" ...
* call this onLoad to remove 'hidden' property from tables
*/
function showTables()
{
for ( var i = 0; i < arguments.length; i++ )
{
var table = arguments[ i ];
showTable( table );
}
}
function showTable( tableID )
{
var table = document.getElementById( tableID );
if ( table == null )
{
return false;
}
table.hidden = "";
return true;
}
Loading…
Cancel
Save