-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi all,
I am new to ZK Framework & I have basic knowledge of of usage with ZUL file, but I now I have to use it using JSTL in JSP Pages.
The problem I am facing is in ZUL file I was calling normal java scripts as follows
<button id='btn2' label="Hi With JScript" xmlns:w="client" w:onClick="testFunc(this.id);" />
now in case of JSTL i have used prefix "z" but I am unable to write
<z:button id='btn2' label="Hi With JScript" xmlns:w="client" w:onClick="testFunc(this.id);" />
as page cant find the reference of "xmlns". Please tell me a proper way to call the javascript function in that case.
thanks in advance.
two ways
1.
in Java
void test() {
Clients.evalJavascript("xxxxxx");
}
2.
import ZK client namespace tld
Asked: 2010-11-10 02:51:47 +0800
Seen: 288 times
Last updated: Nov 14 '10