This commit is contained in:
Keith Donald
2008-09-15 13:09:43 +00:00
parent 47f7fe1133
commit d72076724f
6 changed files with 67 additions and 73 deletions

View File

@@ -6,7 +6,7 @@
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
<!-- Maps request paths to flows in the flowRegistry; e.g. a path of /hotels/booking looks for a flow with id "hotels/booking" -->
<bean class="org.springframework.webflow.mvc.servlet.FlowHandlerMapping">
<bean class="org.springframework.webflow.mvc.servlet.FlowIdHandlerMapping">
<property name="defaultHandler">
<!-- If no flow match, map path to a view to render; e.g. the "/intro" path would map to the view named "intro" -->
<bean class="org.springframework.web.servlet.mvc.UrlFilenameViewController" />
@@ -20,12 +20,12 @@
<property name="suffix" value=".xhtml" />
</bean>
<!-- Handles requests mapped to the Spring Web Flow system -->
<!-- Dispatches requests mapped to org.springframework.web.servlet.mvc.Controller implementations -->
<bean class="org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter" />
<!-- Dispatches requests mapped to flows to FlowHandler implementations -->
<bean class="org.springframework.webflow.mvc.servlet.FlowHandlerAdapter">
<property name="flowExecutor" ref="flowExecutor" />
</bean>
<!-- Dispatches requests mapped to org.springframework.web.servlet.mvc.Controller implementations -->
<bean class="org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter" />
</beans>