Questions tagged [spring-webflow-2]

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.

296 questions
0
votes
1 answer

How to assert in a unit test that Spring Webflow exited through the specific end state?

I'm researching the means of unit testing a Spring Webflow. The webflow under test has multiple end states. Is there a way to determine, through which of those end states did the workflow exit? My current code is: @Test public void…
Olaf
  • 6,249
  • 1
  • 19
  • 37
0
votes
2 answers

getting NPE exception on rendering of page

I'm getting web flow exception while rendering of the below view state. Its working fine if i directly open this view state but when i come from different flow it throws webflow exception. I also observed that If i don't perform any action on screen…
Vikas
  • 127
  • 1
  • 7
  • 16
0
votes
1 answer

Spring Web Flow Converter

I have a Spring MVC and Web Flow 2.3 application. All I would like to know is how you have a select box in SWF with some default value say, for example, 'Please Select' that is not bound to any value in the backing list. In line with the docs I have…
Alan Hay
  • 22,665
  • 4
  • 56
  • 110
0
votes
1 answer

JSF EL i18n in CSS files

In my html pages I use the Spring message bean like so: #{ms.my_text_label} ms is of type ReloadableMessageSourceBundle and will translate my_text_label by looking in some resource bundle files. Can I make it possible to use this in my CSS files as…
KOT
  • 1,986
  • 3
  • 21
  • 35
0
votes
1 answer

Issue in understanding the Spring Bean Scopes Vs Spring web flow Session Scopes

We Know the Spring Framework gives singleton, prototype, request, session, global_session bean Scopes. Also we know that Spring web flow gives flowScope,viewScope,requestScope,flashScope,conversationScope. So If i mentioned one…
Selva
  • 230
  • 3
  • 17
0
votes
1 answer

Spring Security with Webflow and JSF redirecting login page without error message

I'm trying to write an application with spring security for authentication upon JSF and wedflow. Below are code snippets. LoginPage.xhtml
Inayathulla
  • 761
  • 2
  • 8
  • 21
0
votes
1 answer

h:selectOneMenu with Please select displays previous selection on validation error

I am using Spring Webflow 2.4.0.M1 with Mojara JSF 2.1.21. I have a very simple h:selectOneMenu like so:
annihilate
  • 598
  • 1
  • 5
  • 16
0
votes
1 answer

Passing Constants in method Spring Web Flow with ZK

I`m working with springwebflow 2 and Zk 6. I`m calling a method with 2 constants parameters
Makoton
  • 443
  • 3
  • 14
0
votes
1 answer

Get User information in pages which are not part of any flow in Spring webflow

In my application i am using Spring Security, Spring Web Flow and JSF. I have defined flows and can extract user information using #{currentUser.name} in pages which are part of flow. But there are some pages like home page which are not part of any…
0
votes
1 answer

spring web flow enable scopes

Spring web flow provides additional bean scopes like flow, conversation, flash etc. I can define flow scope beans in flow.xml using var or i can set values to new scoped variables. How i can define it in spring application context xml file. I tried…
0
votes
1 answer

Spring Webflows locale detected incorrectly as en_US, but evidence suggests locale is changed

I have 4 available locales in my project: ar_AE, en_GB, en_US, ur_PK. The default set up in my localeResolver is en_GB. No matter what I set my current locale to, when I enter a webflow, the EL expression ${pageContext.response.locale} always…
0
votes
2 answers

Terminate actual spring web flow execution

is it possible to determine the actual running flow in a spring mvc context and terminate it ? The reason why I'm asking is, that in my shop web app the whole checkout process is a web flow but the header menu is still visible and now I experience…
conscience
  • 463
  • 6
  • 21
0
votes
1 answer

Exception handler does not catch an exception

I have an excepton handler at the webflow level Also I have two different flows, Flow A and Flow B. Flow B is a sub-flow of Flow A. Flow A
Piero Divasto
  • 1,065
  • 13
  • 21
0
votes
2 answers

Need to login/ register during Spring Web-Flow

I have a web flow defined with 4 steps in it. I have also spring security configured properly. In the last step, I need to save the user's order which requires a user account. Therefore, I need to ensure the user is logged in before the last step is…
checklist
  • 12,340
  • 15
  • 58
  • 102