-
FEATURED COMPONENTS
First time here? Check out the FAQ!
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>
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.
Asked: 2009-02-12 02:06:06 +0800
Seen: 209 times
Last updated: Feb 16 '09