Uploaded image for project: 'Spring Web Flow'
  1. Spring Web Flow
  2. SWF-1489

Action state configuration with forward declaration does not work when parent action state declaration also has another parent defined.

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.9
    • General Backlog
    • Core: Actions
    • None

    Description

      The declaration of action states that has hierarchy of parents seems to depend on lexical order for intialization.

      <action-state id="grandfather">
          <on-exit...do-something/>
      </action-state>
      <action-state id="father parent="#grandfather"/>
      <action-state id="child" parent="#father"/>
      

      would work i.e. do-something from grandfather would be called.where as the following declaration it does not get called

      <action-state id="grandfather">
          <on-exit...do-something/>
      </action-state>
      <action-state id="child" parent="#father"/> ---> note that this is forward declaration.
      <action-state id="father parent="#grandfather"/>
      

      Attachments

        Activity

          People

            rstoya05-aop Rossen Stoyanchev
            raj_srinivas Raj Srinivas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: