Commit Graph

165 Commits

Author SHA1 Message Date
Rossen Stoyanchev
619249b52b Merge branch '2.3.x' 2012-03-27 18:02:45 -04:00
Rossen Stoyanchev
bca605d24a Spring Web Flow 2.3.1 release 2012-03-27 15:59:02 -04:00
Rossen Stoyanchev
ce8a12ad40 Update repository information in docs 2012-03-27 14:09:51 -04:00
Rossen Stoyanchev
8aec740bd8 Updates to readme, javadoc, and sample poms.
Issues: SWF-1507
2012-03-26 16:27:53 -04:00
Rossen Stoyanchev
3b1af34482 Check request param to recognize JSF 2 Ajax requests
Previously we checked the "Faces-Request" header only.
Now we try to delegate the call to
PartialViewContext.isAjaxRequest() first. If a FacesContext
is unavailble for some reason we also check the
"javax.faces.partial.ajax" request parameter.
2012-03-14 12:27:04 -04:00
Phil Webb
27cd5cca31 Add support for PostRestoreStateEvent
A PostRestoreStateEvent should be delivered whenever a JSF view is
restored. Typically we rely on JSF to generate required events but
in this case since WebFlow handles the RESTORE_VIEW phase itself,
we need to deliver this event ourselves.

Issues: SWF-1500
2012-03-06 17:20:55 -05:00
Rossen Stoyanchev
8e1aa91b40 JSF view root to survive redirect in same state
For JSF 2.0.x Spring Web Flow the view root could not be preserved
across redirects in the same state (e.g. following validation)
because a JSF state saving listener held on to the FacesContext,
which Web Flow releases before the redirect.

This issue was addressed in JSF 2.1
http://java.net/jira/browse/JAVASERVERFACES-1604
which means we can allow the view root to survive the redirect.

Note that the behavior can also be controlled with the
redirect-in-same state flow execution attribute.

Issues: SWF-1502
2012-02-29 15:36:14 -05:00
Rossen Stoyanchev
d616e6bed8 Fix "embedded" mode to be flow session local.
The "embedded" mode flag, which is used to suppress redirects so
that a flow can be embedded on a surrounding page, was previously
stored as a flow execution attribute. The idea was that a flow can
be launched in embedded mode simply by passing a flow input rather
than having that decision fixed through a static flow definition.

However flow execution attributes are not a suitable place to store
the embedded mode flag since they are globally shared. Instead this
information is now stored a flow session attribute, which means that
each individual session (including subflows) can have be in embedded
mode or not without affecting others
2012-02-28 17:59:57 -05:00
Rossen Stoyanchev
df649084ab Fix for bean validation messages in BindingResult
Previously Web Flow's BindingResult implementation distinguished
object from field-level errors by checking if the source of the
error is null or otherwise a String. However, class-level bean
validation errors have a field source represented by an empty
String. After this change object and field-level errors are
recognized by checking for String-based field source that is
neither null nor empty.

This commit also contains a fix for spring-faces tests where
in JSF 2.1 the presence of an unreleased FacesContext may
cause some tests to fail.
2012-02-28 13:27:16 -05:00
Rossen Stoyanchev
85d8d73c1d Update Jsf2FlowFacesContext.isValidationFailed()
Previously isValidationFailed() merely delegated to the wrapped
FacesContext ignoring any errors that may have been added to
Web Flow's MessageContext. After the change isValidationFailed()
checks and returns true if the MessageContext contains errors
or otherwise it delegates.

Issues: SWF-1490
2012-02-28 10:47:47 -05:00
Rossen Stoyanchev
e5f17df95b Increment version to 2.3.1.BUILD-SNAPSHOT. 2011-12-29 13:24:39 -05:00
Rossen Stoyanchev
dc5aa386fa Increment version to 2.4.0.BUILD-SNAPSHOT. 2011-12-29 13:09:27 -05:00
Rossen Stoyanchev
0c69e6803e Fix publish-documentation targets to reflect change in host name to static.springsource.org 2011-02-28 18:08:59 +00:00
Rossen Stoyanchev
fd62cbf5fa Update release notes for 2.3.0 release 2011-02-28 14:22:53 +00:00
Rossen Stoyanchev
2f1ed2015f SWF-1446 Make it easy to install Maven-central style dependencies locally 2011-01-24 11:14:29 +00:00
Rossen Stoyanchev
6d035c4299 SWF-1414 Switch samples to Maven central dependencies, Maven Eclipse plugin, and provide top level pom in samples directory. 2010-12-07 12:18:47 +00:00
Rossen Stoyanchev
aadddb0918 Update versions to 2.3.0 throughout 2010-10-28 16:43:41 +00:00
Rossen Stoyanchev
74299358d1 Update changelog for 2.2.1 release 2010-10-28 15:07:00 +00:00
Rossen Stoyanchev
5039913006 Update version number from 2.2.0 to 2.2.1 2010-10-11 12:12:12 +00:00
Rossen Stoyanchev
3b198a638c SWF-1382 Clarify docs for file uploads wrt JSF 2010-10-11 10:58:42 +00:00
Rossen Stoyanchev
d18971b61e Update changelog for 2.2.0.RC1 release 2010-09-22 09:55:16 +00:00
Rossen Stoyanchev
d2e7fc6e32 SWF-1386 Spring spring-js into two artifacts 2010-09-07 09:46:10 +00:00
Rossen Stoyanchev
9dc9a6eb45 SWF-1388 Move Spring JS resources to META-INF/web-resources 2010-08-31 22:39:08 +00:00
Rossen Stoyanchev
6a23dd5774 Ivy settings improvements (respect transitive dependencies, use precise configuration names) for maven downloaded arftifacts 2010-08-25 08:58:58 +00:00
Rossen Stoyanchev
0e50c45c1b update version to 2.2.0 2010-08-25 08:53:11 +00:00
Rossen Stoyanchev
fe9229cf15 SWF-1367 Add support for JSF 2 Ajax requests, update booking-faces sample (JSF 2 based Ajax, jsr-303 validation), add chained delegation to AjaxHandlers, other miscellaneous improvements 2010-07-28 12:56:24 +00:00
Rossen Stoyanchev
6ea8f37097 Create Spring Web Flow 2.2 branch 2010-07-19 17:21:20 +00:00
Rossen Stoyanchev
07d7b743cc Update changelog and readme for 2.1.1 release 2010-07-19 13:47:03 +00:00
Rossen Stoyanchev
a97bb1bf6b SWF-1362 Move dojo-build to spring-js 2010-07-14 15:43:14 +00:00
Rossen Stoyanchev
664acbfb48 SWF-1362 Add script to prepare custom dojo build, remove dojo and dijit directories, invoke shrinksafe to minify Spring.js and Spring-Dojo.js during the build 2010-07-14 14:26:52 +00:00
Rossen Stoyanchev
4e3a3ccb5e Update version in build.properties to 2.1.1 2010-06-17 15:07:05 +00:00
Rossen Stoyanchev
4cffb9ab55 Update changelog 2010-06-03 15:21:00 +00:00
Rossen Stoyanchev
f9f9fd094b SWF-1243 Comprehensive update to spring-faces for JSF 2.0 support 2010-06-02 19:48:10 +00:00
Rossen Stoyanchev
55d48aba51 Update changelong and readme for M2 2010-05-18 08:50:06 +00:00
Rossen Stoyanchev
0f84b153b5 SWF-1194 Upgrade to JSF 2 2010-05-17 10:23:15 +00:00
Rossen Stoyanchev
968014b4d7 SWF-1238 Ensure the response is committed when rendering multiple fragments. 2010-05-11 15:38:28 +00:00
Rossen Stoyanchev
ab26119353 Update change log for M1 release 2010-05-07 07:46:57 +00:00
Rossen Stoyanchev
120115ce54 SWF-1182 Upgrade to Spring Security 3.0.2.RELEASE 2010-04-21 13:09:07 +00:00
Rossen Stoyanchev
13755f4bbe SWF-1225 Update build properties for 2.1.0 release number. 2010-04-09 11:45:33 +00:00
Keith Donald
8452e1994e 2.0.9 build properties 2009-09-25 03:11:14 +00:00
Keith Donald
059e57644f SWF-1176 ignore model evaluation errors in view-state handling 2009-09-25 03:00:32 +00:00
Jeremy Grelle
922e4505cd Updated for 2.0.8 2009-08-06 20:29:15 +00:00
Jeremy Grelle
7545c6e482 Updated for 2.0.8 2009-08-06 19:29:06 +00:00
Jeremy Grelle
1f62e73bf8 Updated for 2.0.8 2009-08-06 19:22:41 +00:00
Jeremy Grelle
ad6037206b Updated for SWF-1112 2009-04-23 14:02:57 +00:00
Keith Donald
eba1736a91 2.0.8 version update 2009-04-20 17:46:52 +00:00
Keith Donald
94d26cb4cd saveState improvement 2009-04-16 22:36:33 +00:00
Keith Donald
5349616d67 url encoding for flow execution / definition urls 2009-04-16 14:49:20 +00:00
Keith Donald
8ec2371e25 polish 2009-04-16 04:33:25 +00:00
Keith Donald
52f5736f7a polish 2009-04-15 16:29:04 +00:00