From: maroni Date: Sun, 18 Mar 2012 20:15:25 +0000 (-0300) Subject: Ajustes acordados na reunião de sexta feira dia 16/03/12 X-Git-Url: http://200.18.67.61/gitweb/?a=commitdiff_plain;h=ff92a9b4013dfc10399f30fffc029ef3d3bec6da;p=simdecs2.git Ajustes acordados na reunião de sexta feira dia 16/03/12 --- diff --git a/src/conf/persistence.xml b/src/conf/persistence.xml index 682a3c9..be7ab4d 100644 --- a/src/conf/persistence.xml +++ b/src/conf/persistence.xml @@ -22,7 +22,7 @@ true - + diff --git a/src/java/org/ufcspa/simdecs/comunicacao/MetodoIniciaCaso.java b/src/java/org/ufcspa/simdecs/comunicacao/MetodoIniciaCaso.java index 72b1c75..805857a 100644 --- a/src/java/org/ufcspa/simdecs/comunicacao/MetodoIniciaCaso.java +++ b/src/java/org/ufcspa/simdecs/comunicacao/MetodoIniciaCaso.java @@ -103,6 +103,8 @@ public class MetodoIniciaCaso extends HttpServlet { if (returnResposta.substring(0,1).equals(returnResposta.substring(0,1).toLowerCase())) return returnResposta.substring(0,1).toUpperCase() + returnResposta.substring(1); + else + return returnResposta; } } @@ -170,7 +172,7 @@ public class MetodoIniciaCaso extends HttpServlet { if (!nodo.getNodo().getTipo().equals(Nodo.SINAL_SINTOMA) && !nodo.getNodo().getTipo().equals(Nodo.HISTORICO)) continue; - out.println(" "); + out.println(" "); } // Sinais e sintomas inativos @@ -182,7 +184,7 @@ public class MetodoIniciaCaso extends HttpServlet { if (!nodo.getTipo().equals(Nodo.SINAL_SINTOMA) && !nodo.getTipo().equals(Nodo.HISTORICO)) continue; - out.println(" "); + out.println(" "); } out.println(" "); @@ -193,7 +195,7 @@ public class MetodoIniciaCaso extends HttpServlet { if (!nodo.getNodo().getTipo().equals(Nodo.EXAME_FISICO)) continue; - out.println(" "); + out.println(" "); } out.println(" "); @@ -203,7 +205,7 @@ public class MetodoIniciaCaso extends HttpServlet { if (!nodo.getNodo().getTipo().equals(Nodo.EXAME_COMPLEMENTAR)) continue; - out.println(" "); + out.println(" "); } out.println(" "); /* diff --git a/src/java/org/ufcspa/simdecs/util/UnBUtil.java b/src/java/org/ufcspa/simdecs/util/UnBUtil.java index 495ef1e..8b3e252 100644 --- a/src/java/org/ufcspa/simdecs/util/UnBUtil.java +++ b/src/java/org/ufcspa/simdecs/util/UnBUtil.java @@ -36,7 +36,6 @@ public class UnBUtil { try { // required to run unbbayes gui classes on server System.setProperty("java.awt.headless", "false"); - System.out.println("REDE: " + redeEntity.getArquivo()); rede = new ProbabilisticNetwork(null); XMLBIFIO.loadXML(new File(redeEntity.getArquivo()), rede); diff --git a/web/login.xhtml b/web/login.xhtml index 3ee2118..891c589 100644 --- a/web/login.xhtml +++ b/web/login.xhtml @@ -33,7 +33,7 @@

- +