-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello. I'm have a problem. My dialog window inherits AbstractDialogForm. Please tell me, when can I add Enter event listener?
Sorry from my English.
Since AbstractDialogForm is not a class of ZK I cannot comment on that.
However here the documentation on Keystroke Handling, I guess you are looking for the 'onOK' event. You can add it at any time. During or after the component creation.
EDIT - AFTER clarifying comment
AbstractDialogForm extends AbstractDialog which extends org.zkoss.zul.Window and is a ZK Component. To register an event listener simply call addEventListener("onOK", new EventListener() ...)
Asked: 2015-06-02 14:12:17 +0800
Seen: 22 times
Last updated: Jun 03 '15
onClick and OnDoubleClick in a single Component
Multiple Controller instances issue
Zk create custom event for COmbo box?
ListBox issue: onSelect fired before binding selected item
VisibilityChangeEvent Grave NullPointer Exception
java.lang.ClassNotFoundException: org.zkoss.zk.ui.http.HttpSessionListener
I'm use this class ru.itbasis.utils.zk.ui.form.AbstractDialogForm. And I don't have zk-xml file. I definition fields in java class. I don't can find method which allow add event key listener.
Kipill ( 2015-06-03 08:26:41 +0800 )edit