Removed scoping changes (SWF-163) from sellitem-jsf sample
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<faces-config>
|
||||
<application>
|
||||
<navigation-handler>org.springframework.webflow.executor.jsf.FlowNavigationHandler</navigation-handler>
|
||||
<variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver</variable-resolver>
|
||||
<variable-resolver>org.springframework.webflow.executor.jsf.DelegatingFlowVariableResolver</variable-resolver>
|
||||
</application>
|
||||
|
||||
<lifecycle>
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:flow="http://www.springframework.org/schema/webflow-config"
|
||||
xsi:schemaLocation="
|
||||
http://www.springframework.org/schema/beans
|
||||
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
|
||||
http://www.springframework.org/schema/webflow-config
|
||||
http://www.springframework.org/schema/webflow-config/spring-webflow-config-1.1.xsd">
|
||||
|
||||
<flow:enable-scopes/>
|
||||
|
||||
<bean id="sale" class="org.springframework.webflow.samples.sellitem.Sale" scope="conversation"/>
|
||||
|
||||
</beans>
|
||||
@@ -3,6 +3,8 @@
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/webflow
|
||||
http://www.springframework.org/schema/webflow/spring-webflow-1.0.xsd">
|
||||
|
||||
<var name="sale" class="org.springframework.webflow.samples.sellitem.Sale" scope="conversation"/>
|
||||
|
||||
<start-state idref="enterPriceAndItemCount" />
|
||||
|
||||
@@ -31,6 +33,6 @@
|
||||
<transition on="success" to="showCostOverview" />
|
||||
</action-state>
|
||||
|
||||
<end-state id="showCostOverview" view="/costOverview.jsp" />
|
||||
<end-state id="showCostOverview" view="/costOverview.jsp" />
|
||||
|
||||
</flow>
|
||||
@@ -9,7 +9,6 @@
|
||||
<param-value>
|
||||
classpath:org/springframework/webflow/samples/sellitem/services-config.xml
|
||||
/WEB-INF/webflow-config.xml
|
||||
/WEB-INF/flows/sellitem-beans.xml
|
||||
</param-value>
|
||||
</context-param>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user