Rossen Stoyanchev
a770fa3492
Rename a couple of test classes to match convention
2012-05-25 16:54:15 -04:00
Rossen Stoyanchev
4146871862
Add spring-js-resources to Gradle build
2012-05-25 16:54:15 -04:00
Rossen Stoyanchev
50a1cf1def
Add reference docs tasks to Gradle build
...
- Move spring-webflow-reference to src/reference
- Upgrade to Docbook 5
- Apply docbook plugin
- Add tasks for generating distribution zip files
2012-05-25 16:54:15 -04:00
Rossen Stoyanchev
4e81930b72
Add Gradle build
...
- Add gradle build script
- Remove spring-build/
- Remove build-spring-webflow/
- Remove ivy.xml, pom.xml, template.mf
- Remove eclipse metadata
- Remove RichFacesAjaxHandler.java
- Create src/dist and add changelog.txt, readme.txt
Dependency changes:
- EBR dependency -> Maven-central dependencies
- el-api 1.0 -> 2.2.0
- ognl 2.6.9 -> 2.6.11
- org.jboss.el -> tomcat-jasper-el 7.0.27
2012-05-25 16:54:15 -04:00
Phillip Webb
bcb5a8d2a7
Revert use of putAll for JSF spec compliance
...
Issues: SWF-1532
2012-04-12 17:48:49 -07:00
Phillip Webb
54a300e009
Change signatures to make use of Java 5 varargs
...
Issues: SWF-1532
2012-04-05 16:23:38 -07:00
Phillip Webb
53384adca9
Update dates in copyright notice to 2004-2012
...
Issues: SWF-1532
2012-04-05 16:02:01 -07:00
Phillip Webb
34f4837ebd
Replace use of Iterator with Java 5 foreach loops
...
Issues: SWF-1532
2012-04-05 15:52:09 -07:00
Phillip Webb
22b018e95a
Make use of Java 5 auto boxing
...
Reviewed and replaced when possible:
- new Integer
- intValue()
- new Boolean
- booleanValue()
- Boolean.TRUE
- Boolean.FALSE
- new Long
- longValue()
Issues: SWF-1532
2012-04-05 14:07:58 -07:00
Phillip Webb
58936414e4
Replace StringBuffe with StringBuilder
...
Issues: SWF-1532
2012-04-05 10:48:49 -07:00
Phillip Webb
3f1c40188c
Update dates in copyright notice to 2004-2012
...
Issues: SWF-1532
2012-04-05 10:39:26 -07:00
Phil Webb
4d008f3f09
Refactor code to use Java 5 features
...
- Apply and use Generics
- Remove JdkVersion.isAtLeastJava15() conditionals
- Replace iterator loops with foreach syntax
- Switch on warning in eclipse
Issues: SWF-1532
2012-03-29 21:02:07 -07:00
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
dddcf7a258
Upgrade to Spring 3.1.1
2012-03-26 18:20:09 -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
63151acb8d
Minor fix in FlowPartialViewContext
...
The fix ensures that getRenderIds returns a mutable collection as
stated in the contract for the method in PartialViewContext.
Issues: SWF-1480
2012-02-29 12:21:07 -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
f764120279
Upgrade JSF Mojarra to version 2.1.7
2012-02-27 17:06:33 -05:00
Phil Webb
962b123d73
Ensure required test directory is created in GIT and remove javadoc refs to missing home dir
2012-01-18 17:57:36 -05:00
Phil Webb
6a49144843
Ensure required test directory is created in GIT and remove javadoc refs to missing home dir
2012-01-17 17:00:41 -08: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
5b0cf929da
SWF-1461 NPE when rendering a JSF view as part of non-webflow request.
2011-06-30 09:47:13 +00:00
Rossen Stoyanchev
1f988e0c57
Update template.mf files to Spring 3.0.5.RELEASE
2011-02-28 11:39:58 +00:00
Rossen Stoyanchev
3f8d0c8ba0
Update dependencies in web flow modules to Spring 3.0.5
2011-02-28 11:33:39 +00:00
Rossen Stoyanchev
ed76ec0485
SWF-1424 Add Web Flow implementation of PartialViewContext to support render action in JSF 2 applications.
2011-02-20 21:32:19 +00:00
Rossen Stoyanchev
5cb3ef0067
SWF-991, SWF-1413 - Add ajax-driven flow attribute and redirect-in-same-view-state flow execution attribute
2011-01-31 00:32:00 +00:00
Rossen Stoyanchev
b0e64468ae
SWF-1446 Make it easy to install Maven-central style dependencies local dependencies
2011-01-24 11:15:17 +00:00
Rossen Stoyanchev
1683f8c891
SWF-1435 Add top level pom.xml and Maven settings for verifying Maven configuration
2010-12-07 16:09:18 +00:00
Rossen Stoyanchev
8a4038ac13
SWF-1432 Make sure content type is set when sending a redirect instruction during JSF Ajax request
2010-12-03 14:51:45 +00:00
Rossen Stoyanchev
df7f3406a0
SWF-1419 Add ability to plug in custom Spring Validator via FlowBuilderServices to support JSR-303 validation
2010-12-02 13:54:00 +00:00
Rossen Stoyanchev
aadddb0918
Update versions to 2.3.0 throughout
2010-10-28 16:43:41 +00:00
Rossen Stoyanchev
155649fd40
SWF-1407 Update mvc.JsfView to re-use FacesContext if available such as when used from Web Flow
2010-10-27 08:48:02 +00:00
Rossen Stoyanchev
e70bca23fb
SWF-1406 Fix regression in iterating faces messages
2010-10-27 08:01:40 +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
bc2ca0351c
SWF-1402 Add missing delegation methods to FlowViewResponseStateManager and add check for Web Flow request i FlowRenderKit
2010-10-01 09:56:54 +00:00
Rossen Stoyanchev
7b2ab7587c
Fixes after testing with Apache MyFaces 2
2010-09-21 12:10:47 +00:00
Rossen Stoyanchev
a89f24d954
Fix test setup issue
2010-09-15 08:47:46 +00:00
Rossen Stoyanchev
5d158abce7
SWF-1375 Add <faces:resources /> element, JsfFlowHandlerAdapter, and provide useful error message when FacesContext is null.
2010-09-14 12:26:24 +00:00
Rossen Stoyanchev
9e2137d3c6
SWF-1379 Remove dependency on the Portlet bridge for JSF and provide basic support within Web Flow for working Portlets and JSF. Update portlet samples
2010-09-13 14:57:14 +00:00
Rossen Stoyanchev
7fbc016215
SWF-1333 Create JSF 1.2 and 2.0 versions of the Spring Security tag library and remove springsecurity.taglib.xml
2010-09-02 17:56:16 +00:00
Rossen Stoyanchev
a5798b8ff7
Minor fix to ensure compilation with Java 1.5 JDK
2010-08-31 23:12:07 +00:00
Rossen Stoyanchev
d9fa61c892
SWF-1333 Add Spring Security facelets tag library
2010-08-31 10:12:15 +00:00
Rossen Stoyanchev
4158063836
SWF-1373 Upgrade to Spring 3.0.4, update booking-mvc sample (Spring MVC resource serving, default servlet mapping)
2010-08-25 19:19:50 +00:00
Rossen Stoyanchev
df3ad6f174
Remove shale test dependency that's no longer needed
2010-08-25 18:46:01 +00:00
Rossen Stoyanchev
f3e613e7ad
SWF-1383 Fix issue with processing during non-SWF requests
2010-08-25 15:19:19 +00:00