Does SWF hate Strings??
My problem is that I don't understand how we use String values on webflow.
<subflow-state id="sub1" subflow="sub1">
<input name="listJsp" type="string" value="post1"/>
</subflow-state>
Why can't I just pass a string to the subflow? Do I really need to have some spring bean to hold this string?
and
<evaluate expression="utils.echo(post1)" result="flowScope.listJsp"/>
how can "post1" here be passed as string? (yes, I am really trying an echo method to pass a string to some variable... I am that desperate...)
For context I want to use the property listJsp to pass to a subflow what view to render (meaning some generic subflow).
As you probably got it by now I always get the error that the property post1 does not exist in any scope.
I am also a bit confused why I didn't find anything in the documentation about such a simple use... in fact I didn't find anyone on the internet trying to use strings anywhere on SWF... am I making the wrong approach? What am I missing?


Reply With Quote


