Created
September 20, 2015 06:14
-
-
Save sebbaum/ff14c56a608688cc7173 to your computer and use it in GitHub Desktop.
example for jsf faces-config.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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_2.xsd" | |
version="2.2"> | |
<application> | |
<locale-config> | |
<default-locale>fr</default-locale> | |
</locale-config> | |
<resource-bundle> | |
<base-name>messages</base-name> | |
<var>msg</var> | |
</resource-bundle> | |
</application> | |
<navigation-rule> | |
<from-view-id>*</from-view-id> | |
<navigation-case> | |
<from-outcome>doCreateBook-success</from-outcome> | |
<to-view-id>/listBooks.htm</to-view-id> | |
</navigation-case> | |
</navigation-rule> | |
</faces-config> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment