Results 1 to 8 of 8

Thread: flowExecutionListeners and XMLFlowBuilder

  1. #1
    Join Date
    Nov 2004
    Location
    Düsseldorf, Germany
    Posts
    62

    Default flowExecutionListeners and XMLFlowBuilder

    Hi,
    I did an update of the webflow jars and noticed that a few things have changed.

    What I can't figure out: What has happened to the flowExecutionListener property on the BaseFlowBuilder/XMLFlowBuilder?

    There is a remark in the javadoc of XMLFlowBuilder that there is a flowExectionListeners property. This can be found in BaseFlowBuilder. But only the property without the setters. Therefor setting a list of listeners fails. Am I overseeing anything obvious or is it currently not possible to set listeners on the XMLFlowBuilder?

    Thanks,
    Markus

  2. #2
    Join Date
    Aug 2004
    Location
    Melbourne, FL
    Posts
    2,794

    Default

    FlowExecutionListener is now a property purely of the FlowExecutionManager. This really makes more sense -- the flow definition shouldn't produce its own listeners.
    Keith Donald
    Core Spring Development Team

  3. #3
    Join Date
    Nov 2004
    Location
    Düsseldorf, Germany
    Posts
    62

    Default

    OK. Than the struts users are out of the game. Have you seen the jiira patch I submitted some weeks ago? It was a FlowAction + Mapper where it was possible to pass a listener within the struts-config.xml
    Could you apply this to the source code?

    Thanks,
    Markus

  4. #4
    Join Date
    Aug 2004
    Location
    Melbourne, FL
    Posts
    2,794

    Default

    Yes, we'll do that for PR3.
    Keith Donald
    Core Spring Development Team

  5. #5
    Join Date
    Nov 2004
    Location
    Düsseldorf, Germany
    Posts
    62

    Default

    any chance to put it in CVS earlier (not sure when you plan to release PR3)?

  6. #6
    Join Date
    Aug 2004
    Location
    Melbourne, FL
    Posts
    2,794

    Default

    Well, we wanted to release last week but that didn't happen. We're pushing by Friday.
    Keith Donald
    Core Spring Development Team

  7. #7
    Join Date
    Sep 2004
    Location
    Leuven, Belgium
    Posts
    1,853

    Default

    Mmm, seems this kinda slipped from PR3...

    Erwin

  8. #8
    Join Date
    Nov 2004
    Location
    Düsseldorf, Germany
    Posts
    62

    Default

    yeah. I noticed it too. Could you please make this very minor change in CVS? This is about 10-20 lines without much logic which would enable every struts user to use the official builds instead of using the self-patched CVS version.

Similar Threads

  1. XMLFLowBuilder and event identification
    By jocsch in forum Web Flow
    Replies: 10
    Last Post: Jul 21st, 2005, 06:22 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •