1. Micha Kops
  2. liferay-portlet-tutorial

Source

liferay-portlet-tutorial / src / main / webapp / WEB-INF / faces-config.xml

<?xml version="1.0" encoding="UTF-8"?>
<faces-config xmlns="http://java.sun.com/xml/ns/javaee"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
	version="2.0">

	<application>
		<message-bundle>i18nFaces</message-bundle>
		<resource-bundle>
			<base-name>i18n</base-name>
			<var>i18n</var>
		</resource-bundle>
	</application>
	<navigation-rule>
		<from-view-id>/xhtml/editMode.xhtml</from-view-id>
		<navigation-case>
			<from-outcome>success</from-outcome>
			<to-view-id>/xhtml/viewMode.xhtml</to-view-id>
		</navigation-case>
	</navigation-rule>
</faces-config>