Experiments with command-line and web flow adaptor
Tom Zeller
tzeller at dragonacea.biz
Mon Apr 8 13:11:14 EDT 2013
> Tom expressed a strong distaste for anything that cluttered up the web
> flow syntax.
To quantify : for the sake of deployers who are not familiar with
Spring Web Flow, I suggest that we invoke Actions using the simplest
syntax available, currently :
<evaluate expression="SomeAction" />
In other words, Action evaluate expressions should not contain special
characters.
Of course I do not want to preclude other forms of Action invoking, so
I typed "should not" and not "must not".
I have an AI from last Friday to document Actions, this should be part
of that document for discussion and hopefully consensus.
> I also like the fact that the adaptor
> approach means you can mix beans that are POJOs with beans that are
> SWF-aware, and they look identical in the flow config.
Simple enough.
This is me giving a green light, pending any other discussion or
comments, to move forward with the Spring-neutral WebFlowAdaptor.
Minor comments :
I think that the javadoc for ProfileAction should talk about emulating
a Spring Web Flow Action to obviate the need for Spring dependencies.
I think that WebFlowAdaptor should possibly have the word "Action" in
the name, maybe WebFlowActionAdaptor or WebFlowProfileActionAdaptor,
to make it clear that it is an Action adaptor.
I like what you did, Scott.
More information about the dev
mailing list