m2 code review / polishing / simplification

- removed flow faces context factory, not needed, favoring simple creation of flow faces context from jsf view factory / jsf view instead
- replace response state manager usage with state manager as discussed; allowed removal of custom render kit
- removed flow lifecycle factory; not needed, favoring simple creation of flow lifecycle factory from view factory instead.
this needs review, several tests still need updating
- misc naming improvements
- removed use of thread locals where possible
This commit is contained in:
Keith Donald
2007-11-18 04:37:05 +00:00
parent 4eb9192b70
commit ebfcf6b6bc
25 changed files with 472 additions and 671 deletions

View File

@@ -4,23 +4,14 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
<factory>
<lifecycle-factory>org.springframework.faces.webflow.FlowLifecycleFactory</lifecycle-factory>
<faces-context-factory>org.springframework.faces.webflow.FlowFacesContextFactory</faces-context-factory>
<render-kit-factory>org.springframework.faces.webflow.FlowRenderKitFactory</render-kit-factory>
</factory>
<application>
<action-listener>org.springframework.faces.webflow.FlowActionListener</action-listener>
<el-resolver>org.springframework.webflow.core.expression.el.RequestContextELResolver</el-resolver>
<el-resolver>org.springframework.webflow.core.expression.el.ScopeSearchingELResolver</el-resolver>
<view-handler>org.springframework.faces.webflow.FlowExecutionViewHandler</view-handler>
<state-manager>org.springframework.faces.webflow.FlowViewStateManager</state-manager>
<view-handler>org.springframework.faces.webflow.FlowViewHandler</view-handler>
</application>
<lifecycle>
<phase-listener>org.springframework.faces.support.RequestLoggingPhaseListener</phase-listener>
</lifecycle>
<component>
<component-type>spring.faces.DojoClientTextValidator</component-type>
<component-class>org.springframework.faces.ui.DojoClientTextValidator</component-class>