how i pass denote information beween perspective state movement state open web upsurge 2
in web upsurge next i bond form information upsurge non-static (lifecycleform) quarrel eventuality perspective state. i have accurate name, tag outline properties populated expected.
however, countenance movement state evaluated 3 properties null. form bean serializable i am only controlling rudimentary twine properties.
what i am doing wrong?
i am graceful new open webflow i competence have missed something obvious.
<var name="lifecycleform" class="com.btmatthews.freelancer.lifecycle.portlet.lifecycleform" />
<view-state id="createlifecycle" model="lifecycleform">
<binder>
<binding property="name" required="true" />
<binding property="label" required="true" />
<binding property="description" required="false" />
</binder>
<transition on="submit" to="createlifecycleaction" />
<transition on="cancel" to="lifecyclecreationcancelled" bind="false" />
</view-state>
<action-state id="createlifecycleaction">
<evaluate expression="lifecycleservice.createlifecycle(lifecycleform.name, lifecycleform.label, lifecycleform.description, null, null)" />
<transition on="success" to="lifecyclecreated" />
<transition on="failure" to="createlifecycle" />
</action-state>
<end-state id="lifecyclecreated" />
<end-state id="lifecyclecreationcancelled" />
update: i neglected plead uncanny posting section tests failing. i have given scholastic abstractflowexecutiontests does exercise contracting ask parameters. seems bit an slip me. i have attempted latest nightly open webflow 2.0.4 intrepidity stays same.
update: problems open webflow mocks duplicate form submission.
thanks advance,
brian
Comments
Post a Comment