<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
<faces-config >
    
  
  <!-- jspx -> jspx -->
<navigation-rule>
 <from-view-id>/a.jspx</from-view-id>
 <navigation-case>
   <from-outcome>A_JSPX_B_JSPX</from-outcome>
   <to-view-id>/b.jspx</to-view-id>
   <redirect/>
 </navigation-case>
</navigation-rule>

<!-- jspx -> iface -->
<navigation-rule>
 <from-view-id>/c.jspx</from-view-id>
 <navigation-case>
   <from-outcome>C_JSPX_D_IFACE</from-outcome>
   <to-view-id>/d.iface</to-view-id>
   <redirect/>
 </navigation-case>
</navigation-rule>

<!-- iface -> jspx -->
<navigation-rule>
 <from-view-id>/e.iface</from-view-id>
 <navigation-case>
   <from-outcome>E_IFACE_F_JSPX</from-outcome>
   <to-view-id>/f.jspx</to-view-id>
   <redirect/>
 </navigation-case>
</navigation-rule>

<!-- iface -> iface -->
<navigation-rule>
 <from-view-id>/g.iface</from-view-id>
 <navigation-case>
   <from-outcome>G_IFACE_H_IFACE</from-outcome>
   <to-view-id>/h.iface</to-view-id>
   <redirect/>
 </navigation-case>
</navigation-rule>

<!-- nothing -> jspx -->
<navigation-rule>
 <navigation-case>
   <from-outcome>NOTHING_J_JSPX</from-outcome>
   <to-view-id>/j.jspx</to-view-id>
   <redirect/>
 </navigation-case>
</navigation-rule>

<!-- nothing -> iface -->
<navigation-rule>
 <navigation-case>
   <from-outcome>NOTHING_L_IFACE</from-outcome>
   <to-view-id>/l.iface</to-view-id>
   <redirect/>
 </navigation-case>
</navigation-rule>

<!-- nothing -> non-JSF -->
<navigation-rule>
 <navigation-case>
   <from-outcome>NOTHING_NONJSF</from-outcome>
   <to-view-id>/nonJSF.html</to-view-id>
   <redirect/>
 </navigation-case>
</navigation-rule> 


<!-- star -> jspx -->
<navigation-rule>
 <from-view-id>*</from-view-id>
 <navigation-case>
   <from-outcome>STAR_O_JSPX</from-outcome>
   <to-view-id>/o.jspx</to-view-id>
 </navigation-case>
</navigation-rule>

<!-- star -> iface -->
<navigation-rule>
 <from-view-id>*</from-view-id>
 <navigation-case>
   <from-outcome>STAR_Q_IFACE</from-outcome>
   <to-view-id>/q.iface</to-view-id>
 </navigation-case>
</navigation-rule>

<!-- star -> non-JSF -->
<navigation-rule>
 <from-view-id>*</from-view-id>
 <navigation-case>
   <from-outcome>STAR_NONJSF</from-outcome>
   <to-view-id>/nonJSF.html</to-view-id>
 </navigation-case>
</navigation-rule>

<!-- looping S -> T -> S -> T -> S -> T -->
<navigation-rule>
 <navigation-case>
   <from-outcome>NOTHING_T_JSPX</from-outcome>
   <to-view-id>/t.jspx</to-view-id>
 </navigation-case>
 <navigation-case>
   <from-outcome>NOTHING_S_JSPX</from-outcome>
   <to-view-id>/s.jspx</to-view-id>
 </navigation-case>
</navigation-rule>

<!-- looping U -> V -> W -> U -> V -> W -> U -> V -> W -->
<navigation-rule>
 <navigation-case>
   <from-outcome>NOTHING_V_JSPX</from-outcome>
   <to-view-id>/v.jspx</to-view-id>
 </navigation-case>
 <navigation-case>
   <from-outcome>NOTHING_W_JSPX</from-outcome>
   <to-view-id>/w.jspx</to-view-id>
 </navigation-case>
 <navigation-case>
   <from-outcome>NOTHING_U_JSPX</from-outcome>
   <to-view-id>/u.jspx</to-view-id>
 </navigation-case>
</navigation-rule> 




</faces-config>

