| <?xml version="1.0"?> |
| |
| <!DOCTYPE faces-config PUBLIC |
| "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN" |
| "http://java.sun.com/dtd/web-facesconfig_1_0.dtd"> |
| |
| <!-- =========== FULL CONFIGURATION FILE ================================== --> |
| |
| <!-- my components examples --> |
| |
| <faces-config> |
| |
| |
| <!-- Managed Beans for sayhello.jsp --> |
| <managed-bean> |
| <managed-bean-name>sayHelloBean</managed-bean-name> |
| <managed-bean-class>org.myorganization.component.example.SayHelloBean</managed-bean-class> |
| <managed-bean-scope>request</managed-bean-scope> |
| </managed-bean> |
| |
| <!-- NAVIGATION RULES --> |
| |
| <navigation-rule> |
| <navigation-case> |
| <from-outcome>go_home</from-outcome> |
| <to-view-id>/home.jsp</to-view-id> |
| </navigation-case> |
| </navigation-rule> |
| |
| <navigation-rule> |
| <from-view-id>/validatorDemo.jsp</from-view-id> |
| <navigation-case> |
| <from-outcome>display_number</from-outcome> |
| <to-view-id>/validatorDemoResult.jsp</to-view-id> |
| </navigation-case> |
| </navigation-rule> |
| |
| <navigation-rule> |
| <from-view-id>/converterDemo.jsp</from-view-id> |
| <navigation-case> |
| <from-outcome>display_phone</from-outcome> |
| <to-view-id>/converterDemoResult.jsp</to-view-id> |
| </navigation-case> |
| </navigation-rule> |
| |
| </faces-config> |