Announcement Announcement Module
Collapse
No announcement yet.
calling any method fixes a problem - no idea what is happening Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?

  • #2
    Hello

    Use code tags the next time.

    I suggest you read SWF 2.3.x documentation , special for Sub Flows

    Comment

    Working...
    X