Questions tagged [spring-webflow]

Spring Webflow is a web-app framework which helps to define the page navigation rules in a intuitive, and reusable way.

Spring Web Flow is a Spring MVC extension that allows implementing the "flows" of a web application. A flow encapsulates a sequence of steps that guide a user through the execution of some business task. It spans multiple HTTP requests, has state, deals with transactional data, is reusable, and may be dynamic and long-running in nature.

1302 questions
3
votes
4 answers

Spring webflow - how to pass the session in evaluate expression?

I'm using spring webflow, but I need to access my HttpSession in a method that's accessed using a transition ==> evaluate expression. (so in the xml file containing my flow) So far I've yet to find a way to actually pass it to my method. I've taken…
Jack Nickels
  • 193
  • 1
  • 4
  • 10
3
votes
1 answer

Is Spring ever going to combine MVC and WebFlow?

I thought I read Juergen Holler somewhere once in the past say that a future goal of Spring was to combine Spring MVC and WebFlow... Is this still the case? At the moment they still seem to be fairly separate projects, with WebFlow being…
Daniel Alexiuc
  • 13,078
  • 9
  • 58
  • 73
3
votes
1 answer

What is the best documentation for snapshots and flow repositories in Spring Web Flow?

I'm looking for more and better documentation about snapshots, flow repositories, and flow state serialization in Spring Web Flow. Available docs I've found seem pretty sparse. "Spring in Action" doesn't talk about this. The Spring Web Flow…
Alex Miller
  • 69,183
  • 25
  • 122
  • 167
3
votes
1 answer

Spring WebFlow - NullPointerException in setter method - how to handle nicely

Is there a magic value to place in messages.properties to capture the error condition where a NullPointerException is thrown during a setter method, In the same way there is [field].typeMismatch=[message], or does one have to suck up the…
Phil
  • 2,238
  • 2
  • 23
  • 34
3
votes
1 answer

Spring 3 JSF 2 integration example needed

i want to Integrate Spring 3, Web Flow 2, JSF 2 together and i need you to recommend me a good tutorial or example, thanks in advance. UPDATE: i used following example, and it worked fine with me with no…
Mahmoud Saleh
  • 33,303
  • 119
  • 337
  • 498
3
votes
1 answer

Disadvantages of using JSF+Spring without webflow

in following examples of JSF Spring integration, i can see that the examples makes a normal integration between spring and JSF without using webflow, so is there are any problems or issues when using Spring with JSF without using webflow, and what…
Mahmoud Saleh
  • 33,303
  • 119
  • 337
  • 498
3
votes
1 answer

Spring webflow second popup problem

I have 1st popup, and this 1st popup opens 2nd popup Code:
Eugene Kisly
  • 129
  • 12
3
votes
2 answers

Spring Web Flow Passing Model Object from Flow to Controller

What is the proper way to pass a model object used in Spring Web Flow to a Controller? My use case is as follows: I have a flow and the end state displays a model object that contains some calculated results. That works good. I also have a link on…
blong824
  • 3,920
  • 14
  • 54
  • 75
3
votes
2 answers

In Spring WebFlow, how can I resume a flow?

Using version 2.2.1 of Spring Webflow, I am trying to resume a flow execution in the middle of the flow. For instance, if I have 4 steps; A,B,C,D. A user could start the flow (Step A) and after certain steps (Step C), he gets distracted and abandon…
Pran
  • 3,481
  • 2
  • 25
  • 27
3
votes
1 answer

Error creating bean with name : Scope 'request' is not active for the current thread

I have integrated SWF 2.2.1,Primefaces 2.2.1,JSF 2,Spring Security 3,Spring 3.1.0M1I and EhCache and AspectJ and Castor. I have defined beans for castor in my app-config.xml like
C4CodeE4Exe
  • 3,840
  • 8
  • 39
  • 46
3
votes
2 answers

java.lang.UnsupportedOperationException at javax.faces.context.FacesContext.isReleased(FacesContext.java:609)

I am integrating SWF 2.2.1,Primefaces 2.2.1,JSF 2,Spring Security 3,Spring 3.1.0M1. I am able to hit my first page mentioned in Spring web-flow xml, but getting following error. com.sun.faces.application.view.FaceletViewHandlingStrategy…
C4CodeE4Exe
  • 3,840
  • 8
  • 39
  • 46
3
votes
2 answers

Spring Web Flow and Url Rewrite Filter - cleaning URLs

I'm working on Spring MVC + Web Flow web application. I have mapped /home to MVC Controller and /test to Flow Controller. To remove /app from URLs i'm trying to use Url Rewrite Filter. Mappings in MVC Controllers (@Controller) works good with…
marioosh
  • 27,328
  • 49
  • 143
  • 192
3
votes
2 answers

Versioning static assets does not work with Spring Web Flow

Cache expiration and versioning of resource file work correctly on all pages. But flows seem to ignore Spring MVC configuration. A working example: resource files have versioning With Spring Web Flow: resource files are missing versioning In…
almneo
  • 33
  • 3
3
votes
0 answers

Handle External authentication flow with Spring webflow

I have a Java application with Spring boot and Spring Webflow. Now What I want to achieve here is during webflow I need to redirect User to external source for authentication and when authentication is done user will be redirect back to my website…
Kat
  • 101
  • 1
  • 7
3
votes
1 answer

How to test flash.message in a Grails webflow?

I'm using webflows in Grails and I'm currently writing tests for it. Now, inside I've got something that throws an error so I set a message to the flash scope before redirecting: ... if (some_condition) { flash.message = "my error message" …
callie16
  • 570
  • 1
  • 11
  • 26