Results 1 to 4 of 4

Thread: STS validator problem on SWF dynamic transition target

  1. #1
    Join Date
    Feb 2012
    Posts
    4

    Default STS validator problem on SWF dynamic transition target

    When I use a dynamic transition target like
    Code:
    <transition on="back" to="#{myFlowAction.breadcrumbBack(myFlowBean)}"/>
    STS web flow validator reports an error like:
    Element transition references a non-exiting state "#{..."
    If I use
    Code:
    <transition on="back" to="${myFlowAction.breadcrumbBack(myFlowBean)}"/>
    the STS validator stops reporting that error, but I run in an exception:
    Cannot find state with id '${myFlowAction.breadcrumbBack(myFlowBean)}'
    Can we switch the EL? (and if so - to what?) Or can we reconfigure the STS SWF validator (this should be the way I suppose)?

    Thank you for any suggestion.

    Regards.

  2. #2
    Join Date
    Mar 2007
    Posts
    2

    Default

    No ideas on this validation problem?

  3. #3

    Default

    You found an honest to goodness bug. Looks like the current Web Flow uses the Spring Expression Language, while older versions of Web Flow used Unified EL. See http://static.springsource.org/sprin...erence.html#el

    Unfortunately the validator just hadn't been updated to compensate for this change. Fixed for the 2.9.0RC1 release. Cheers.

    STS-2431: STS validator problem on SWF dynamic transition target
    https://issuetracker.springsource.com/browse/STS-2431
    Leo Dos Santos
    Committer, SpringSource Tool Suite

  4. #4
    Join Date
    Feb 2012
    Posts
    4

    Default

    Thank you. I think best would be providing the option to decide which EL to use - at least for older SWF versions (I think it was possible to change the EL there).

Tags for this Thread

Posting Permissions

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