<?xml version="1.0" encoding="UTF-8" ?>

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

   <managed-bean>
      <managed-bean-name>jsfBean</managed-bean-name>
      <managed-bean-class>test.jsf.JsfManagedBean</managed-bean-class>
      <managed-bean-scope>session</managed-bean-scope>
        <managed-property>
            <property-name>ref</property-name>
            <value-ref>${v.ref}</value-ref>
        </managed-property>
        <managed-property>
            <property-name>selectedEditor</property-name>
            <value>1</value>
        </managed-property>
   </managed-bean>
    <!-- If you have non XDoclet beans, define them in a file called jsf-beans.xml and place it in your merge directory. -->

   <navigation-rule>
      <from-view-id>from_1</from-view-id>
      <navigation-case>
         <from-outcome>result_1</from-outcome>
         <to-view-id>to_1</to-view-id>
      </navigation-case>
      <navigation-case>
         <from-outcome>ergebnis_2</from-outcome>
         <to-view-id>to_1</to-view-id>
      </navigation-case>
   </navigation-rule>
   <navigation-rule>
      <from-view-id>from_2</from-view-id>
      <navigation-case>
         <from-outcome>result_2</from-outcome>
         <to-view-id>to_2</to-view-id>
      </navigation-case>
   </navigation-rule>

    <!-- If you have non XDoclet navigation rules, define them in a file called jsf-navigations.xml and place it in your merge directory. -->

    <!-- To specify application level settings use jsf-application.xml and place it in your merge file -->

      <validator>
      	<validator-id>jsfValidator</validator-id>
      	<validator-class>test.jsf.JsfValidator</validator-class>
      	<attribute>
      		<attribute-name>validatorAttribute</attribute-name>
      		<attribute-class>java.lang.String</attribute-class>
      	</attribute>
      </validator>

    <!-- If you have non XDoclet validators, define them in a file called jsf-validators.xml and place it in your merge directory. -->

      <converter>
      <description>
      a dummy converter for testing
      </description>
      	<converter-id>jsfConverter</converter-id>
      	<converter-class>test.jsf.JsfConverter</converter-class>
      </converter>

    <!-- If you have non XDoclet converters, define them in a file called jsf-converters.xml and place it in your merge directory. -->

    <!-- If you have non XDoclet components, define them in a file called jsf-components.xml and place it in your merge directory. -->

    <!-- If you have non XDoclet render-kits, define them in a file called jsf-render-kits.xml and place it in your merge directory. -->
</faces-config>
