Commit Graph

2402 Commits

Author SHA1 Message Date
Rossen Stoyanchev
ec83f86d9f Upgrade to Hibernate 4
This change upgrades Spring Web Flow to Hibernate 4 but remains
compatible with Hibernate 3.

Issue: SWF-1534
2014-02-09 17:45:04 -05:00
Rossen Stoyanchev
c32a2e238a Upgrade Spring Security to 3.2.0 2013-12-31 13:44:20 -05:00
Rossen Stoyanchev
217f838008 Upgrade Mojara to version 2.2.4
Issue: SWF-1613
2013-12-20 14:54:39 -05:00
Rossen Stoyanchev
1a7894ba45 Add null check to FlowHandlerAdapter
Issue: SWF-1595
2013-12-18 16:31:22 -05:00
Rossen Stoyanchev
0076cb5c53 Add cache to SelectionTrackingActionListener
Issue: SWF-1614
2013-12-18 16:18:08 -05:00
Rossen Stoyanchev
ff746ec451 Polish 2013-12-18 15:32:04 -05:00
Rossen Stoyanchev
2ee9d4144a Upgrade to Spring Framework 4.0
The build now compiles with Servlet API 3.0 and JPA 2.0 both of which
are required with Spring Framework 4.0. However there are no hard
dependencies in Web Flow on either.

Issue: SWF-1600
2013-12-18 15:26:51 -05:00
Rossen Stoyanchev
e662d2a74b Apply Javadoc HotFix via Gradle Plugin 2013-06-20 15:43:49 -04:00
Rossen Stoyanchev
755ee35191 Merge pull request #26 from habuma/master
Pass classloader when calling ClassUtils.isPresent()
2013-06-20 12:27:03 -07:00
Craig Walls
853372e540 Pass classloader to ClassUtils.isPresent().
Fixes deprecation warnings when compiling against Spring 3.2.x and fixes
runtime errors when using Spring Web Flow with Spring 4.0.0.M1.

SWF-1600
2013-06-19 17:02:51 -05:00
Rossen Stoyanchev
93dc89ed5b Fix build issues with dist/doc/schema zips
Zip file names need to be 'spring-webflow-...', not 'webflow-...'

The webflow schema is now also copied
2013-02-01 11:47:39 -05:00
Rossen Stoyanchev
6135e1bace Increment version to 2.4.0.BUILD-SNAPSHOT 2013-01-31 18:58:49 -05:00
Spring Buildmaster
37fff057c9 [artifactory-release] Release version 2.4.0.M1 2013-01-31 15:43:09 -08:00
Rossen Stoyanchev
8729ffb5f3 Update changelog for 2.4 M1 release 2013-01-31 18:25:50 -05:00
Phillip Webb
0d17de3aad Ensure saveState() is always called
Update JsfView to ensure that saveState() called when processing
events. This is required to ensure that the Mojarra StateContext
will unsubscribe listeners from the UIViewRoot.

Issue: SWF-1577
2013-01-30 13:56:24 -08:00
Phillip Webb
e23e427875 Add reference guide section on JSF file uploads
Issue: SWF-1482
2013-01-29 20:49:02 -08:00
Phillip Webb
70c618d410 Migrate reference guide to well-formed docbook XML
Convert all docbook XML files to well-formed docbook 5 syntax:
 - Include xsi:schemaLocation element for tools support
 - Convert all id elements to xml:id
 - Convert all ulink elements to link
 - Cleanup trailing whitespace and tabs
2013-01-29 19:32:15 -08:00
Phillip Webb
1b42c4c219 Use propdeps Gradle plugin
Use the Spring propdeps gradle plugin to handle all 'provided' and
'optional' dependencies. Maven dependencies are now also sorted to
to ease diff comparisons against older POMs.
2013-01-29 18:20:34 -08:00
Phillip Webb
62e28981ce Upgrade to docbook-reference-plugin v0.2.4 2013-01-29 17:57:51 -08:00
Phillip Webb
d732597f6d Polish gradle formatting
- Replace spaces with tabs
- Use consistent quote style
- Use consistent parentheses
- General polish
2013-01-29 17:56:57 -08:00
Phillip Webb
f2341ca16b Add CONTRIBUTING.md 2013-01-29 15:40:40 -08:00
Phillip Webb
787fb7dc89 Fix issue with RichFaces file upload
Change JsfView.userEventQueued() to check for 'javax.faces.ViewState'
via the FacesContext rather than the RequestContext. This allows
potential multi-part request submissions to be processed by JSF rather
than Spring.

Issue: SWF-1482
2013-01-29 09:55:56 -05:00
Rossen Stoyanchev
2d47d6cbb2 Replace ${ with #{ in spring-webflow schema comments
Issue: SWF-1555
2013-01-28 17:54:03 -05:00
Rossen Stoyanchev
345f640ebd Add support for spring:eval JSP tag
Issue: SWF-1462
2013-01-28 17:53:59 -05:00
Rossen Stoyanchev
ed75f76447 Fix typo
Issue: SPR-1585
2013-01-28 16:29:09 -05:00
Rossen Stoyanchev
f572f8b582 Upgrade to Spring Framework 3.2.1 and fix warnings 2013-01-28 12:01:12 -05:00
Rossen Stoyanchev
49fe4b49a9 Add autogrow props to BeanWrapperExpressionParser
The spring-binding BeanWrapperExpressionParser now supports the
setAutoGrowNestedPaths and setAutoGrowCollectionLimit properties, which
are in turn transfered to the underlying BeanWrapperImpl used in each
created and evaluated expression.

Issue: SWF-1566
2012-12-21 18:04:27 -05:00
Rossen Stoyanchev
3841729994 Add statusCode property to FlowHandlerAdapter
Issue: SPR-1545
2012-12-21 17:05:09 -05:00
Rossen Stoyanchev
d6c0813b15 Upgrade Spring Framework and Spring Security
Spring Framework 3.1.1 -> 3.2.0
Spring Security  3.0.7 -> 3.1.3

Issue: SPR-1580, SPR-1581
2012-12-21 16:17:47 -05:00
Rossen Stoyanchev
508d6a7dfb Add support for partial JSR-303 bean validation
This change makes it possible to use validation hints in conjunction
with declarative, JSR-303 validation. Such hints may be defined in an
attribute of the view state where the view state id itself is also
interpeted as a hint. A custom ValidationHintResolver can be plugged
in if necessary.

Issue: SWF-1453
2012-11-29 17:24:31 -05:00
Phillip Webb
5aa2896b1d Upgrade to Gradle 1.3 2012-11-28 08:32:37 -08:00
Phillip Webb
bdcab23e5a Fix -XX:MaxHeapSize setting for Windows
Issue: SWF-1573
2012-11-27 10:55:31 -08:00
Phillip Webb
d31900e5f9 Prevent NPE in Mojarra when creating initial view
Refactor JsfViewFactory to only attempt a restoreView when state is
available. This prevents a NullPointerException from being thrown
when using Mojarra with partial state saving disabled. This change
also makes Web Flow behave in a similar way to the standard
FacesServlet.

Issue: SWF-1571
2012-11-16 14:18:53 -08:00
Phillip Webb
47e6c00485 Polish 2012-11-16 13:43:41 -08:00
Phillip Webb
ccc6ea9742 Merge branch 'SWF-1510' 2012-11-16 11:47:32 -08:00
Phillip Webb
2f3ba89b2c Upgrade test dependencies
org.apache.myfaces.test:myfaces-test20: 1.0.0-beta -> 1.0.4
org.easymock:easymock: 2.5.2 -> 3.1
junit:junit: 3.8.2 -> 4.10

Issue: SWF-1539
2012-11-15 12:46:55 -08:00
Phillip Webb
97cc86b7c1 SerializableListDataModel extends ListDataModel
Update SerializableListDataModel to extend the JSF ListDataModel
class. This is primarily to allow sorting operations to work with
PrimeFaces

Issue: SWF-1510
2012-11-15 11:36:29 -08:00
Phillip Webb
cd3d8be819 Skip iteration delivering PostRestoreStateEvent
Recent updates to Mojarra added a SKIP_ITERATION hint when delivering
the PostRestoreStateEvent.  Web Flow should follow the same logic.

Issue: SWF-1549
2012-11-14 17:44:12 -08:00
Phillip Webb
e2e5ee97d8 Additional FacesConversionService constructor
Add the inherited constructor allowing a delegate ConversionService
to be used

Issue: SWF-1562
2012-11-14 16:00:17 -08:00
Phillip Webb
c7ffb7a14a Moved non-java resources to src/main/resources
Moved all non-java files from src/main/java to src/main/resources.
Primarily to ensure resources are packaged into released jars but
also to conform with standard layout conventions.
2012-11-13 19:50:28 -08:00
Phillip Webb
313621b06c Polish package level Javadoc
Replace all package.html files with package-info.java
2012-11-13 19:38:21 -08:00
Phillip Webb
55a69b568f Fix potential ScopeSearchingPropertyAccessor NPE
ScopeSearchingPropertyAccessor.read() now returns a TypedValue
representing null rather than null itself.  This prevents a
NullPointerException from being thrown from deeper within the Spring
SpEL code

Issue: SWF-1572
2012-11-13 12:57:21 -08:00
Phillip Webb
c85b63cce6 Make ConversationContainer.nextId() protected
Increase the visibility of ConversationContainer.nextId() to protected
so subclasses can override.

Issue: SWF-756
2012-11-13 09:43:42 -08:00
Phillip Webb
6f6e06294a Make ConversationManagers easier to subclass
Increased visibility of the following package scope classes:
- ContainedConversation
- ConversationContainer
- JdkConcurrentConversationLock
- NoOpConversationLock

Provided additional hook methods and accessors for subclasses.

Issue: SWF-756
2012-11-12 19:26:45 -08:00
Phillip Webb
e44e65ca24 Polsih
Access member variables via 'this.'
2012-11-12 19:20:31 -08:00
Phillip Webb
5a34fb15b4 Fix package tangle with portlets
Introduce PortletFacesContextFactory that will be used to create the
FacesContext when running in a portlet environment.  This moves logic
from the FacesContextHelper preventing the package tangle that would
otherwise occur.
2012-11-12 17:28:10 -08:00
Phillip Webb
6ff3c57b1b Upgrade to gradle 1.2
Update the wrapper task to gradle 1.2 and automatically add the
appropriate memory options to generated files.
2012-11-12 13:43:33 -08:00
Rossen Stoyanchev
3917dc71a3 Add mapping to "/rfRes/**" for RichFaces resources
Issue: SWF-1473
2012-10-23 19:42:28 -04:00
Rossen Stoyanchev
1418d4ef91 Add 2.4 schemas 2012-10-23 19:42:28 -04:00
Rossen Stoyanchev
ffb8f30204 Avoid releasing FacesContext in PropertyAccessor
Issue: SWF-1558
2012-10-23 19:42:22 -04:00