spring-webflow

Spring Webflow Jsf integration war not working in Glassfishv3 server.

Spring-Webflow JSF intgration war example(http://www.springsource.org/webflow-samples/spring-booking-faces.war) file from spring site is not working in GlassfishV3 server. It works in Tomcat6.0. In Glassfish, It throws following exception Caused by: java.lang.UnsupportedOperationException at javax.faces.context.FacesContext.getAttribut...

How can I unit-test subflows in Spring Webflow 1.0?

Unit testing subflows in SWF 2.0 with mocks seems pretty straight forward, as Spring's reference clearly shows. My problem is with registering the subflow, because I can't find a way to access the flow definition registry using 1.0 API. Is there any way to register a subflow on the fly, in order to unit-test the flow? ...

Validate input field to display another input field on the same page

Hello using spring 3.0 I have page on web flow which has a password input field once the user finishes entering password i need to validate the password if it is right then display email id input field on the same page. How can i achieve this in flow? Thanks ...

Spring Security : Bypass login form

Hi, I want to bypass the login form for a Spring webflow (Spring 2.0.5) application under certain scenarios (so the login form is presented for normal users but when the URL is like http://server.com/myspringapp/fakelogin?username=FakeUser&password=FakePassword then the user should not be presented the login form but just authentica...

Spring Webflow 2.0 - communicate to another flow

Hello, I have a cancel button which should bring the user back to the start page. The Cancel button is in a flow createXYZ.xml the start page is a view-state in the flow start.xml how can I link from one flow to another. Start: <view-state id="start" view="start"> </view-state> Cancel Button: <view-state id="createXYZ" view...

<h:selectBooleanCheckbox doesnt retrive values on Server

Hi, I am using JSF along with RichFaces and Spring Webflow. I am trying to select rows from the data table using and perform some operation on the server side on the selected row. How ever I am facing problem retrieving the data from the checkbox. <rich:column id="compCheckBox" styleClass="center-aligned-text"> ...

Why is my web page expired after Spring WebFlow redirects?

I'm using Spring WebFlow 2. Here's my situation. View states: state1, state2 Transitions: state1 goes to state2 if validation passes state2 pops up a new window using the following: <view-state id="state2" view="externalRedirect:${flowScope.myUrl}" redirect="true" /> I want to be able to continue my business at state1 after the w...

JSF - Spring Web Flow - problem accessing "selectedRow" in nested dataTables

Hello, I've been playing around with the spring web flow hotel booking application and have extended it a bit to try to get a better understanding of how spring web flow and JSF integrate together. The spring documentation isn't that great in this area and it has been my impression that things work until you change them and then there ...

Spring Web Flow: How to make direct link to view-state ?

How to configure spring-webflow to make works link like below ? <a href="flow/state"> That link have to open view-state with "state" id from flow with "flow" id ? Is that possible ? My current configuration: flowConfig.xml: <!-- The registry of executable flow definitions --> <webflow:flow-registry id="flowRegistry" flow-builder-ser...

Does a document or guideline exist that covers the integration points required to add a framework to spring-js?

I've been looking into the spring-webflow/spring-js integration and can't seem to find a guide that describes what is required for implementing a js framework for spring. There is a default integration with dojo, but I'd like to see about integrating jQuery or Prototype and am unclear on what is needed to accomplish this. Thanks. ...

How can I make WebFlow abort the transitioning and just view the previous page when validation fails?

I have a Spring WebFlow app that causes me grey hairs. What I'm trying to accomplish if validation succeeds is to simply show the same view with different data. This works. However, when invalid data are entered, I want to show the previous view, but with the erroneous values pre-filled and the error messages telling my user how to fix t...

Unable to locate Spring NamespaceHandler for element 'flow'

I am developing a spring webflow (2.0.7) project using SpringSource Tool Suite. I am trying to setup a basic flow. My someflow.xml looks like this: <flow xmlns="http://www.springframework.org/schema/webflow" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework....

JSF/Rich Faces Drop down funtionality suggestion

Hi friends, I am using JSF/Rich Faces with Spring Webflow. I am implementing a functionality where in I have a drop down menu, where with each selection I need to trigger different transition in the webflow. For Example I have a drop down with values [Admin, Home, Logout, Search] On select of any of these items I should fire an approp...

Refresh view with Spring WebFlow transition

I'm trying to add localisation to my web app which is built with Spring WebFlow and facelets. I want to add support for english and french. I've created my two messages_fr.properties and messages_en.properties files. My template which I use for all my jsf pages has the following code to define the messages bundle and two links to switch...