Commit Graph

2380 Commits

Author SHA1 Message Date
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
Phillip Webb
91e8a96c11 Add option to save Web Flow output to MVC flash scope
Output from a flow can now be saved to the flash scope of Spring MVC
when the 'saveOutputToFlashScopeOnRedirect' property of the
FlowHandlerAdapter is 'true'.

For backwards compatibility this is an opt-in feature that must be
configured by the user.

Issues: SWF-1561
2012-10-23 15:27:55 -04:00
Phillip Webb
d066f1f8ad Fixed link error in ref docs
Issues: SWF-1553
2012-07-17 16:40:27 -07:00
Phillip Webb
2ae69cbd7f Update ref docs for JSF and Portlet updates
Issues: SWF-1553
2012-07-12 17:25:04 -04:00
Phillip Webb
2dea6c426a Remove legacy code following JSF 2.0 migration
- Remove JSF 1.2 components including ui package, faces-config.xml
  references and tld files
- Remove AjaxViewRoot class
- Polish JavaDocs

Issues: SWF-1536
2012-06-27 14:07:44 -07:00
Rossen Stoyanchev
73c34611a7 Merge pull reqest #14 from philwebb/SWF-1500
* SWF-1500:
  Modify <faces:resources> to add portlet variant
2012-06-18 19:42:13 -04:00
Phillip Webb
d904786083 Modify <faces:resources> to add portlet variant
The ResourcesBeanDefinitionParser will now automatically register an
additional portlet resource resolver when a portlet environment and
and relevant Spring portlet classes are detected.

Issues: SWF-1500
2012-06-18 19:08:58 -04:00
Phillip Webb
c5471f4403 Ignore eclipse WTP generated META-INF folders 2012-06-14 13:49:28 -07:00
Phillip Webb
4b476c5061 Upgrade Gradle to release 1.0 2012-06-14 10:27:34 -07:00
Phillip Webb
4525278388 Update .gitignore to filter gradle-app.setting 2012-06-14 10:18:43 -07:00
Rossen Stoyanchev
cb86ac8f55 Merge pull request #13 from philwebb/SPR-1550
* SWF-1550:
  Upgrade spring-faces to JSF 2 as a minimum requirement
2012-06-13 19:43:22 -04:00
Phillip Webb
706490c4dc Upgrade spring-faces to JSF 2 as a minimum requirement
* Rework all state handling, removed FlowSerializedView class and save
state as opaque object
* Use FacesWrapper classes instead of custom delegates
* Deprecate isAtLeastJSFXXX() methods and removed all internal use
* Remove all Jsf2XXX versions of classes
* Refactor all calls to deprecated JSF methods
* Removed older VariableResolver and PropertyResolver classes
* Deprecate Jsf2FlowResourceResolver and log warning if used
* Create new FlowELResolver to replace removed VariableResolvers and
PropertyResolvers
* Update faces-config.xml to use newer xsd
* Significantly rework FlowFacesContext to remove the message delegate
and generally improve the code
* Added "provided" dependency to MyFaces and fixed partial state saving
on MyFaces
* Fixed FlowResourceResolver to delegate to both MyFaces or Mojarra
depending on availability
* Add JsfUtils.findFactory method and rework existing code to replace
FactoryFinder calls and casts
* Refactor JsfViewFactory to improve code readability
* Rename FlowViewStateManager and FlowViewResponseStateManager to
FlowStateManager and FlowResponseStateManager
* Ensure ResponseContextHolder is reset after each test
* Update JSF portlet support to function with JSF 2.0

Issue: SWF-1536, SWF-1540, SWF-1550
2012-06-13 19:39:10 -04:00
Chris Beams
7e03970fbf Apply Gradle group id to root project as well 2012-05-26 08:58:50 +03:00
Rossen Stoyanchev
880395376f Update build instructions in README 2012-05-25 17:10:12 -04:00
Rossen Stoyanchev
a770fa3492 Rename a couple of test classes to match convention 2012-05-25 16:54:15 -04:00
Rossen Stoyanchev
29445b6a73 Add Eclipse import script based on Gradle build 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
Rossen Stoyanchev
b4847ef49b Remove spring-webflow-samples directory
The new home for the samples will be:
https://github.com/SpringSource/spring-webflow-samples
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
Phil Webb
93912002fa Merge pull request #7 from philwebb/SWF-1532-3
Deprecate CompositeIterator in favor Spring core.
    
Deprecate existing class and refactor internal code to use the org.spring.util version that 
has been available since Spring 3.0
    
Issues: SWF-1532
2012-04-12 09:08:24 -07:00
Phillip Webb
b7342dbc20 Deprecate CompositeIterator in favor Spring core.
Deprecate existing class and refactor internal code to use the org.spring.util version that 
has been available since Spring 3.0

Issues: SWF-1532
2012-04-12 09:05:12 -07:00