Questions tagged [spring-webflow-2]

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.

296 questions
7
votes
2 answers

Unit testing nested subflows (subflows of subflows)

I'm trying to write unit test for a flow, which has subflow, which, itself, has another subflow. I register first flow using FlowDefinitionResource getResource(FlowDefinitionResourceFactory resourceFactory). Then I register subflow definitions…
tiurin
  • 838
  • 9
  • 15
6
votes
2 answers

Can Spring Webflow eliminate the need for controller classes?

For a relatively simple application, can Webflow be employed to reduce the need to create form controllers? Well, certainly it can, but I guess what I'm asking is: can and should I write an entire application using Webflow for all of the controller…
Boden
  • 4,149
  • 9
  • 43
  • 56
6
votes
0 answers

Spring WebFlow future and version

This is more to Spring Team supporting Spring WebFlow -- What is the Spring WebFlow road-map. Can you describe its version convention how come it differs from rest of the core Spring Offerings. Ex Spring 4 support offered in Spring WebFlow 2.4…
uralmash
  • 71
  • 2
6
votes
1 answer

How to set user role in Spring Security 3?

I am working on JAVA EE technologies to learn JSF-Spring-Hibernate vs... I am trying to do web application with diffirent user roles. Now, I have only one user role ROLE_USER. I could not change that role. I tried debug mod to understand how we set…
endertunc
  • 1,989
  • 2
  • 21
  • 31
6
votes
1 answer

How can I access Spring Webflow FlowScope elements outside the flow?

EDIT: I didn't get any bites on this question, so I'm adding a little more detail. I have a Spring Webflow app (ver 2.3.2). I need to access multiple FlowScope objects from inside the validation of one of the steps (not inside the flow itself). …
user3120173
  • 1,758
  • 7
  • 25
  • 39
6
votes
1 answer

How to handle SizeLimitExceededException from CommonsMultipartResolver in Spring WebFlow?

I have the following situation. I have a CommonsMultipartResolver bean configured the following way.
5
votes
1 answer
5
votes
1 answer

Spring Web Flow - How can I set up unit test with values already in conversationScope?

I am working on a project using Spring Web Flow 2.0. I am trying to unit test a flow that begins with a decision state. The decision state checks the value of an object that is on the conversationScope. I cannot figure out how to insert a value…
TM.
  • 108,298
  • 33
  • 122
  • 127
5
votes
2 answers

Spring Web Flow: How to call static method from ?

I need to call static method of org.hibernate.Hibernate class. How to do that in element of flow ?
marioosh
  • 27,328
  • 49
  • 143
  • 192
5
votes
2 answers

Unable to locate Spring NamespaceHandler for element 'flow'

I am developing a spring webflow (2.0.7) project using SpringSource Tool Suite. I am trying to setup a basic flow. My someflow.xml looks like this:
Ravi
  • 3,719
  • 6
  • 28
  • 40
5
votes
2 answers

How to handle MultipartException in Spring

My configuration is here. I made some modifications according to the answer in that post. filterMultipartResolver @Bean public StandardServletMultipartResolver filterMultipartResolver() { return new…
Dario Zamuner
  • 991
  • 2
  • 14
  • 28
5
votes
1 answer

Spring webflow full query string in EL

In short, how can I get the full query string using EL in a webflow view jsp? This is what I am trying to do:
Lucas
  • 14,227
  • 9
  • 74
  • 124
5
votes
1 answer

Can I get the current webflow state within a Spring MVC controller?

On the surface, a bit of a strange question! but I am creating a web app that uses both webflow and traditional Spring MVC controllers. From one of the webflow views, a http request (ajax) is made from the client to a spring controller. When this…
Nathan Russell
  • 3,428
  • 5
  • 30
  • 51
5
votes
3 answers

Spring Web Flow request mappings

I am adding Spring Web Flow 2 to a very large existing web application that does not currently use Spring MVC or Web Flow. My task is to have the Web Flow triggered by going to mySite.com/flows, and I am having difficulties. My approach was to set…
stephen.hanson
  • 9,014
  • 2
  • 47
  • 53
4
votes
0 answers

Spring Boot 2.1 + Spring Web Flow

I am trying to get the Spring Web Flow to work with the latest Spring Boot 2.1.0 but they don’t seem to play well together due to dependency version incompatibility, and there isn’t an official spring boot starter for SWF. Has anyone encountered…
1
2 3
19 20