Getting value in ZK by passing from java
- by Thida
I could not take the value that I pass from JAVA code in ZK Spreadsheet (http://www.zkoss.org) file.
Here are what I am doing:
In java side I call the .zul file
String filenames = "test.txt";
htmlPane.setContentsURL("preview.zul?filename=" + filename);
In preview.zul file
< zk
< zscript < ![CDATA[
System.out.println(execution.getArg().get("filename"));
]] < /zscript
< zk
The the result is NUll
Could you help how to write the correct script?
Thanks,