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

Spring web-flow with JSF ClassNotFoundException issue

I am working on a project using Spring Webflow and JSF. I am trying to accomplish something similar to the booking-faces example of Spring Webflow https://github.com/SpringSource/spring-webflow-samples/tree/master/booking-faces. I get the following…
Nayan
  • 235
  • 1
  • 3
  • 10
3
votes
1 answer

How Does Spring MVC handle responses

I use Spring MVC and webflow. There are time where I am obliged to write to the response object directly. Specifically I have a keep-alive class that continuously sends an empty response back to the browser while the server does some slow running…
aamiri
  • 2,420
  • 4
  • 38
  • 58
3
votes
2 answers

Available paths listing for Spring actions

I have an application which exposes RESTful actions using spring annotations and Spring MVC. It looks like @RequestMapping(value = "/example/{someId}", method = RequestMethod.GET, consumes=MediaType.APPLICATION_JSON_VALUE, …
Chris
  • 8,031
  • 10
  • 41
  • 67
3
votes
1 answer

How to implement Switch/if else if statement in spring webflow?

Have implemented switch statement as below. Could you please verify and correct it if there is any wrong?
user1938073
  • 121
  • 2
  • 2
  • 9
3
votes
1 answer

How to combine Spring web flow, Spring Security and a HandlerExceptionResolver like SimpleMappingExceptionResolver?

I have a SimpleMappingExceptionResolver to redirect every unhandled exception. @Bean public SimpleMappingExceptionResolver exceptionResolver() { SimpleMappingExceptionResolver resolver = new SimpleMappingExceptionResolver(); …
Markus Malkusch
  • 7,738
  • 2
  • 38
  • 67
3
votes
1 answer

Invalidating or discarding history is not working after state validation in Spring Web Flow 2

I've configured the backtracking in my flow in the following way:
Gerardo
  • 195
  • 1
  • 13
3
votes
2 answers

jQuery event.preventDefault() does not work on h:commandLink

I want to show a jQuery dialog as conformation-popup, when the user clicks on a cancel link. ("Do you really want to cancel?") jQuery(#{rich:element('cancel')}).click(function(event) { var dialog = jQuery(#{rich:element('cancelDialog')}); if…
Patrick Zinner
  • 356
  • 4
  • 17
3
votes
1 answer

Calling flowRedirect after returning from subflow throws exception

With this configuration, after completing some webflow…
3
votes
2 answers

What are the jars needed for only Spring-MVC?

I need to run the Spring-MVC in my scratch project. At the same time i have minimum memory area to store all the jar files. So any body recommend me only need for the Spring-MVC not any other jar files. Thanks in Advance.
Adalarasan_New
  • 313
  • 3
  • 5
  • 16
3
votes
1 answer

How to add REST channel to Spring Webflow Application?

I've downloaded Spring Webflow sources and I wanted to add REST channel (displaying the image from database) to the jsf-booking sample. This channel was working without problem in my Spring-MVC sample application. However, I have problem with…
Danubian Sailor
  • 1
  • 38
  • 145
  • 223
3
votes
1 answer

Spring PrimeFaces selectOneMenu submit send me to 405 - Request method 'POST' not supported

I've got very painful problem. Could not find solution on web. I'm using Spring 3.0 with JSF and PrimeFaces Spring Security is configured, also have configuration for Spring Web Flow (but I'm not using it in this example). Here is behavior I want…
Jabi
  • 51
  • 1
  • 4
3
votes
2 answers

Ajax call to WebFlow

I am trying to make an Ajax call to my webflow and want to refresh only content part of my page for every view state. function proposedInsured(){ ("#myForm").submit(function() { $.ajax({ type: "POST", data:…
ShinkyNar
  • 97
  • 1
  • 3
  • 12
3
votes
1 answer

Unsupported Exception in jsf 2.0 + springwebflow 2.0

I started to create a project using the following technologies JSF 2.0 Springwebflow 2.0 Primefaces 2.2.1 Richfaces 3.3 Appserver : JBOSS-AS-7.1.1 Final My application got deployed successfully, but when i am trying to run it.. i am getting the…
Badrinath
  • 41
  • 5
3
votes
4 answers

Trying to run junit test on service level of Spring WebFlow Project. Assume$AssumptionViolatedException

I am trying to run my first test with junit on a Spring Web Flow Project from within Eclipse and also from the console with mvn test and but give me the same error. java.lang.NoClassDefFoundError: org/junit/Assume$AssumptionViolatedException Here is…
techsjs2012
  • 1,737
  • 5
  • 25
  • 57
3
votes
1 answer

Primefaces commandButton: f:attribute does not work

Project uses Spring Webflow and JSF (PrimeFaces). I have a p:commandButton with f:attribute
Raistlin
  • 407
  • 1
  • 8
  • 19