Files
myhealth/1.sources/MyHealth/docroot/WEB-INF/faces-config.xml
mgarcianun 846ff98002 * Implementado esqueleto de menu principal.
* Filtro AuthorizationFilter para gestionar inicio de sesión.
* Interfaz para página de login básica.
* Todos los managed beans movidos a paquete managedbean
* Configuración básica de faces-config con navegación de paginas
outcome.
* Actualizado web.xml
* Utilización de librería primefaces para interfaz de usuario.
* Aplicado tema bootstrap para primefaces.
* Los iconos (glyph-icons) de primefaces no se cargan en la interfaz
(Pendiente de investigar).
* Actualización de projects archives para inclusión de clases nuevas en
JAR/WAR/EAR de forma correcta.
2019-11-25 23:08:25 +01:00

68 lines
2.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<faces-config xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_3.xsd" version="2.3">
<navigation-rule>
<navigation-case>
<from-outcome>home</from-outcome>
<to-view-id>/home.xhtml</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>AddPatient</from-outcome>
<to-view-id>/profile/AddPatient.xhtml</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>AddFamilyDoctor</from-outcome>
<to-view-id>/profile/AddFamilyDoctor.xhtml</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>AddSpecialistDoctor</from-outcome>
<to-view-id>/profile/AddSpecialistDoctor.xhtml</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>ChangeFamilyDoctor</from-outcome>
<to-view-id>/profile/ChangeFamilyDoctor.xhtml</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>ShowPatient</from-outcome>
<to-view-id>/profile/ShowPatient.xhtml</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>ShowFamilyDoctor</from-outcome>
<to-view-id>/profile/ShowFamilyDoctor.xhtml</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>ShowSpecialistDoctor</from-outcome>
<to-view-id>/profile/ShowSpecialistDoctor.xhtml</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>UpdateSpecialistDoctor</from-outcome>
<to-view-id>/profile/UpdateSpecialistDoctor.xhtml</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>UpdateFamilyDoctor</from-outcome>
<to-view-id>/profile/UpdateFamilyDoctor.xhtml</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>UpdatePatient</from-outcome>
<to-view-id>/profile/UpdatePatient.xhtml</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>changecap</from-outcome>
<to-view-id>/profile/ChangePrimaryHealthCareCenter.xhtml</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>MedicalTests</from-outcome>
<to-view-id>/medicaltest/MedicalTests.xhtml</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>VisitView</from-outcome>
<to-view-id>/visit/VisitView.xhtml</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>ManageSpecialties</from-outcome>
<to-view-id>/systemAdmin/ManageSpecialties.xhtml</to-view-id>
</navigation-case>
</navigation-rule>
</faces-config>