Cambios en managedBeans (Herencia común) para gestionar EJBRemote
connection. * Vistas para componente profile * Inclusión de Primefaces
This commit is contained in:
51
1.sources/MyHealth/docroot/menubar.xhtml
Normal file
51
1.sources/MyHealth/docroot/menubar.xhtml
Normal file
@@ -0,0 +1,51 @@
|
||||
<h:form>
|
||||
<p:growl id="messages" />
|
||||
|
||||
<p:menubar>
|
||||
<p:submenu label="File" icon="pi pi-file">
|
||||
<p:submenu label="New" icon="pi pi-briefcase">
|
||||
<p:menuitem value="Project" url="#" />
|
||||
<p:menuitem value="Other" url="#" />
|
||||
</p:submenu>
|
||||
<p:menuitem value="Open" url="#" />
|
||||
<p:separator />
|
||||
<p:menuitem value="Quit" url="#" />
|
||||
</p:submenu>
|
||||
|
||||
<p:submenu label="Edit" icon="pi pi-pencil">
|
||||
<p:menuitem value="Undo" url="#" icon="pi pi-angle-double-left" />
|
||||
<p:menuitem value="Redo" url="#" icon="pi pi-angle-double-right" />
|
||||
</p:submenu>
|
||||
|
||||
<p:submenu label="Help" icon="pi pi-question">
|
||||
<p:menuitem value="Contents" url="#" />
|
||||
<p:submenu label="Search" icon="pi pi-search">
|
||||
<p:submenu label="Text">
|
||||
<p:menuitem value="Workspace" url="#" />
|
||||
</p:submenu>
|
||||
<p:menuitem value="File" url="#" />
|
||||
</p:submenu>
|
||||
</p:submenu>
|
||||
|
||||
<p:submenu label="Actions" icon="pi pi-cog">
|
||||
<p:submenu label="Ajax" icon="pi pi-refresh">
|
||||
<p:menuitem value="Save" action="#{menuView.save}" icon="pi pi-save"
|
||||
update="messages" />
|
||||
<p:menuitem value="Update" action="#{menuView.update}"
|
||||
icon="pi pi-refresh" update="messages" />
|
||||
</p:submenu>
|
||||
<p:submenu label="Non-Ajax" icon="pi pi-clone">
|
||||
<p:menuitem value="Delete" action="#{menuView.delete}"
|
||||
icon="pi pi-times" update="messages" ajax="false" />
|
||||
</p:submenu>
|
||||
</p:submenu>
|
||||
|
||||
<p:menuitem value="Quit" url="http://www.primefaces.org"
|
||||
icon="pi pi-times" />
|
||||
|
||||
<f:facet name="options">
|
||||
<p:inputText style="margin:1px 10px 1px 1px;" placeholder="Search" />
|
||||
<p:commandButton type="button" value="Logout" icon="pi pi-home" />
|
||||
</f:facet>
|
||||
</p:menubar>
|
||||
</h:form>
|
||||
24
1.sources/MyHealth/docroot/profile/AddFamilyDoctor.xhtml
Normal file
24
1.sources/MyHealth/docroot/profile/AddFamilyDoctor.xhtml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
|
||||
xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html">
|
||||
|
||||
<ui:composition template="../header.xhtml">
|
||||
<ui:define name="content">
|
||||
<h:form id="errorForm">
|
||||
<div align="center">
|
||||
<h1>AddFamilyDoctor Page</h1>
|
||||
<hr/>
|
||||
<div>AddFamilyDoctor:</div>
|
||||
<div>
|
||||
AddFamilyDoctor content
|
||||
</div>
|
||||
</div>
|
||||
<p align="center">
|
||||
<h:button value="Volver al inicio" outcome="home?refresh=1" />
|
||||
</p>
|
||||
</h:form>
|
||||
</ui:define>
|
||||
</ui:composition>
|
||||
</html>
|
||||
24
1.sources/MyHealth/docroot/profile/AddPaciente.xhtml
Normal file
24
1.sources/MyHealth/docroot/profile/AddPaciente.xhtml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
|
||||
xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html">
|
||||
|
||||
<ui:composition template="../header.xhtml">
|
||||
<ui:define name="content">
|
||||
<h:form id="errorForm">
|
||||
<div align="center">
|
||||
<h1>AddPaciente Page</h1>
|
||||
<hr/>
|
||||
<div>AddPaciente:</div>
|
||||
<div>
|
||||
AddPaciente content
|
||||
</div>
|
||||
</div>
|
||||
<p align="center">
|
||||
<h:button value="Volver al inicio" outcome="home?refresh=1" />
|
||||
</p>
|
||||
</h:form>
|
||||
</ui:define>
|
||||
</ui:composition>
|
||||
</html>
|
||||
24
1.sources/MyHealth/docroot/profile/AddSpecialistDoctor.xhtml
Normal file
24
1.sources/MyHealth/docroot/profile/AddSpecialistDoctor.xhtml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
|
||||
xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html">
|
||||
|
||||
<ui:composition template="../header.xhtml">
|
||||
<ui:define name="content">
|
||||
<h:form id="errorForm">
|
||||
<div align="center">
|
||||
<h1>AddSpecialistDoctor Page</h1>
|
||||
<hr/>
|
||||
<div>AddSpecialistDoctor:</div>
|
||||
<div>
|
||||
AddSpecialistDoctor content
|
||||
</div>
|
||||
</div>
|
||||
<p align="center">
|
||||
<h:button value="Volver al inicio" outcome="home?refresh=1" />
|
||||
</p>
|
||||
</h:form>
|
||||
</ui:define>
|
||||
</ui:composition>
|
||||
</html>
|
||||
24
1.sources/MyHealth/docroot/profile/ChangeFamilyDoctor.xhtml
Normal file
24
1.sources/MyHealth/docroot/profile/ChangeFamilyDoctor.xhtml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
|
||||
xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html">
|
||||
|
||||
<ui:composition template="../header.xhtml">
|
||||
<ui:define name="content">
|
||||
<h:form id="errorForm">
|
||||
<div align="center">
|
||||
<h1>ChangeFamilyDoctor Page</h1>
|
||||
<hr/>
|
||||
<div>ChangeFamilyDoctor:</div>
|
||||
<div>
|
||||
ChangeFamilyDoctor content
|
||||
</div>
|
||||
</div>
|
||||
<p align="center">
|
||||
<h:button value="Volver al inicio" outcome="home?refresh=1" />
|
||||
</p>
|
||||
</h:form>
|
||||
</ui:define>
|
||||
</ui:composition>
|
||||
</html>
|
||||
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
|
||||
xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html">
|
||||
|
||||
<ui:composition template="../header.xhtml">
|
||||
<ui:define name="content">
|
||||
<h:form id="errorForm">
|
||||
<div align="center">
|
||||
<h1>ChangePrimaryHealthCareCenter Page</h1>
|
||||
<hr/>
|
||||
<div>ChangePrimaryHealthCareCenter:</div>
|
||||
<div>
|
||||
ChangePrimaryHealthCareCenter content
|
||||
</div>
|
||||
</div>
|
||||
<p align="center">
|
||||
<h:button value="Volver al inicio" outcome="home?refresh=1" />
|
||||
</p>
|
||||
</h:form>
|
||||
</ui:define>
|
||||
</ui:composition>
|
||||
</html>
|
||||
24
1.sources/MyHealth/docroot/profile/ShowFamilyDoctor.xhtml
Normal file
24
1.sources/MyHealth/docroot/profile/ShowFamilyDoctor.xhtml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
|
||||
xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html">
|
||||
|
||||
<ui:composition template="../header.xhtml">
|
||||
<ui:define name="content">
|
||||
<h:form id="errorForm">
|
||||
<div align="center">
|
||||
<h1>ShowFamilyDoctor Page</h1>
|
||||
<hr/>
|
||||
<div>ShowFamilyDoctor:</div>
|
||||
<div>
|
||||
ShowFamilyDoctor content
|
||||
</div>
|
||||
</div>
|
||||
<p align="center">
|
||||
<h:button value="Volver al inicio" outcome="home?refresh=1" />
|
||||
</p>
|
||||
</h:form>
|
||||
</ui:define>
|
||||
</ui:composition>
|
||||
</html>
|
||||
24
1.sources/MyHealth/docroot/profile/ShowPaciente.xhtml
Normal file
24
1.sources/MyHealth/docroot/profile/ShowPaciente.xhtml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
|
||||
xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html">
|
||||
|
||||
<ui:composition template="../header.xhtml">
|
||||
<ui:define name="content">
|
||||
<h:form id="errorForm">
|
||||
<div align="center">
|
||||
<h1>ShowPaciente Page</h1>
|
||||
<hr/>
|
||||
<div>ShowPaciente:</div>
|
||||
<div>
|
||||
ShowPaciente content
|
||||
</div>
|
||||
</div>
|
||||
<p align="center">
|
||||
<h:button value="Volver al inicio" outcome="home?refresh=1" />
|
||||
</p>
|
||||
</h:form>
|
||||
</ui:define>
|
||||
</ui:composition>
|
||||
</html>
|
||||
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
|
||||
xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html">
|
||||
|
||||
<ui:composition template="../header.xhtml">
|
||||
<ui:define name="content">
|
||||
<h:form id="errorForm">
|
||||
<div align="center">
|
||||
<h1>ShowSpecialistDoctor Page</h1>
|
||||
<hr/>
|
||||
<div>ShowSpecialistDoctor:</div>
|
||||
<div>
|
||||
ShowSpecialistDoctor content
|
||||
</div>
|
||||
</div>
|
||||
<p align="center">
|
||||
<h:button value="Volver al inicio" outcome="home?refresh=1" />
|
||||
</p>
|
||||
</h:form>
|
||||
</ui:define>
|
||||
</ui:composition>
|
||||
</html>
|
||||
24
1.sources/MyHealth/docroot/profile/UpdateFamilyDoctor.xhtml
Normal file
24
1.sources/MyHealth/docroot/profile/UpdateFamilyDoctor.xhtml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
|
||||
xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html">
|
||||
|
||||
<ui:composition template="../header.xhtml">
|
||||
<ui:define name="content">
|
||||
<h:form id="errorForm">
|
||||
<div align="center">
|
||||
<h1>UpdateFamilyDoctor Page</h1>
|
||||
<hr/>
|
||||
<div>UpdateFamilyDoctor:</div>
|
||||
<div>
|
||||
UpdateFamilyDoctor content
|
||||
</div>
|
||||
</div>
|
||||
<p align="center">
|
||||
<h:button value="Volver al inicio" outcome="home?refresh=1" />
|
||||
</p>
|
||||
</h:form>
|
||||
</ui:define>
|
||||
</ui:composition>
|
||||
</html>
|
||||
24
1.sources/MyHealth/docroot/profile/UpdatePaciente.xhtml
Normal file
24
1.sources/MyHealth/docroot/profile/UpdatePaciente.xhtml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
|
||||
xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html">
|
||||
|
||||
<ui:composition template="../header.xhtml">
|
||||
<ui:define name="content">
|
||||
<h:form id="errorForm">
|
||||
<div align="center">
|
||||
<h1>UpdatePaciente Page</h1>
|
||||
<hr/>
|
||||
<div>UpdatePaciente:</div>
|
||||
<div>
|
||||
UpdatePaciente content
|
||||
</div>
|
||||
</div>
|
||||
<p align="center">
|
||||
<h:button value="Volver al inicio" outcome="home?refresh=1" />
|
||||
</p>
|
||||
</h:form>
|
||||
</ui:define>
|
||||
</ui:composition>
|
||||
</html>
|
||||
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
|
||||
xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html">
|
||||
|
||||
<ui:composition template="../header.xhtml">
|
||||
<ui:define name="content">
|
||||
<h:form id="errorForm">
|
||||
<div align="center">
|
||||
<h1>UpdateSpecialistDoctor Page</h1>
|
||||
<hr/>
|
||||
<div>UpdateSpecialistDoctor:</div>
|
||||
<div>
|
||||
UpdateSpecialistDoctor content
|
||||
</div>
|
||||
</div>
|
||||
<p align="center">
|
||||
<h:button value="Volver al inicio" outcome="home?refresh=1" />
|
||||
</p>
|
||||
</h:form>
|
||||
</ui:define>
|
||||
</ui:composition>
|
||||
</html>
|
||||
@@ -16,7 +16,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<p align="center">
|
||||
<h:button value="Volver al inicio" outcome="homeView?refresh=1" />
|
||||
<h:button value="Volver al inicio" outcome="home?refresh=1" />
|
||||
</p>
|
||||
</h:form>
|
||||
</ui:define>
|
||||
|
||||
Reference in New Issue
Block a user