-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
I have make a spring web flow and want to make page transiting when click the button in revise.zul. however, I want the forward="undate()" to work first, then self="@{action}" work to transit.In fact, the self works well, but the forword does not work.
the some codes attached follows,
KMMain.xml
... ...
<view-state id="reviseKM">
<transition on="confirmKM" to="KMMain" >
</transition>
<transition on="cancel" to="KMMain" />
</view-state>
... ...
Revise.zul
... ...
<div class="buttonGroup">
<zul:button id="confirm" label="确认修改" self="@{action(confirmKM)}" forward="onUpdate"/>
<zul:button id="cancel" self="@{action(cancel)}" label="返回"/>
</div>
... ...
Thank you very much!!!
i'm fresher,
i think the problem is that the action works on client.the event was deel onlicent.so the server can't receive forward event.
not sure but maybe you could try echoEvent in your transition.
祝好运!
Asked: 2009-01-19 15:17:50 +0800
Seen: 286 times
Last updated: Jan 29 '09