Please post your /WEB-INF/config/webflow-config.xml file.
Paul
Type: Posts; User: Paul Wilson; Keyword(s):
Please post your /WEB-INF/config/webflow-config.xml file.
Paul
What URL are you using to access the flow?
What happens when you click on the link?
What does the log say?
Shouldn't the URL be:
<a href="${flowExecutionUrl}&_eventId=continue">Go to next...
Yes, I'd only write AbstractXmlFlowExecutionTests for transition logic and asserting scoped values before view-rendering.
You can specify global-transitions that are inherited into different...
Hi there,
Just wondering why you would want RESTful URLs for your flowExecutionURLs? It doesn't seem a good fit to me...
Paul
You can achieve what you wanted within 'on-entry' of the action state. This doesn't trigger events upon evaluation.
Really? Can you explain why?
Great. I had been using my approach previously, however yours is more concise!
Try registering a FlowExecutionListener (subclass FlowExecutionListenerAdapter) implementing 'sessionEnded' as an inner class of your JUnit test suite and assert the k/v pairs of the attribute map...
An action-state, like a view-state, is looking for an 'event' to trigger a transition that it recognises. I was surprised to learn that 'set' causes an event and after consulting the code, can see...
Yes, it triggers an event with id 'success' and therefore matches your catch-all transition. You can add 'on-entry' within your action state and do what you want within that, safe in the knowledge...
Yes, I believe you can make this happen (despite Webflow's lack of explicit support for it). Could you first provide code examples and debug logging from a validating postback that you hope to be...
Try using 'set' rather than 'evaluate'. The action state will attempt to transition from an 'evaluate' if a matching transition exists, whereas 'set' simply sets a variable in a scope.
Webflow executes the actions in order until one of them produces a result that matches a transition. Since you have a wildcard transition:
<transition to="checkConsumerRequest"/> which is...
Off the top of my head, try using 'set' rather than 'evaluate' for the first action.
Is your action not itself a Spring bean, and therefore injectable? I would provide DAO instances via DI rather than passing as method params.
*BUMP*
Webflow 3 is an exciting concept that has been mentioned through numerous channels over the years and recently, from Jurgen's Spring 3.1 interview to Rod's 2GX keynote - are SpringSource...
For example, the 'Search Criteria' facility uses radio buttons to select the page size for the search (in the booking-mvc example). Take a look at the model object SearchCriteria.java and the...
The radio button should have a name and a value associated with it. The name should map to a property on your model object, and the value is what's assigned to that if the user selects it prior to...
Hi Miky,
Read the section on binding in the webflow docs:
http://static.springsource.org/spring-webflow/docs/2.3.x/reference/html/ch05s06.html
Essentially, when the HTML page generated by...
In
AbstractMvcView#render()
I can see in the code where the various scopes are getting merged into the request context before it's forwarded to the JSP.
Sounds like you need to post examples of what you're actually doing,...
From within JSP, use the Expression Language (EL):
${foo}
Or if the value is a property within a 'foo' object:
${foo.someValue}
Maybe you could achieve this using SpEL and a top-level flow that dispatches to the correct tenant flow?
<subflow-state id="dispatch"...
Webflow exposes the view model provided in the view-state definition and all conversation scoped variables to the view including;
conversation scope
flow scope
view scope
flash scope
...
To configure webflow to use JSR-303 validation take a look here:
http://static.springsource.org/spring-webflow/docs/2.3.x/reference/htmlsingle/spring-webflow-reference.html#view-validate
then...
Done: https://jira.springsource.org/browse/SWF-1453