Cambio en la descripción de PDS MyHealth a MyHealth
Configuración de regla de navegación para JSF. Pruebas con primefaces Nuevo ManagedBean para pantalla home. Pagina de login para pruebas.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
|
||||
<faces-config version="2.0"
|
||||
xmlns="http://java.sun.com/xml/ns/javaee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
@@ -6,8 +8,10 @@
|
||||
<navigation-rule>
|
||||
<from-view-id>/login.xhtml</from-view-id>
|
||||
<navigation-case>
|
||||
<from-outcome>admin</from-outcome>
|
||||
<to-view-id>/admin.xhtml</to-view-id>
|
||||
<from-outcome>home</from-outcome>
|
||||
<to-view-id>/home.xhtml</to-view-id>
|
||||
</navigation-case>
|
||||
</navigation-rule>
|
||||
</faces-config>
|
||||
|
||||
|
||||
</faces-config>
|
||||
BIN
1.sources/MyHealth/docroot/WEB-INF/lib/primefaces-7.0.jar
Normal file
BIN
1.sources/MyHealth/docroot/WEB-INF/lib/primefaces-7.0.jar
Normal file
Binary file not shown.
@@ -30,14 +30,18 @@ http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
|
||||
<url-pattern>*.xhtml</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<error-page>
|
||||
<error-code>404</error-code>
|
||||
<location>/error.xhtml</location>
|
||||
</error-page>
|
||||
<error-page>
|
||||
<error-code>500</error-code>
|
||||
<location>ErrowView.xhtml</location>
|
||||
<location>/error.xhtml</location>
|
||||
</error-page>
|
||||
|
||||
<!-- The Welcome File List -->
|
||||
<welcome-file-list>
|
||||
<welcome-file>HomeView.xhtml</welcome-file>
|
||||
<welcome-file>home.xhtml</welcome-file>
|
||||
</welcome-file-list>
|
||||
|
||||
</web-app>
|
||||
|
||||
Reference in New Issue
Block a user