Reputation: 11
I need to declare
private final EventListener<Event> eventListener;
but the following error occurred
org.zkoss.zk.ui.event.EventListener does not take parameter.
in article this link http://java.dzone.com/articles/advanced-zk-asynchronous-ui use it. How can use this command?
Upvotes: 0
Views: 279
Reputation: 691635
That's probably because you're not using the same version of ZK as the author of the article.
Here's the javadoc for version 5.0.12 (which doesn't take any generic parameter), and here's the javadoc for the latest version, which takes a generic parameter.
Upvotes: 5