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
6
votes
1 answer

How to add values into Spring SecurityContextHolder

I have there login parameters 1.userName 2.password 3.companyId I have got user name and password using following code Authentication auth = SecurityContextHolder.getContext().getAuthentication(); String name = auth.getName(); String pwd =…
edaklij
  • 4,121
  • 11
  • 31
  • 43
6
votes
1 answer

Spring Webflow Best Practice

I have a java web application which uses spring webflow as framework. I have a problem with processing data on a plain flow xml. When the processing gets more complicated I find it hard to implement using the flow xml of the web flow. I was…
cedric
  • 3,107
  • 15
  • 54
  • 65
6
votes
1 answer

Google Campaigns tracking with Spring Web flow

I am using Spring Web Flow for one of my clients and by default the Post-Redirect-Get (PRG) configuration is switched on for the website. The client now wants to enable Google Campaigns to allow them to track the campaigns they launching. But, due…
Kunal Jha
  • 2,102
  • 4
  • 24
  • 34
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
1 answer

How to set a literal String flowScope value on-exception?

In my Spring web flow app, one of my action-state transitions looks like this: I would like to…
AndreiM
  • 4,558
  • 4
  • 36
  • 50
5
votes
1 answer

Spring-Webflow Using a HTML link to signal an event

I am playing around with Spring-Webflow (2.3), ZK (5.0.7.1) and ZK Spring (3.0). Actually I'm trying to signal an event with a HTML link as described at Spring-Webflow. 2…
5
votes
2 answers

Spring Webflow, return to main flow from any sub-flow

I'm trying to return to my main flow in spring, from any of my subflows just by clicking a button. when I use it just goes to the previous flow, which is also a sub-flow in the application. Any ideas?
fsonmezay
  • 528
  • 2
  • 10
  • 25
5
votes
1 answer

url encoded character gets parsed wrongly by webflow/EL/JSF

when I submit the character Ö from a webpage the backend recieves Ã. The webpage is part of a Spring Webflow/JSF1.2/Facelets application. When I inspect the POST with firebug I see: Content-Type: application/x-www-form-urlencoded Content-Length: 74…
Nicolas Mommaerts
  • 3,207
  • 4
  • 35
  • 55
5
votes
2 answers

Correct way to execute multiple reactive operations

I get from a reactive repository a Mono based on it's value I have to create two other objects save them using reactive repositories, modify FooBar object and save it as well. As I'm new to reactive programming I landed with the following…
A5300
  • 409
  • 4
  • 18
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
1 answer

How do I fake a validation error?

I'm using the Grails Webflow plugin. Here are the domain objects I'm working with: class Foo implements Serializable { String fooProp1, fooProp2 static constraints = { fooProp2 nullable: false } } class Bar…
Pat
  • 2,228
  • 3
  • 24
  • 33
5
votes
2 answers

how do I register a custom conversion Service in spring 3 / webflow 2?

I've been trying to follow this example and using the reference to guide me, but I'm having no luck. I've defined a converter: import org.springframework.binding.convert.converters.StringToObject; import java.text.DateFormat; import…
nont
  • 9,322
  • 7
  • 62
  • 82