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

Login/logout in REST with Spring 3

We are developing RESTful webservices with Spring 3 and we need to have the functionality of login/logout, something like /webservices/login/// and /webservices/logout. The session should be stored in the context until the…
FKhan
  • 213
  • 1
  • 3
  • 6
20
votes
5 answers

How to use multiple ViewResolvers in Spring?

I am working on a web app where I have most of my pages making use of apache tiles (2.1.2), but a few of them need to just be plain jsps. I am having a problem in that both an InternalResourceViewResolver and a UrlBasedViewResolver will try to…
TM.
  • 108,298
  • 33
  • 122
  • 127
18
votes
4 answers

When does it make sense to use Spring WebFlow on top of Spring MVC?

Spring MVC has become a very popular framework for building enterprise web applications. Any complex web application has certain flows that need to be coded, including some conditional flows (i.e., show order processed if the credit card information…
LeoNYC
  • 251
  • 4
  • 6
18
votes
4 answers

How to implement login page using Spring Security so that it works with Spring web flow?

I have a web application using Spring 2.5.6 and Spring Security 2.0.4. I have implemented a working login page, which authenticates the user against a web service. The authentication is done by defining a custom authentincation manager, like…
simon
  • 12,666
  • 26
  • 78
  • 113
18
votes
4 answers

Spring Webflow - decision-state vs action-state

I am using Spring WebFlow 2 and I want to know the diff of decision-state vs action-state. I am reading up and dont understand the diff of decision-state vs action-state. I understand that view-state will display a jsp for input but whats the diff…
Johnathan Smith
  • 1,112
  • 2
  • 17
  • 34
16
votes
2 answers

Spring Web Flow LockTimeoutException

We are using Spring Web Flow (2.0.9) in the Weblogic 10 clustured environment. And in production we are getting a lot of LockTimeoutException : Unable to acquire conversation lock after 30 seconds. I have been trying to figure out why does above…
Kunal Jha
  • 2,102
  • 4
  • 24
  • 34
15
votes
2 answers

When to use spring web flow over spring mvc

Is it fair to say that the most important justification to use Spring Webflow over Spring MVC is this: Using Spring MVC, the different stages of the workflow needs to be in code. i.e. If Stage 1 ends in success, in the Controller we need to forward…
Victor
  • 16,609
  • 71
  • 229
  • 409
14
votes
2 answers

Spring Web Flow 3 Development Abandoned?

Does anyone have any information on Spring Web Flow 3 status? Here are a few relevant links that support my sense that springsource has essentially abandoned the project: 1)Official roadmap indicates they are missing milestones by over a year now…
Dave L.
  • 9,595
  • 7
  • 43
  • 69
12
votes
4 answers

How to send parameter to fileUploadListener in PrimeFaces fileUpload

When I create a model I would like to save images for a model. I am using PrimeFaces fileUpload component. When I save pictures I want to know to which model particular image refers to. That's why I need to send id of a model to backing bean. Is…
Sergii Shevchyk
  • 38,716
  • 12
  • 50
  • 61
12
votes
2 answers

How to set the attribute name of a Spring session scoped bean?

Given a spring bean that is configured with session scope such as: @Component @Scope(proxyMode=ScopedProxyMode.TARGET_CLASS,value=WebApplicationContext.SCOPE_SESSION) public class SomeBean { } Is there some way to control the name that Spring will…
ams
  • 60,316
  • 68
  • 200
  • 288
11
votes
2 answers

Spring "typemismatch" and required fields

In the context of Spring Webflow 2.0.x...... I handle form binding "typemismatches", i.e. as a result of trying to map a String onto a Integer field, by using the following in my messages.properties typeMismatch={0} contains invalid data. This…
Lawrence Tierney
  • 856
  • 1
  • 12
  • 30
11
votes
2 answers

Grails unable to install plugin

I am trying to install webflow plugin version with my grails 1.3.9 version. I have tried the following thing., Using command grails intall-plugin webflow 1.3.8 Result was : org.grails#grails-webflow;1.3.8: not found Modifying buildConfig file and…
Jacob
  • 3,580
  • 22
  • 82
  • 146
11
votes
2 answers

Can i use Spring on GAE?

Can i use Spring Webflow/MVC and Spring Security and Hibernate on Google App Engine? Is there a list/summary of java frameworks that can be used on the GAE?
n002213f
  • 7,805
  • 13
  • 69
  • 105
10
votes
1 answer

How can I define a custom message source for a spring web flow?

The spring webflow documentation mentions that their way of adding messages to a flow is to define all messages regarding that flow in a file messages.properties inside the flow: Internationalized messages are defined in message bundles accessed by…
Jan Thomä
  • 13,296
  • 6
  • 55
  • 83
10
votes
2 answers

Benefits to using Spring EL over OGNL?

I was wondering what exactly moved Spring to use Spring EL over OGNL in its web flow product: http://static.springsource.org/spring-webflow/docs/2.2.x/reference/htmlsingle/spring-webflow-reference.html#el-language-choices With OGNL, I can…
MetroidFan2002
  • 29,217
  • 16
  • 62
  • 80
1
2 3
86 87