<?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>
                
                <message-bundle>messages</message-bundle>
     <!-- Use the Trinidad RenderKit -->
    <default-render-kit-id>org.apache.myfaces.trinidad.core</default-render-kit-id>
  </application>  
    <!-- Demo specifics -->
    <managed-bean>
        <description>A demo bean</description>
        <managed-bean-name>editingBean</managed-bean-name>
        <managed-bean-class>demo.editing.EditingBean</managed-bean-class>
        <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>
    <managed-bean>
        <description>A demo bean</description>
        <managed-bean-name>frameworkBean</managed-bean-name>
        <managed-bean-class>demo.editing.FrameworkBean</managed-bean-class>
        <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>
    <navigation-rule>
        <from-view-id>*</from-view-id>
        <navigation-case>
            <from-outcome>back</from-outcome>
            <to-view-id>/index.xhtml</to-view-id>
        </navigation-case>
    </navigation-rule>
</faces-config>