-
Jan 5th, 2012, 04:09 AM
#1
calling any method fixes a problem - no idea what is happening
i've tracked down a problem which i cannot explain at all:
the problem can be fixed by adding the following action bean entry to a transition:
<transition on="answerDetails" to="answerdetails.subflow">
<action bean="serviceAction" method="doNothing" name="clone">
<attribute name="uri" value="foo"/>
<attribute name="value" value="bar"/>
<attribute name="var" value="dummy"/>
</action>
</transition>
what it calls is:
public Event doNothing(final RequestContext context) {
return super.success();
}
so basically, it does nothing. and yet, if i do call it, i suddenly get another(!) object passed to my subflow. how can this happen?
-
Jan 6th, 2012, 07:47 PM
#2
Hello
Use code tags the next time.
I suggest you read SWF 2.3.x documentation , special for Sub Flows
- Manuel Jordan
Kill Your Pride, Share Your Knowledge With All
The Fear Of The LORD Is The Beginning Of Knowledge, But Fools Despise Wisdom And Discipline. Proverbs 1:7
Blog
Technical Reviewer of Apress
- Pro SpringSource dm Server
- Spring Enterprise Recipes: A Problem-Solution Approach
- Spring Recipes: A Problem-Solution Approach, 2nd Edition
- Pro Spring Integration
- Pro Spring Batch
- Pro Spring 3
- Pro Spring MVC: With Web Flow
- Pro Spring Security
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules