Spring Web Flow
Go to file
Stéphane Nicoll 89c37a5fd6 Remove dead links
Closes gh-906
2024-10-11 15:41:55 +02:00
.github Add workflow to release on Maven Central 2024-10-11 11:39:45 +02:00
buildSrc Add OptionalDependenciesPlugin 2020-05-01 07:39:23 +01:00
gradle Replace artifactory by standard repository structure 2024-10-10 12:12:04 +02:00
spring-binding Update dependencies 2023-03-23 12:34:00 +01:00
spring-faces Remove RichFaces checks 2023-03-27 14:39:31 +01:00
spring-js-resources Replace artifactory by standard repository structure 2024-10-10 12:12:04 +02:00
spring-webflow Ensure getField(String) wildcard support with SF 6.1+ 2024-10-10 17:57:59 +01:00
src Remove dead links 2024-10-11 15:41:55 +02:00
.gitignore Add OptionalDependenciesPlugin 2020-05-01 07:39:23 +01:00
build.gradle Add CI build on several Spring Framework generations 2024-10-11 11:36:14 +02:00
CODE_OF_CONDUCT.adoc Update spring-code-of-conduct email 2024-06-10 10:08:47 +01:00
CONTRIBUTING.md Update spring-code-of-conduct email 2024-06-10 10:08:47 +01:00
gradle.properties Add CI build on several Spring Framework generations 2024-10-11 11:36:14 +02:00
gradlew Update Gradle to 7.4.2 2022-07-14 14:26:27 +01:00
gradlew.bat Update doc-production version 2021-05-26 09:46:24 +01:00
ide.gradle Switch to Java 17 2022-07-14 14:26:27 +01:00
import-into-eclipse.sh URL Cleanup 2019-03-06 16:28:27 -05:00
LICENSE.txt Create LICENSE.txt 2024-06-10 09:51:36 +01:00
README.md Remove dependency on https://repo.spring.io/plugins-release 2024-10-11 11:34:39 +02:00
settings.gradle Remove dependency on https://repo.spring.io/plugins-release 2024-10-11 11:34:39 +02:00

Revved up by Develocity

Overview

Spring Web Flow facilitates building web applications that require guided navigation -- e.g. a shopping cart, flight check-in, a loan application, and many others. In contrast to stateless, free-form navigation such use cases have a clear start and end point, one or more screens to go through in a specific order, and a set of changes that are not finalized to the end.

A distinguishing feature is the ability to define a flow definition consisting of states, transitions, and data. For example, view states correspond to the individual screens of the flow while transitions are caused by events resulting from the click of a button or a link. Data may be stored in scopes such as flash, view, flow, and others. Scoped data is cleared when it is no longer in scope.

In REST terms a flow represents as a single resource. The same URL used to start the flow is also the URL used to step through the flow (there is also an execution key uniquely identifying the current flow instance). As a result of this approach navigation remains encapsulated in the flow definition.

Some key benefits of using Spring Web Flow:

  • A flow abstraction to model "long conversations" in web applications
  • Proper encapsulation for navigation rules
  • Multiple scopes in which to keep data
  • Automatic use of the POST/REDIRECT/GET pattern to avoid browser warnings
  • Impossible to return to completed flow sessions via browser back button
  • Rapid prototyping of flow requirements
  • Development mode in which flow definition changes are detected on the fly
  • IDE visualization for flow definitions
  • Much more...

Documentation

See the current Javadoc and Reference docs.

Samples

Samples can be found in the spring-webflow-samples repository.

Code of Conduct

This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to spring-code-of-conduct@spring.io.

Downloading artifacts

Download instructions for Spring Web Flow artifacts via Maven and other build systems are available via the project wiki.

Getting support

Please, use the spring-webflow tag on StackOverflow. Commercial support is available too.

Building from source

Check out sources:

git clone git://github.com/spring-projects/spring-webflow.git

Compile and test, build all jars, distribution zips and docs:

./gradlew build

Install into your local Maven repository:

./gradlew install

Generate Eclipse settings and then manually import projects:

./import-into-eclipse.sh

The Spring Framework and Spring Web Flow use a very similar build system. For this reason the following Gradle build FAQ would be a very useful read.

Contributing

Pull requests are welcome. You'll be asked to sign our contributor license agreement (CLA). Trivial changes like typo fixes are especially appreciated (just fork and edit!). For larger changes, please search through JIRA for similiar issues, creating a new one if necessary, and discuss your ideas with the Spring Web Flow team.

License

Spring Web Flow is released under version 2.0 of the Apache License.