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

Spring XML error: Could not resolve placeholder 'cas.server.host'

I am trying to setup my Spring CAS.XML file but I dont know why the file is not seeing the values I have set in the file: Can someone please tell me what I am getting the following error: 2012-09-10 11:16:00,396 ERROR…
Johnathan Smith
  • 1,112
  • 2
  • 17
  • 34
3
votes
1 answer

Spring webflow 2.3.0 - How to get flowExecutionKey in form action method?

I have some code in a form action class that needs to get the flowExecutionKey from the RequestContext. I can't seem to find any documentation on how to do this. My class looks something like this: public class MyFormAction extends FormAction { …
dnc253
  • 39,967
  • 41
  • 141
  • 157
3
votes
1 answer

An SQLException was provoked, java.lang.InterruptedException, am I running out of db connections?

So we run a Hibernate, Spring, Spring Webflow stack. From what I've read so far it might also be important to know we use c3p0-0.9.1.2. Over the last couple of days we've noticed the server suddenly stop. Users cannot log into the website, nothing…
Nick Foote
  • 2,425
  • 9
  • 36
  • 47
3
votes
1 answer

force https in WebFlow

I have a grails application deployed on Tomcat7 and exposed by Apache2. The grails application respond on 8080 of the server the standard way but on Apache2 it is served to the user by https:// All works right except for a WebFlow controller. When…
Fabiano Taioli
  • 5,270
  • 1
  • 35
  • 49
3
votes
1 answer

spring web flow: how is a request handled?

In the config file, there are lots of elements: flow-executor, flow-registry, flow-builder-services, viewFactoryCreator, FlowHandlerAdapter, FlowHandlerMapping, etc. In what order do they work? When a request comes in, the servelet will dispatch it…
Cui Pengfei 崔鹏飞
  • 8,017
  • 6
  • 46
  • 87
3
votes
1 answer

AspectJ autoproxy issues with Spring Controllers and Webflow Actions

I have two related issues regarding spring/AspectJ AOP. I have a typical logger aspect which logs exceptions thrown from any class in my application including services, daos, controllers and webflow actions... @Aspect public class AspectLogger { …
Jay Shark
  • 635
  • 1
  • 11
  • 21
3
votes
0 answers

Collection/List property won't bind or update on form submit

So I have set up a wizard interface with spring web flow that gradually populates a single form object/model. It works fine for the first few steps that have to populate single String or primitive properties and a String array (from a checkbox…
patlv23
  • 113
  • 2
  • 11
3
votes
1 answer

Spring webflow PropertyNotFoundException: Property not found

I am trying to set a variable inside session scope from spring webflow xml definition and hitting property not found..please help 118484 [http-8080-6] DEBUG servlet.YBRServlet - Handler execution resulted in exception - forwarding to resolved…
Dev G
  • 1,387
  • 4
  • 26
  • 43
3
votes
2 answers

Redirection in Grails Web-flow

I have question regarding redirection in Grails web-flow. I am in a view state which will allow users to enter the answers for a question. On 2 wrong attempts I should be able to re-direct the user to view page from different controller. What i mean…
3
votes
3 answers

Grails web flow

Is there any way to pass model data to a view state? Consider the following example view state: class BookController { def shoppingCartFlow = { showProducts { on("checkout").to "enterPersonalDetails" on("continueShopping").to…
Dónal
  • 185,044
  • 174
  • 569
  • 824
2
votes
1 answer

How to force execution of transition on browser refresh with spring webflow

Here is the situation: In a page I send data to the backend using ajax. This all works fine, it stores the information in the database as it should and all. Now when I press the refresh button on the browser, it still contains the old data (I don't…
Alex
  • 624
  • 1
  • 9
  • 12
2
votes
2 answers

Rendering only a fragment of the page

I need to implement a web application with a Menu (Tab View) on top where each tab renders the content area without rendering the whole page. How can I do it in a modular way? I want each content area to be a flow.
Muky
  • 3,584
  • 3
  • 19
  • 20
2
votes
1 answer

updating an object in spring webflow not showing up on the UI

I'm really getting confused because I'm pretty new to this whole topic. I'm currently developing a project using spring webflow. In my webinterface a user has to type in a username that is than stored in a bean. The Form:
Nikolaus Hartlieb
  • 339
  • 1
  • 5
  • 17
2
votes
3 answers

In Spring Webflow unit test, how do you assert that a view state has a view of a given name?

I'm developing a Spring webflow, trying to use TDD so I've extended AbstractXmlFlowExecutionTests. I can't see an obvious way to assert what I would have thought would be a simple thing: that a view state has an associated view of a given name. …
Scott Bale
  • 10,649
  • 5
  • 33
  • 36
2
votes
1 answer

Spring Flow: Pass object back and forth from between Main WebFlow and Subflow

I am calling a subflow from a main flow. I have been able to pass an object ShareHolderProfile to the SubFlow from the MainFlow. However, I am not sure if this same object is not being passed back to the MainFlow or I am not properly accessing it in…
user1006072
  • 953
  • 5
  • 20
  • 29