Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreSpring Web Flow PR3 has been released. Here's Keith's mailing list announcement:
---
Dear Spring Community,
I’m pleased to announce the release of Spring Web Flow Preview 3. This is a major new release with a substantial number of new features: both in terms of power and convenience. This release is considered stable for development use.
To download, access: http://sourceforge.net/project/showfiles.php?group_id=73357&package_id=148517
Note: there are a few incompatible changes between PR2 and PR3. For a listing and a porting guide, access the change log here: http://opensource.atlassian.com/confluence/spring/display/WEBFLOW/Change+Log
Contained within this release are a number of new and noteworthy enhancements. Here are some of them:
View State Enhancements
Setup actions:
<view-state id="displayCriteria" view="criteriaView">
<setup bean="searchFormAction" method="setupForm"/>
<transition on="submit" to="executeQuery">
<action bean="searchFormAction" method="bindAndValidate"/>
</transition>
</view-state>
Redirect expressions:
<end-state id="end" view="redirect:/myFlow.htm?input=${flowScope.input}"/>
Subflow Attribute Mapping Enhancements
For example:
<attribute-mapper>
<input value="${sourceEvent.parameters.id}" as="id" type="long"/>
</attribute-mapper>
The expression language used is also pluggable – by default web flow will try OGNL, if it’s not found on the classpath it’ll use Spring’s BeanWrapper.
Annotated Definition Objects
For example:
<transition on="submit" to="executeQuery">
<property name="submitPressed" value="true" type="boolean"/>
</transition>
In this case this ‘submitPressed’ boolean property would be made available to this transition’s target state after entering for reasoning.
Enhanced Flow Execution Listener Callbacks
---
These are just some of the new features of this release. For a full list of changes, see http://opensource.atlassian.com/confluence/spring/display/WEBFLOW/Change+Log
As always, we very much value your feedback. One or two more PR releases to go and we’ll be at 1.0 final!
Cheers,
Keith Donald
Erwin Vervaet