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
4
votes
0 answers

Redirect to same webflow view state causes exception with nested composites

Consider a simple page with an input text and some validation to it. The page is included in a Spring webflow as a view state. On validation fail the same view state needs to be redisplayed, including validation messages. This works fine. Using a…
Louise
  • 1,451
  • 1
  • 18
  • 40
4
votes
1 answer

Spring webflow date binder

I'm quite new working with webflow, and I having some troubles to make a custom converter for date binding (I need to changue the default pattern for 'dd-MM-yyyy') So I'm trying to do something like this:
elcadro
  • 1,482
  • 3
  • 21
  • 45
4
votes
4 answers

Chinese character encoding?

I have a use case where i am submitting parameters to spring controller through post request. In the controller, i am reading parameters and performing some actions. After that i am sending those parameters as part of request params to other…
Rajeev
  • 4,762
  • 8
  • 41
  • 63
4
votes
0 answers

How can I know how many concurrent flows are currently active

Does Spring-WebFlow provide a way of getting to know the number of flows currently executing ? I could work around it with a global bean, but maybe WebFlow provides a solution out-of-the-box. Edit: As requested, here the so called "Global Bean"…
yglodt
  • 13,807
  • 14
  • 91
  • 127
4
votes
1 answer

How to make an AJAX call within Spring MVC/WebFlow project

I would like to make an AJAX call to a Spring MVC Controller from a view within a SWF flow. I need to do this within the portlet container rather than a servlet sitting outside the portlet session. I have tried using
kidloco
  • 829
  • 2
  • 8
  • 17
4
votes
1 answer

Avoid default value in spring for int variable

I'm using Spring 3.1.0 JARs for my application. I have mapped my bean class with view through command name, I have no problem with mapping it works clearly. The issue is that I'm having an int variable in my bean class: private int id; When I map…
sree
  • 535
  • 4
  • 12
  • 26
4
votes
1 answer

How to send parameters SubFlow in Spring WebFlow

I have main Route flow: ... ...
Sergii Shevchyk
  • 38,716
  • 12
  • 50
  • 61
4
votes
1 answer

Spring WebFlow configuration - how to find line that triggers exception?

I'm learning Spring WebFlow and I'm modifying the flow configuration. I've got the long stack trace (below), from which I've understood, that the reason of the exception is wrong EL expression somewhere inside my flow configuration xml file.…
Danubian Sailor
  • 1
  • 38
  • 145
  • 223
4
votes
1 answer

What is setting Cache-Control no-cache, no-store in my deployment?

I have an issue that my application deployment always returns response headers with: Cache-Control: no-cache Cache-Control: no-store Expires:Thu, 01 Jan 1970 00:00:00 GMT Pragma:no-cache I'm using: Spring 3.1.2.RELEASE Primefaces JSF 3.4.1 Spring…
Rich
  • 2,805
  • 8
  • 42
  • 53
4
votes
2 answers

Reading query strings from GET inside Spring web flow

Hy. Im continuing a spring web flow, using execution key. (an order paypal payment) and would need to read query strings from get. &TokenID and &PayerID this is how the URL looks like where Paypal redirects user after confirming…
4
votes
2 answers

Spring/JSTL: How to iterate over a map and bind input fields to the values?

So my command object has a public Map availableProducts; which holds the site's various products/services as the keys and the amount the user wishes to purchase as the values. Normal getter/setter is provided of course. This map…
Nick Foote
  • 2,425
  • 9
  • 36
  • 47
4
votes
1 answer

Data Binding Error Handling in Spring MVC

I have a question about data binding in Spring MVC. I have a Controller which accepts a JSON request in the form of @RequestBody. I have all the JSR 303 validations in place and it works like a charm. JSON Request public class TestJSONRequest { …
user1166031
  • 258
  • 6
  • 14
4
votes
2 answers

grails web flow exception handling

In my Grails app, I have defined the following (simplified) web flow def registerFlow = { start { action {RegistrationCommand cmd -> try { memberService.validateRegistrationCommandDTO(cmd) …
Dónal
  • 185,044
  • 174
  • 569
  • 824
4
votes
2 answers

How to debug a Spring webflow submit that does nothing and throws no exceptions

I have spring 2.5 application and several pages in the flow work perfectly - they progress according to my flow.xml. The page that is "broken" has the submit in the form:
Jerry Skidmore
  • 400
  • 2
  • 7
  • 20
3
votes
2 answers

Spring webflow 'Property not found' exception

I am using spring webflow, this is my flow
de3
  • 1,890
  • 5
  • 24
  • 39