office-dynamixs-ai/dynamixs-ai-app/docker/deployments/dynamixs-ai.war/WEB-INF/faces-config-office.xml
2025-05-31 14:46:56 +02:00

64 lines
No EOL
1.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<faces-config version="3.0"
xmlns="https://jakarta.ee/xml/ns/jakartaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-facesconfig_3_0.xsd">
<managed-bean>
<managed-bean-name>currentDate</managed-bean-name>
<managed-bean-class>java.util.Date</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<!-- Default navigation rules -->
<navigation-rule>
<from-view-id>/*</from-view-id>
<navigation-case>
<!-- redirect to last view -->
<from-outcome>home</from-outcome>
<to-view-id>/pages/home.xhtml</to-view-id>
<redirect />
</navigation-case>
<navigation-case>
<!-- redirect to last view -->
<from-outcome>sessionexpired</from-outcome>
<to-view-id>/sessionexpired.xhtml</to-view-id>
<redirect />
</navigation-case>
<navigation-case>
<!-- redirect to notes -->
<from-outcome>notes</from-outcome>
<to-view-id>/pages/notes.xhtml</to-view-id>
<redirect />
</navigation-case>
<navigation-case>
<from-outcome>board</from-outcome>
<to-view-id>/pages/notes_board.xhtml</to-view-id>
<redirect />
</navigation-case>
<navigation-case>
<from-outcome>search</from-outcome>
<to-view-id>/pages/workitems/worklist.xhtml</to-view-id>
<redirect />
</navigation-case>
<navigation-case>
<from-outcome>nologin</from-outcome>
<to-view-id>/loginerror.xhtml</to-view-id>
<redirect />
</navigation-case>
<navigation-case>
<from-outcome>logout</from-outcome>
<to-view-id>/logout.xhtml</to-view-id>
<redirect />
</navigation-case>
</navigation-rule>
</faces-config>