0

How Spring WF and Composer class work together

asked 2009-02-12 02:06:06 +0800

ffanghao gravatar image ffanghao
6

I develop a zul page and apply a Composer class with it.I want use the composer to check data integrality before it start the flow,if the check not pass,the flow not start.the page forward action to the composer class correctly,but if I set self attribute on the button,the forward not work.

part of zul page:
<zul:window border="normal" apply="com.gcsc.zk.MyProfileDetailsComposer"
id="myProfileDetailsWin" xmlns:a="http://www.zkoss.org/2005/zk/annotation">
<div class="buttonGroup">
<zul:button id="update" label="submit " forward="onSubmit"/>
<zul:button id="x" label="cancel"
self="@{action(cancel)}" />

</div>
</zul:window>

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2009-02-16 10:00:05 +0800

PeterKuo gravatar image PeterKuo
481 2

After reading this smalltalk,
http://www.zkoss.org/smalltalks/zkspringwf/

I don't think its usage is the way you used.
self="@{action(cancel)}" should follow the example, setup its related xml files.
simply apply won't make @{action become effective.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-02-12 02:06:06 +0800

Seen: 209 times

Last updated: Feb 16 '09

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More