-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Registering events #14
Comments
All similar shortcut for event listeners were affected. zk's Fix will be released by the start of the next week. |
Related to #11 |
I use grailszk version 3.2.2. I migrated code from zk-grails 2 with the following syntax: comp.onClick = { event -> ... } Now i realized when omitting the "=" everthing works fine. Would it be possible to keep optionally the "=" in grailszk? Thanks a lot :) |
It's possible. I'll remind you when I implement this feature |
In zk-grails there was a simple way to register events:
void init(Component comp) { comp.onClick { event -> ...//processing the event } }
Now this code produces an error:
org.codehaus.groovy.runtime.InvokerInvocationException: groovy.lang.MissingMethodException: No signature of method: org.zkoss.zul.Image.addEventListener() is applicable for argument types: (String, com.sun.proxy.$Proxy117) values: ...
The text was updated successfully, but these errors were encountered: