Java Reference
In-Depth Information
The created.jsp and notcreated.jsp JSF pages are not associated with
managed beans. The JSF page navigation and the managed beans are defined in the
configuration file faces-config.xml , which is listed as follows:
<?xml version="1.0" encoding="windows-1252"?>
<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee">
<managed-bean>
<managed-bean-name>backing_article</managed-bean-name>
<managed-bean-class>view.backing.Article</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
<!--oracle-jdev-comment:managed-bean-jsp-link:1article.jsp-->
</managed-bean>
<managed-bean>
<managed-bean-name>backing_edition</managed-bean-name>
<managed-bean-class>view.backing.Edition</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
<!--oracle-jdev-comment:managed-bean-jsp-link:1edition.jsp-->
</managed-bean>
<managed-bean>
<managed-bean-name>backing_section</managed-bean-name>
<managed-bean-class>view.backing.Section</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
<!--oracle-jdev-comment:managed-bean-jsp-link:1section.jsp-->
</managed-bean>
<navigation-rule>
<from-view-id>/edition.jsp</from-view-id>
<navigation-case>
<from-outcome>created</from-outcome>
<to-view-id>/created.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>notcreated</from-outcome>
<to-view-id>/notcreated.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/section.jsp</from-view-id>
<navigation-case>
<from-outcome>created</from-outcome>
<to-view-id>/created.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>notcreated</from-outcome>
 
Search WWH ::




Custom Search