faces-config.xml
<?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 ================================== --> <faces-config> <factory> <faces-context-factory>com.ibm.faces.context.AjaxFacesContextFactory</faces-context-factory> <render-kit-factory>com.ibm.faces.renderkit.AjaxRenderKitFactory</render-kit-factory> </factory> <managed-bean> <managed-bean-name>pc_CustomerListView</managed-bean-name> <managed-bean-class>pagecode.CustomerListView</managed-bean-class> <managed-bean-scope>request</managed-bean-scope> </managed-bean> <managed-bean> <managed-bean-name>customerList</managed-bean-name> <managed-bean-class>com.ibm.faces.portlet.examples.CustomerList</managed-bean-class> <managed-bean-scope>session</managed-bean-scope> </managed-bean> <managed-bean> <managed-bean-name>pc_TicketListView</managed-bean-name> <managed-bean-class>pagecode.TicketListView</managed-bean-class> <managed-bean-scope>request</managed-bean-scope> </managed-bean> <managed-bean> <managed-bean-name>ticketList</managed-bean-name> <managed-bean-class>com.ibm.faces.portlet.examples.TicketList</managed-bean-class> <managed-bean-scope>session</managed-bean-scope> </managed-bean> <managed-bean> <managed-bean-name>pc_TicketDetailView</managed-bean-name> <managed-bean-class>pagecode.TicketDetailView</managed-bean-class> <managed-bean-scope>request</managed-bean-scope> </managed-bean> <managed-bean> <managed-bean-name>ticketDetail</managed-bean-name> <managed-bean-class>com.ibm.faces.portlet.examples.TicketDetail</managed-bean-class> <managed-bean-scope>session</managed-bean-scope> </managed-bean> <managed-bean> <managed-bean-name>pc_TicketDetailUpdate</managed-bean-name> <managed-bean-class>pagecode.TicketDetailUpdate</managed-bean-class> <managed-bean-scope>request</managed-bean-scope> </managed-bean> <navigation-rule> <from-view-id>/TicketDetailUpdate.jsp</from-view-id> <navigation-case> <from-outcome>view</from-outcome> <to-view-id>/TicketDetailView.jsp</to-view-id> </navigation-case> </navigation-rule> <navigation-rule> <from-view-id>/TicketDetailView.jsp</from-view-id> <navigation-case> <from-outcome>update</from-outcome> <to-view-id>/TicketDetailUpdate.jsp</to-view-id> </navigation-case> </navigation-rule> <lifecycle> <phase-listener>com.ibm.faces.webapp.ValueResourcePhaseListener</phase-listener> </lifecycle> <!-- variable/property resolver registration --> <application> <variable-resolver>com.ibm.faces.databind.SelectItemsVarResolver</variable-resolver> <variable-resolver>com.ibm.faces.portlet.PortletVariableResolver</variable-resolver> <state-manager>com.ibm.faces.application.DevelopmentStateManager</state-manager> <property-resolver>com.ibm.faces.databind.SelectItemsPropResolver</property-resolver> <locale-config> <supported-locale>en</supported-locale> </locale-config> </application> </faces-config>