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
5
votes
2 answers

What are the Spring Web Flow advantages?

Can someone help me understand the advantages of Spring Web Flow. What I have understood is All the flows can be centrally configured in an XML file. Need not have an overhead of carrying over the data from one request to another as it can be done…
Sam
  • 2,352
  • 4
  • 32
  • 45
5
votes
1 answer

Spring Webflow Streaming

I have problem with the execution of streaming actions (http://docs.spring.io/autorepo/docs/webflow/2.3.x/reference/html/actions.html#streaming-actions) in Spring Webflow/JSF application. I have seen that some people solve it using the MVC…
5
votes
3 answers

Web flow Exception: No flow execution snapshot could be found with id '1'

I am getting below exception whenever I switch one state to another more then 15 times in web-flow. No flow execution snapshot could be found with id '1'; perhaps the snapshot has been removed? . Stacktrace…
Neeraj Bhatt
  • 145
  • 2
  • 13
5
votes
1 answer

How to send request parameters to spring webflow controller

i am new to webflow ,i tried with below code ,whats the wrong in this...
user3269567
5
votes
3 answers

Spring MVC - Web Flow Controller

I have a j2ee application developed using spring framework and spring webflow. Currently all of my url requests go through the Web Flow. What I want is to be able to choose whether to direct it to Web Flow or an ordinary spring mvc controller. I…
cedric
  • 3,107
  • 15
  • 54
  • 65
5
votes
1 answer

Use Spring Web Flow without state on the server

I'm reading the Spring Web Flow chapter in the book Pro Spring MVC. Unfortunately there's no explicit information, where the state during a flow execution is persisted. I assume it is saved in the JVM Heap and associated with the session. Now HTTP…
Thomas Koch
  • 2,833
  • 2
  • 28
  • 36
5
votes
0 answers

How to create a ValidationContext from scratch?

I'm using Spring Webflow for an application and I need to validate a model object outside of the "normal" webflow validation cycle. I'm using a separate validation class: @Component public class MyInfoValidator { public void…
user1071914
  • 3,295
  • 11
  • 50
  • 76
5
votes
4 answers

(Spring / Hibernate) Initialize children objects strategy

I have a form that should be bind to a complex object that wrap a lot of children, every time before loading this form I have to initialize all children object in a method that only have a lot of new statements and calling a setter method, I have to…
fujy
  • 5,168
  • 5
  • 31
  • 50
5
votes
3 answers

Preferred alternative to creating a new object in Spring Webflow

I am currently working with Spring 3.1.2 (webflow version 2.3.1) and I'm facing an older problem once again. The problem is creating a new object via Spring webflow. So what I'd like to do is following :
user1629683
4
votes
2 answers

MaxUploadSizeExceededException handled but file is STILL uploaded?

So I'm using Spring Webflow to upload a file and the CommonsMultipartResolver with a max file size param. When the max file size is exceed the CommonsMultipartResolver throws a MaxUploadSizeExceededException which I'm catching and handling just fine…
Nick Foote
  • 2,425
  • 9
  • 36
  • 47
4
votes
1 answer

Spring Web Flow Preventing Back Button Use

So I'm using Spring Web Flow on a project and want to make use of the history="discard" and history="invalidate" attributes on elements. I have placed those attributes where I want them, however, when I try to test whether or not they work by…
Rich
  • 2,805
  • 8
  • 42
  • 53
4
votes
1 answer

Webflow in php language

I recently developed a web application in Java EE with Spring framework. I also used the Spring webflow project to define my flow (a strict navigation that user must follow to access certain pages, eq: the shopping cart in ecommerce website). I'm…
Kakawait
  • 3,929
  • 6
  • 33
  • 60
4
votes
1 answer

spring webflow: redirect in end-state depending on some input

I have in my flow some input, i.e. and I'd like to redirect in an end-state to a location that depends on this input. I'm trying the following:
jfu
  • 41
  • 1
  • 2
4
votes
1 answer

Spring MVC vs Spring WebFlow

I am doing some research for some social network project which i am going to start. I used Spring before yet i cant make a decision at the moment since there are way too many options to choose. I would like to use JSF2.0 components on my views ,…
add9
  • 1,503
  • 3
  • 17
  • 31
4
votes
3 answers

Spring browser back button handling

Using Spring 4.2.9 Web-Flow: My web-flow has three pages page-1, page-2 and error-Page Scenario: User clicks on a link in the email, my back-end code consumes the link and user lands on a page-1(the link in the address bar now is different than what…
stargazer
  • 123
  • 1
  • 5