Personally, I think "evaluate expression" is a better choice. It provides a lot of more flexibility. In my code, I always avoid expose real data to the flow definitions.
The below code should...
Type: Posts; User: zenith.fox; Keyword(s):
Personally, I think "evaluate expression" is a better choice. It provides a lot of more flexibility. In my code, I always avoid expose real data to the flow definitions.
The below code should...
My expressions are listed below.
<evaluate expression="someAction.getSomeList()" result="flowScope.someList"/>
<evaluate expression="anotherAction.test(someList)"/>
The signatures for...
have you specified the model attribute of that state?
a "'dojo' undefined " error occurs when using the dojo.js packed in spring-js-resources 2.2.1.RELEASE.
replaced the dojo.js with dojo-release-1.5.0 downloaded from the dojo website resolves the...
I didn't see any difference in the debug output.
I think you didn't start flows in a right way.
The following code looks weird.
<input type="submit" value="Nästa" name="_eventId_next"/><a href="${flowExecutionUrl}&_eventId=next">Next</a>
...
What is the scope of your beans?
Do you use default? If so, try to set the scope of your beans to session or request using the "@Scope" annotation.
Thanks a lot.
Session management is introduced at
http://static.springsource.org/spring-security/site/docs/3.1.x/reference/ns-config.html#ns-session-mgmt
Be aware preventing reuse of session can cause much...
I always provide a "cancel" button on each view. When users click the button, a "cancel" event will be fired and exit the current flow. I think this could be one solution to your issue.
Another...
I think you need to rethink your design.
Why does a refresh indicate a restart of a flow? Personally, I don't think it makes sense.
If you really want to restart a flow, ask users to fire a event...
In spring, all beans are singleton by default.
If you don't want a singleton bean, you need to add the @Scope annotation in the bean class.
In terms of the prototype scope, there is a difference...
maybe not. not sure.
http://static.springsource.org/spring-webflow/docs/2.0-m3/reference/flow-executor.html
I have the following code. When I run the code, I always get an NoSuchBeanDefinitionException exception on "serviceB".
Could any expert tell me what's the problem of the code or how can I make...
If I inject a singleton datasource to a prototype scope bean, do I need to add a post-processor for the prototype bean to destroy/release the datasource?
If I don't, will the datasource be hold by...
I am not quite sure about your problem
But I think it will be helpful if you take a look at the ACID principals and transaction levels in hibernate.
You may need to raise your level of transaction.
From my understanding of your question, you have three flows parent, flow1, and flow2. flow1 and flow2 inherits the parent flow. So, all the three flows have a state named "orderEntry". But you want...
if you define the view names for the three flows, parent, flow1, and flow2, as "orderEntry-parent", "orderEntry-flow1", "orderEntry-flow2"
the following flow definition should work.
<view-state...
Yes, it's true. Tiles definition names need to be unique and are globally accessible.
You can use names such as "page1.definitionA", "page2.definitionA" as definition names.
Not sure about the reason. But it sounds like that your application is terminated or session expired...
I usually see that exception when I restart my application and try to continue with...
I am not familiar with url parameters. If you can put the parameters in a form, then you can get them from the attributes of currentEvent.
Restart a flow is very similar to start a new flow. You...
don't understand your question.
Maybe caused by one of the following reasons:
1. the spelling of the word
2. the version of the webflow schema
3. the dependency jars of webflow
Is there a specific reason that you need to pass the bean this way?
Why don't you just inject the property bean to the controller? All you need to do is adding serveral lines of code to your...
Another thing to share:
The spring 2.0-m3 reference contains much more information than the spring 2.2.x reference.
It is kind of weird that the spring people removed lots of information from the...