bug fixes from this mornings checkin

This commit is contained in:
Keith Donald
2008-02-26 17:25:08 +00:00
parent a864a58594
commit 139f0e1025
7 changed files with 111 additions and 34 deletions

View File

@@ -11,26 +11,29 @@
<!-- Imports the "application-layer" definining business logic and data access services -->
<import resource="application-layer-config.xml"/>
<bean name="/flows/*" class="org.springframework.webflow.mvc.FlowController">
<constructor-arg ref="flowExecutor" />
</bean>
<web:flow-executor id="flowExecutor" flow-registry="flowRegistry">
<web:flow-execution-attributes>
<web:alwaysRedirectOnPause value="true"/>
<web:alwaysRedirectOnPause value="true" />
</web:flow-execution-attributes>
<web:flow-execution-listeners>
<web:listener ref="jpaFlowExecutionListener" criteria="*"/>
<web:listener ref="jpaFlowExecutionListener" criteria="*" />
</web:flow-execution-listeners>
</web:flow-executor>
<web:flow-registry id="flowRegistry" flow-builder-services="flowBuilderServices">
<web:flow-location path="flow/main/main.xml" />
<web:flow-location path="flow/booking/booking.xml" />
<web:flow-builder class="org.springframework.faces.ui.resource.ResourcesFlowBuilder" />
</web:flow-registry>
<bean id="flowBuilderServices" class="org.springframework.webflow.engine.builder.support.FlowBuilderServices">
<property name="expressionParser">
<bean class="org.springframework.webflow.core.expression.el.WebFlowELExpressionParser">
<constructor-arg >
<bean class="org.jboss.el.ExpressionFactoryImpl"/>
<bean class="org.jboss.el.ExpressionFactoryImpl" />
</constructor-arg>
</bean>
</property>

View File

@@ -45,7 +45,7 @@
<!-- The front controller of the Spring Web application, responsible for handling all application requests -->
<servlet>
<servlet-name>Spring Web MVC Dispatcher Servlet</servlet-name>
<servlet-class>org.springframework.web.servlet.DispacherServlet</servlet-class>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/config/web-application-config.xml</param-value>