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

Allow a flow definition's identifier and namespace to be specified within the XML flow definition itself

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.0.4
    • Fix Version/s: 2.0 M2
    • Labels:
      None

      Description

      Currently you cannot set a flow identifier explicitly in your XML-based flow definition. You either rely on id assignment by convention, or manually specify the id when the flow is registered in a flow definition registry. The simplest, most object oriented approach is to allow the flow to identify itself. This should be supported, without removing the support we have for externalized id and package assignment [which provides added flexibility].

      Examples

      <flow namespace="account" id="show">
      ...
      </flow>

      Alternative approach:

      <flow id="account.show">

      </flow>

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            kdonald Keith Donald
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0.5d
                0.5d
                Remaining:
                Remaining Estimate - 0.5d
                0.5d
                Logged:
                Time Spent - Not Specified
                Not Specified