code to workaround "calledAsSubflow" in tests ?
Tom Zeller
tzeller at dragonacea.biz
Tue Sep 9 18:13:22 EDT 2014
Anyone know how to add an input attribute to a flow via Java, not XML ?
I copied the "calledAsSubflow" input attribute requirement from the
subject c14n flow to the post-authn flow, but that makes it difficult
to test executing the flow directly, of course.
This is the input attribute as defined in the flow definition :
<!-- Rudimentary impediment to direct execution of subflow. -->
<input name="calledAsSubflow" type="boolean" required="true" />
In Java I tried
flow.getInputMapper().map("calledAsSubflow", true);
but that throws a
org.springframework.binding.expression.PropertyNotFoundException.
Thanks.
More information about the dev
mailing list