<?xml version="1.0"?>

<!DOCTYPE faces-config PUBLIC
  "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
  "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">

<!-- =========== FULL CONFIGURATION FILE ================================== -->

<faces-config>
	
    <application>
    	<message-bundle>appMessages</message-bundle>
    	<locale-config>
        	<default-locale>en</default-locale>
        	<supported-locale>ja</supported-locale>
    	</locale-config>
	</application>

	<converter>
		<converter-for-class>java.util.Date</converter-for-class>
		<converter-class>org.seasar.jsf.convert.S2DateTimeConverter</converter-class>
	</converter>
	
	<navigation-rule>
		<navigation-case>
			<from-outcome>hello</from-outcome>
			<to-view-id>/hello/hello.html</to-view-id>
		</navigation-case>
	</navigation-rule>

	<navigation-rule>
		<navigation-case>
			<from-outcome>add</from-outcome>
			<to-view-id>/add/add.html</to-view-id>
			<redirect/>
		</navigation-case>
	</navigation-rule>

	<navigation-rule>
		<navigation-case>
			<from-outcome>forEachList</from-outcome>
			<to-view-id>/foreach/forEachList.html</to-view-id>
			<redirect/>
		</navigation-case>
	</navigation-rule>
	
	<navigation-rule>
		<navigation-case>
			<from-outcome>forEachResult</from-outcome>
			<to-view-id>/foreach/forEachResult.html</to-view-id>
		</navigation-case>
	</navigation-rule>
	
	<navigation-rule>
		<navigation-case>
			<from-outcome>forEach2List</from-outcome>
			<to-view-id>/foreach2/forEach2List.html</to-view-id>
			<redirect/>
		</navigation-case>
	</navigation-rule>
	
	<navigation-rule>
		<navigation-case>
			<from-outcome>forEach3List</from-outcome>
			<to-view-id>/foreach3/forEach3List.html</to-view-id>
			<redirect/>
		</navigation-case>
	</navigation-rule>
	
	<navigation-rule>
		<navigation-case>
			<from-outcome>converter</from-outcome>
			<to-view-id>/converter/converter.html</to-view-id>
			<redirect/>
		</navigation-case>
	</navigation-rule>
	
	<navigation-rule>
		<navigation-case>
			<from-outcome>validator</from-outcome>
			<to-view-id>/validator/validator.html</to-view-id>
			<redirect/>
		</navigation-case>
	</navigation-rule>
	
	<navigation-rule>
		<navigation-case>
			<from-outcome>checkbox</from-outcome>
			<to-view-id>/checkbox/checkbox.html</to-view-id>
			<redirect/>
		</navigation-case>
	</navigation-rule>
	
	<navigation-rule>
		<navigation-case>
			<from-outcome>selectOneMenu</from-outcome>
			<to-view-id>/selectonemenu/selectOneMenu.html</to-view-id>
			<redirect/>
		</navigation-case>
	</navigation-rule>
	
	<navigation-rule>
		<navigation-case>
			<from-outcome>selectManyCheckbox</from-outcome>
			<to-view-id>/selectmanycheckbox/selectManyCheckbox.html</to-view-id>
			<redirect/>
		</navigation-case>
	</navigation-rule>
	
	<navigation-rule>
		<navigation-case>
			<from-outcome>selectManyListbox</from-outcome>
			<to-view-id>/selectmanylistbox/selectManyListbox.html</to-view-id>
			<redirect/>
		</navigation-case>
	</navigation-rule>
	
	<navigation-rule>
		<navigation-case>
			<from-outcome>selectOneRadio</from-outcome>
			<to-view-id>/selectoneradio/selectOneRadio.html</to-view-id>
			<redirect/>
		</navigation-case>
	</navigation-rule>
	
	<navigation-rule>
		<navigation-case>
			<from-outcome>inputTextarea</from-outcome>
			<to-view-id>/inputtextarea/inputTextarea.html</to-view-id>
			<redirect/>
		</navigation-case>
	</navigation-rule>
	
	<navigation-rule>
		<navigation-case>
			<from-outcome>pageTran1</from-outcome>
			<to-view-id>/errorpage/pageTran1.html</to-view-id>
			<redirect/>
		</navigation-case>
	</navigation-rule>
	
	<navigation-rule>
		<navigation-case>
			<from-outcome>pageTran2</from-outcome>
			<to-view-id>/errorpage/pageTran2.html</to-view-id>
			<redirect/>
		</navigation-case>
	</navigation-rule>
  
	<navigation-rule>
		<navigation-case>
			<from-outcome>employeeSearch</from-outcome>
			<to-view-id>/employee/employeeSearch.html</to-view-id>
			<redirect/>
		</navigation-case>
	</navigation-rule>
	
	<navigation-rule>
		<navigation-case>
			<from-outcome>employeeList</from-outcome>
			<to-view-id>/employee/employeeList.html</to-view-id>
		</navigation-case>
	</navigation-rule>
	
	<navigation-rule>
		<navigation-case>
			<from-outcome>employeeEdit</from-outcome>
			<to-view-id>/employee/employeeEdit.html</to-view-id>
		</navigation-case>
	</navigation-rule>
	
	<navigation-rule>
		<navigation-case>
			<from-outcome>employeeConfirm</from-outcome>
			<to-view-id>/employee/employeeConfirm.html</to-view-id>
		</navigation-case>
	</navigation-rule>

</faces-config>
