Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Yes it is possible. Carefully read through the Spring Documentation for the release. You will need to use the reference documentation for 1.0.X &amp; 2.3.X as this will be helpful. Pay particular attention to the following changes as recommended by the upgrade guide.</p> <p>Step 1. I wrote a small tool that extends the upgrader below to recursively find all our web flows and to transform the tags to be 2.3.X compliant:</p> <pre><code>java org.springframework.webflow.upgrade.WebFlowUpgrader flow-to-upgrade.xml </code></pre> <p>This class is found in the WebFlow jars source.</p> <p>Step 2. I updated the schema:</p> <pre><code>&lt;beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:webflow="http://www.springframework.org/schema/webflow-config" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/webflow-config http://www.springframework.org/schema/webflow-config/spring-webflow-config-2.3.xsd"&gt; </code></pre> <p>Step 3. Confirm the flowExecutor tag is updated to 2.3 compliance:</p> <pre><code>&lt;webflow:flow-executor id="flowExecutor" /&gt; </code></pre> <p>Step 4. Update the flowRegistry for static path based declaration and ensure tag compliance:</p> <pre><code>&lt;webflow:flow-registry id="flowRegistry"&gt; &lt;webflow:flow-location path="/WEB-INF/hotels/booking/booking.xml" /&gt; &lt;/webflow:flow-registry&gt; </code></pre> <p>Step 5. Change the FlowController class to match the new Web Flow jar: Changed from <code>org.springframework.webflow.executor.mvc.FlowController</code> and is now <code>org.springframework.webflow.mvc.servlet.FlowController</code> </p> <p>Step 6. Update the the FlowController bean class reference. Adding the WebFlow1FlowUrlHandler ensure Web Flow 1.0.x flows will run an be backwards compatible with the new Web Flow 2 jars.</p> <pre><code>&lt;bean name="/pos.htm" class="org.springframework.webflow.mvc.servlet.FlowController"&gt; &lt;property name="flowExecutor" ref="flowExecutor" /&gt; &lt;property name="flowUrlHandler"&gt; &lt;bean class="org.springframework.webflow.context.servlet.WebFlow1FlowUrlHandler" /&gt; &lt;/property&gt; &lt;/bean&gt; </code></pre> <p><a href="http://docs.spring.io/spring-webflow/docs/2.3.x/reference/htmlsingle/#upgrade-guide" rel="nofollow">http://docs.spring.io/spring-webflow/docs/2.3.x/reference/htmlsingle/#upgrade-guide</a></p> <p><a href="http://static.springsource.org/spring-webflow/docs/1.0.1/reference/index.html" rel="nofollow">http://static.springsource.org/spring-webflow/docs/1.0.1/reference/index.html</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload