<?xml version="1.0"?>
<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_1_2.xsd"
  version="1.2">
	<application>
		<navigation-handler>
		org.richfaces.ui.application.StateNavigationHandler</navigation-handler>
		 <el-resolver>org.richfaces.el.StateELResolver</el-resolver>
	</application>
	<factory>
		<application-factory>org.richfaces.ui.application.StateApplicationFactory</application-factory>
	</factory>
	<managed-bean>
		<managed-bean-name>loginbean</managed-bean-name>
		<managed-bean-class>org.richfaces.Bean</managed-bean-class>
		<managed-bean-scope>session</managed-bean-scope>
	</managed-bean>
	<managed-bean>
		<managed-bean-name>registerbean</managed-bean-name>
		<managed-bean-class>org.richfaces.Bean</managed-bean-class>
		<managed-bean-scope>session</managed-bean-scope>
	</managed-bean>
	<managed-bean>
		<managed-bean-name>loginaction</managed-bean-name>
		<managed-bean-class>org.richfaces.LoginAction</managed-bean-class>
		<managed-bean-scope>request</managed-bean-scope>
		<managed-property>
			<property-name>
			bean</property-name>
			<property-class>
			org.richfaces.Bean</property-class>
			<value>
			#{loginbean}</value>
		</managed-property>
	</managed-bean>
	<managed-bean>
		<managed-bean-name>registeraction</managed-bean-name>
		<managed-bean-class>org.richfaces.RegisterAction</managed-bean-class>
		<managed-bean-scope>request</managed-bean-scope>
		<managed-property>
			<property-name>
			bean</property-name>
			<property-class>
			org.richfaces.Bean</property-class>
			<value>
			#{registerbean}</value>
		</managed-property>
	</managed-bean>
	<managed-bean>
		<managed-bean-name>skinBean</managed-bean-name>
		<managed-bean-class>org.richfaces.SkinBean</managed-bean-class>
		<managed-bean-scope>session</managed-bean-scope>
	</managed-bean>
	<managed-bean>
		<managed-bean-name>
    	state</managed-bean-name>
		<managed-bean-class>
    	org.richfaces.ui.model.States</managed-bean-class>
		<managed-bean-scope>
    	request</managed-bean-scope>
		<managed-property>
			<property-name>
    		states</property-name>
			<property-class>
    		org.richfaces.ui.model.States</property-class>
			<value>#{config.states}</value>
		</managed-property>
	</managed-bean>
	<managed-bean>
		<managed-bean-name>
    	config</managed-bean-name>
		<managed-bean-class>
    	org.richfaces.Config</managed-bean-class>
		<managed-bean-scope>
    	none</managed-bean-scope>
	</managed-bean>
</faces-config>
