Web Flow 1 required Spring MVC based flows to manually call FormAction
methods, notably:
setupForm
, bindAndValidate
to process form views.
Web Flow 2 now provides automatic model setup and binding using the model
attribute for view-state
s.
Please see the Binding to a Model section for details.
Web Flow 1 used OGNL exclusively for expressions within the flow definitions. Web Flow 2 adds support for Unified EL. United EL is used when it is available, OGNL will continue to be used when a Unified EL implementation is not available. Please see the Expression Language chapter for details.
Flash scope in Web Flow 1 lived across the current request and into the next request. This was conceptually similar to Web Flow 2's view scope concept, but the semantics were not as well defined. In Web Flow 2, flash scope is cleared after every view render. This makes flashScope semantics in Web Flow consistent with other web frameworks.
Web Flow 2 offers significantly improved integration with JavaServerFaces. Please see the JSF Integration chapter for details.