-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I noticed that I cannot do these two things in Zul file in zscript. For optional parameters, the code compiles but I get run time error. For the second, the code does not compile.
Can someome help me please on what's the right way to use these in Zul file? I currently call a static Java function and do them in that helper function. I want to include it in the Zul file.
Since zscript is interpreted by beanshell (default) you mostly have to stick to Java 1.4 language features. (Other possible interpreters are JavaScript, Groovy, Ruby, Python)
Here an example showing how a variable arguments method (e.g. Arrays.asList(T...)) can be called and how to implement an anonymous inner class (e.g. EventListener).
Robert
Asked: 2018-02-24 01:06:08 +0800
Seen: 17 times
Last updated: Mar 01 '18
How to control selectAll() feature in a Listbox with multiple=true and checkmark=true
ZK8 Wizard Series: Part 2 now released!
Faster And Lighter, The Performance Test On ZK8
org.zkoss.xel.XelException: Resource not found: http://www.zkoss.org/dsp/web/core
How To Check Dirty Status in ZK8?
Come and join the ''JS'' Hunt!