Skip to content

Add expression support to the bean name in <action> and <bean-action> etc. elements. [SWF-263] #152

@spring-operator

Description

@spring-operator

K X opened SWF-263 and commented

To increase the re-usability of a flow definition, it'd be nice to have bean name understand expression too, just like what view name does.

For example:

<!---- Display the first input form view -->
<view-state id="showList" view=".${flowScope.flowVar}.list">
<render-actions>
<action bean="${flowScope.flowVar}Action" method="list" />
</render-actions>
...
</view-state>

Application could follow certain naming convention and reuse the same flow to perform CRUD operations, while the view name and the action bean or POJO bean references are dynamic.

Discussed initially in forum: http://forum.springframework.org/showthread.php?t=32598&page=2


Affects: 1.0.3

1 votes, 1 watchers

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions