-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
I'm currently investigating upgrading from ZK 3.5 to 5 and ZK JSP to 1.4. The below code used to work by setting a form property "Action" before the form was submitted. It seems the action property is no longer valid in 1.4.
<zk:button label="Start" id='${execBtnName}' action="onclick:document.doEMC.Action.value='${execBtnAction}';doSubmit( document.doEMC )"/>
Using ZK JSP 1.3, the above code was converted into the below HTML code
<table id="z_pf_s1!box" cellspacing="0" cellpadding="0" border="0" class="z-button " onclick="document.doEMC.Action.value='EMC:doStart';doSubmit( document.doEMC )">
It is now converted into
zkb('zul.wgt.Button','z_2b_41','',{ id:'EMC:startButton',label:'Start'});
Anyone know how to emulate the same behavior with ZK 5 & ZK JSP 1.4?
Thanks in advance!
Hi ~~
in this document,
it mentions "Note: Client Side Action is deprecated in ZK 5. For ZK 5 developers, please refer to ZK5: Client Computing with ZUML"
so, action has to rewrite, you could refer to
ZK_5.0_and_jQuery and ZK5:_Client_Computing_with_ZUML
Asked: 2010-01-25 16:17:52 +0800
Seen: 719 times
Last updated: Jan 26 '10