diff --git a/build/generated-sources/ap-source-output/com/model/AgendaPK_.java b/build/generated-sources/ap-source-output/com/model/AgendaPK_.java index 67933b6..e720037 100644 --- a/build/generated-sources/ap-source-output/com/model/AgendaPK_.java +++ b/build/generated-sources/ap-source-output/com/model/AgendaPK_.java @@ -5,7 +5,7 @@ import javax.persistence.metamodel.SingularAttribute; import javax.persistence.metamodel.StaticMetamodel; -@Generated(value="EclipseLink-2.3.2.v20111125-r10461", date="2013-02-27T22:52:21") +@Generated(value="EclipseLink-2.3.2.v20111125-r10461", date="2013-02-28T16:52:16") @StaticMetamodel(AgendaPK.class) public class AgendaPK_ { diff --git a/build/generated-sources/ap-source-output/com/model/Agenda_.java b/build/generated-sources/ap-source-output/com/model/Agenda_.java index 00c63d4..3a3e1d5 100644 --- a/build/generated-sources/ap-source-output/com/model/Agenda_.java +++ b/build/generated-sources/ap-source-output/com/model/Agenda_.java @@ -8,7 +8,7 @@ import javax.persistence.metamodel.SingularAttribute; import javax.persistence.metamodel.StaticMetamodel; -@Generated(value="EclipseLink-2.3.2.v20111125-r10461", date="2013-02-27T22:52:21") +@Generated(value="EclipseLink-2.3.2.v20111125-r10461", date="2013-02-28T16:52:16") @StaticMetamodel(Agenda.class) public class Agenda_ { diff --git a/build/generated-sources/ap-source-output/com/model/Exame_.java b/build/generated-sources/ap-source-output/com/model/Exame_.java index 479bb96..dd35fc0 100644 --- a/build/generated-sources/ap-source-output/com/model/Exame_.java +++ b/build/generated-sources/ap-source-output/com/model/Exame_.java @@ -6,7 +6,7 @@ import javax.persistence.metamodel.SingularAttribute; import javax.persistence.metamodel.StaticMetamodel; -@Generated(value="EclipseLink-2.3.2.v20111125-r10461", date="2013-02-27T22:52:21") +@Generated(value="EclipseLink-2.3.2.v20111125-r10461", date="2013-02-28T16:52:16") @StaticMetamodel(Exame.class) public class Exame_ { diff --git a/build/generated-sources/ap-source-output/com/model/Medico_.java b/build/generated-sources/ap-source-output/com/model/Medico_.java index 6bb766b..7616575 100644 --- a/build/generated-sources/ap-source-output/com/model/Medico_.java +++ b/build/generated-sources/ap-source-output/com/model/Medico_.java @@ -6,7 +6,7 @@ import javax.persistence.metamodel.SingularAttribute; import javax.persistence.metamodel.StaticMetamodel; -@Generated(value="EclipseLink-2.3.2.v20111125-r10461", date="2013-02-27T22:52:21") +@Generated(value="EclipseLink-2.3.2.v20111125-r10461", date="2013-02-28T16:52:16") @StaticMetamodel(Medico.class) public class Medico_ { diff --git a/build/generated-sources/ap-source-output/com/model/Paciente_.java b/build/generated-sources/ap-source-output/com/model/Paciente_.java index 0c96074..a4e68d1 100644 --- a/build/generated-sources/ap-source-output/com/model/Paciente_.java +++ b/build/generated-sources/ap-source-output/com/model/Paciente_.java @@ -7,7 +7,7 @@ import javax.persistence.metamodel.SingularAttribute; import javax.persistence.metamodel.StaticMetamodel; -@Generated(value="EclipseLink-2.3.2.v20111125-r10461", date="2013-02-27T22:52:21") +@Generated(value="EclipseLink-2.3.2.v20111125-r10461", date="2013-02-28T16:52:16") @StaticMetamodel(Paciente.class) public class Paciente_ { diff --git a/build/generated-sources/ap-source-output/com/model/Usuario_.java b/build/generated-sources/ap-source-output/com/model/Usuario_.java index 4661421..03cd610 100644 --- a/build/generated-sources/ap-source-output/com/model/Usuario_.java +++ b/build/generated-sources/ap-source-output/com/model/Usuario_.java @@ -4,7 +4,7 @@ import javax.persistence.metamodel.SingularAttribute; import javax.persistence.metamodel.StaticMetamodel; -@Generated(value="EclipseLink-2.3.2.v20111125-r10461", date="2013-02-27T22:52:21") +@Generated(value="EclipseLink-2.3.2.v20111125-r10461", date="2013-02-28T16:52:16") @StaticMetamodel(Usuario.class) public class Usuario_ { diff --git a/build/web/404.xhtml b/build/web/404.xhtml new file mode 100644 index 0000000..fe15c40 --- /dev/null +++ b/build/web/404.xhtml @@ -0,0 +1,51 @@ + + + + + + + + SAEC + + + + + + + + + + + +
+
+
+
+

Página não encontrada

+
+

Erro 404

+
+
+
+ + + + + + + + + + + + + + + + + + + diff --git a/build/web/WEB-INF/classes/resouces.res b/build/web/WEB-INF/classes/resouces.res index 72ffc1d..a209f9e 100644 --- a/build/web/WEB-INF/classes/resouces.res +++ b/build/web/WEB-INF/classes/resouces.res @@ -1,2 +1,2 @@ -META-INF/orm.xml META-INF/eclipselink-orm.xml +META-INF/orm.xml diff --git a/build/web/WEB-INF/web.xml b/build/web/WEB-INF/web.xml index 68005f4..725907d 100644 --- a/build/web/WEB-INF/web.xml +++ b/build/web/WEB-INF/web.xml @@ -21,5 +21,20 @@ faces/index.xhtml - + + + contextConfigLocation + /WEB-INF/applicationContext.xml + + + + 404 + /faces/404.xhtml + + + + 500 + /faces/404.xhtml + + diff --git a/build/web/agendar.xhtml b/build/web/agendar.xhtml index f7cc868..6eea518 100644 --- a/build/web/agendar.xhtml +++ b/build/web/agendar.xhtml @@ -3,6 +3,9 @@ xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core"> + + + SAEC @@ -15,12 +18,18 @@ @@ -39,9 +48,10 @@ Consulta - + + @@ -79,6 +89,7 @@ + diff --git a/build/web/altera_exa.xhtml b/build/web/altera_exa.xhtml index 07c91ff..e529b88 100644 --- a/build/web/altera_exa.xhtml +++ b/build/web/altera_exa.xhtml @@ -1,7 +1,11 @@ + xmlns:ui="http://java.sun.com/jsf/facelets" + xmlns:f="http://java.sun.com/jsf/core"> + + + SAEC @@ -28,12 +32,14 @@ Exame - + +
R$ - +
+
diff --git a/build/web/altera_med.xhtml b/build/web/altera_med.xhtml index 7a9c0dc..2739660 100644 --- a/build/web/altera_med.xhtml +++ b/build/web/altera_med.xhtml @@ -1,7 +1,11 @@ + xmlns:ui="http://java.sun.com/jsf/facelets" + xmlns:f="http://java.sun.com/jsf/core"> + + + SAEC @@ -28,9 +32,11 @@ Médico - + + - + +
diff --git a/build/web/altera_pac.xhtml b/build/web/altera_pac.xhtml index 265b41a..05a6aff 100644 --- a/build/web/altera_pac.xhtml +++ b/build/web/altera_pac.xhtml @@ -3,6 +3,9 @@ xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core"> + + + SAEC @@ -19,8 +22,14 @@ var campo = $("#" + formulario + "\\:" + elemento); campo.attr(atributo, valor); } + function add_mascara_form(formulario, elemento, mascara, placeholder){ + var campo = $("#" + formulario + "\\:" + elemento); + campo.mask(mascara, {placeholder : placeholder}); + } $(document).ready(function() { add_atributo_form("cad-pac-form", "dataNasc", "placeholder", "dd/mm/aaaa"); + add_mascara_form("cad-pac-form", "dataNasc", "99/99/9999" , "_"); + add_mascara_form("cad-pac-form", "numero", "999999", " "); }); @@ -38,12 +47,13 @@
Paciente - - + + - + + @@ -97,6 +107,7 @@ + diff --git a/build/web/cad_exa.xhtml b/build/web/cad_exa.xhtml index ee1ce8b..a2a5584 100644 --- a/build/web/cad_exa.xhtml +++ b/build/web/cad_exa.xhtml @@ -1,7 +1,11 @@ + xmlns:ui="http://java.sun.com/jsf/facelets" + xmlns:f="http://java.sun.com/jsf/core"> + + + SAEC @@ -11,7 +15,7 @@ - + @@ -27,12 +31,14 @@
Exame - + +
R$ - +
+
diff --git a/build/web/cad_med.xhtml b/build/web/cad_med.xhtml index d918a73..2aec32c 100644 --- a/build/web/cad_med.xhtml +++ b/build/web/cad_med.xhtml @@ -1,7 +1,11 @@ + xmlns:ui="http://java.sun.com/jsf/facelets" + xmlns:f="http://java.sun.com/jsf/core"> + + + SAEC @@ -27,9 +31,11 @@
Médico - + + - + +
diff --git a/build/web/cad_pac.xhtml b/build/web/cad_pac.xhtml index 86d0038..a97abf2 100644 --- a/build/web/cad_pac.xhtml +++ b/build/web/cad_pac.xhtml @@ -3,6 +3,9 @@ xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core"> + + + SAEC @@ -19,8 +22,14 @@ var campo = $("#" + formulario + "\\:" + elemento); campo.attr(atributo, valor); } + function add_mascara_form(formulario, elemento, mascara, placeholder){ + var campo = $("#" + formulario + "\\:" + elemento); + campo.mask(mascara, {placeholder : placeholder}); + } $(document).ready(function() { add_atributo_form("cad-pac-form", "dataNasc", "placeholder", "dd/mm/aaaa"); + add_mascara_form("cad-pac-form", "dataNasc", "99/99/9999" , "_"); + add_mascara_form("cad-pac-form", "numero", "999999", " "); }); @@ -38,11 +47,13 @@
Paciente - + + - + + @@ -85,7 +96,8 @@
- + +
@@ -96,6 +108,7 @@ + diff --git a/build/web/consultas_age.xhtml b/build/web/consultas_age.xhtml index 3f6a160..af8462f 100644 --- a/build/web/consultas_age.xhtml +++ b/build/web/consultas_age.xhtml @@ -3,6 +3,9 @@ xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core"> + + + SAEC diff --git a/build/web/index.xhtml b/build/web/index.xhtml index 706ed71..ae5241a 100644 --- a/build/web/index.xhtml +++ b/build/web/index.xhtml @@ -1,7 +1,11 @@ + xmlns:ui="http://java.sun.com/jsf/facelets" + xmlns:f="http://java.sun.com/jsf/core"> + + + SAEC diff --git a/build/web/lista_exa.xhtml b/build/web/lista_exa.xhtml index d479da1..af73e6d 100644 --- a/build/web/lista_exa.xhtml +++ b/build/web/lista_exa.xhtml @@ -3,6 +3,9 @@ xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core"> + + + SAEC diff --git a/build/web/lista_med.xhtml b/build/web/lista_med.xhtml index dcd2424..c7d3e80 100644 --- a/build/web/lista_med.xhtml +++ b/build/web/lista_med.xhtml @@ -3,6 +3,9 @@ xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core"> + + + SAEC diff --git a/build/web/lista_pac.xhtml b/build/web/lista_pac.xhtml index 479dd97..065eb27 100644 --- a/build/web/lista_pac.xhtml +++ b/build/web/lista_pac.xhtml @@ -3,6 +3,9 @@ xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core"> + + + SAEC diff --git a/build/web/login.xhtml b/build/web/login.xhtml index 2d45176..515d1d9 100644 --- a/build/web/login.xhtml +++ b/build/web/login.xhtml @@ -6,7 +6,6 @@ - SAEC - Login @@ -19,8 +18,8 @@ campo.attr(atributo, valor); } $(document).ready(function() { - add_atributo_form("login-form", "usuario", "placeholder", "Usuário"); - add_atributo_form("login-form", "senha", "placeholder", "Senha"); + add_atributo_form("login-form", "j_username", "placeholder", "Usuário"); + add_atributo_form("login-form", "j_password", "placeholder", "Senha"); $(".username").focus(function() { $(".user-icon").css("left","-48px"); }); @@ -41,13 +40,19 @@
-
diff --git a/web/altera_pac.xhtml b/web/altera_pac.xhtml index 265b41a..05a6aff 100644 --- a/web/altera_pac.xhtml +++ b/web/altera_pac.xhtml @@ -3,6 +3,9 @@ xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core"> + + + SAEC @@ -19,8 +22,14 @@ var campo = $("#" + formulario + "\\:" + elemento); campo.attr(atributo, valor); } + function add_mascara_form(formulario, elemento, mascara, placeholder){ + var campo = $("#" + formulario + "\\:" + elemento); + campo.mask(mascara, {placeholder : placeholder}); + } $(document).ready(function() { add_atributo_form("cad-pac-form", "dataNasc", "placeholder", "dd/mm/aaaa"); + add_mascara_form("cad-pac-form", "dataNasc", "99/99/9999" , "_"); + add_mascara_form("cad-pac-form", "numero", "999999", " "); }); @@ -38,12 +47,13 @@
Paciente - - + + - + + @@ -97,6 +107,7 @@ + diff --git a/web/cad_exa.xhtml b/web/cad_exa.xhtml index ee1ce8b..a2a5584 100644 --- a/web/cad_exa.xhtml +++ b/web/cad_exa.xhtml @@ -1,7 +1,11 @@ + xmlns:ui="http://java.sun.com/jsf/facelets" + xmlns:f="http://java.sun.com/jsf/core"> + + + SAEC @@ -11,7 +15,7 @@ - + @@ -27,12 +31,14 @@
Exame - + +
R$ - +
+
diff --git a/web/cad_med.xhtml b/web/cad_med.xhtml index d918a73..2aec32c 100644 --- a/web/cad_med.xhtml +++ b/web/cad_med.xhtml @@ -1,7 +1,11 @@ + xmlns:ui="http://java.sun.com/jsf/facelets" + xmlns:f="http://java.sun.com/jsf/core"> + + + SAEC @@ -27,9 +31,11 @@
Médico - + + - + +
diff --git a/web/cad_pac.xhtml b/web/cad_pac.xhtml index 86d0038..a97abf2 100644 --- a/web/cad_pac.xhtml +++ b/web/cad_pac.xhtml @@ -3,6 +3,9 @@ xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core"> + + + SAEC @@ -19,8 +22,14 @@ var campo = $("#" + formulario + "\\:" + elemento); campo.attr(atributo, valor); } + function add_mascara_form(formulario, elemento, mascara, placeholder){ + var campo = $("#" + formulario + "\\:" + elemento); + campo.mask(mascara, {placeholder : placeholder}); + } $(document).ready(function() { add_atributo_form("cad-pac-form", "dataNasc", "placeholder", "dd/mm/aaaa"); + add_mascara_form("cad-pac-form", "dataNasc", "99/99/9999" , "_"); + add_mascara_form("cad-pac-form", "numero", "999999", " "); }); @@ -38,11 +47,13 @@
Paciente - + + - + + @@ -85,7 +96,8 @@
- + +
@@ -96,6 +108,7 @@ + diff --git a/web/consultas_age.xhtml b/web/consultas_age.xhtml index 3f6a160..af8462f 100644 --- a/web/consultas_age.xhtml +++ b/web/consultas_age.xhtml @@ -3,6 +3,9 @@ xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core"> + + + SAEC diff --git a/web/index.xhtml b/web/index.xhtml index 706ed71..ae5241a 100644 --- a/web/index.xhtml +++ b/web/index.xhtml @@ -1,7 +1,11 @@ + xmlns:ui="http://java.sun.com/jsf/facelets" + xmlns:f="http://java.sun.com/jsf/core"> + + + SAEC diff --git a/web/lista_exa.xhtml b/web/lista_exa.xhtml index d479da1..af73e6d 100644 --- a/web/lista_exa.xhtml +++ b/web/lista_exa.xhtml @@ -3,6 +3,9 @@ xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core"> + + + SAEC diff --git a/web/lista_med.xhtml b/web/lista_med.xhtml index dcd2424..c7d3e80 100644 --- a/web/lista_med.xhtml +++ b/web/lista_med.xhtml @@ -3,6 +3,9 @@ xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core"> + + + SAEC diff --git a/web/lista_pac.xhtml b/web/lista_pac.xhtml index 479dd97..065eb27 100644 --- a/web/lista_pac.xhtml +++ b/web/lista_pac.xhtml @@ -3,6 +3,9 @@ xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core"> + + + SAEC diff --git a/web/login.xhtml b/web/login.xhtml index 2d45176..515d1d9 100644 --- a/web/login.xhtml +++ b/web/login.xhtml @@ -6,7 +6,6 @@ - SAEC - Login @@ -19,8 +18,8 @@ campo.attr(atributo, valor); } $(document).ready(function() { - add_atributo_form("login-form", "usuario", "placeholder", "Usuário"); - add_atributo_form("login-form", "senha", "placeholder", "Senha"); + add_atributo_form("login-form", "j_username", "placeholder", "Usuário"); + add_atributo_form("login-form", "j_password", "placeholder", "Senha"); $(".username").focus(function() { $(".user-icon").css("left","-48px"); }); @@ -41,13 +40,19 @@
-