Add Event Listeners by Markup Languages"
From Documentation
Maya001122 (talk | contribs) m (Created page with '{{ZKDevelopersGuidePageHeader}} The simplest way to add an event listener is to declare an attribute in a ZUML page. The value of the attribute for listening an event is any Jav…') |
Tmillsclare (talk | contribs) m (moved ZK Developer's Guide/ZK in Depth/Event listening & processing/Add Event Listeners by Markup Languages to ZK Developer's Guide/ZK in Depth/Event listening and processing/Add Event Listeners by Markup Languages) |
(No difference)
|
Latest revision as of 08:04, 30 September 2010
This documentation is for an older version of ZK. For the latest one, please click here.
The simplest way to add an event listener is to declare an attribute in a ZUML page. The value of the attribute for listening an event is any Java codes that could be interpreted by BeanShell.
<window title="Hello" border="normal">
<button label="Say Hello" onClick="alert("Hello World!")"/>
</window>