Add Event Listeners by Markup Languages

From Documentation
Revision as of 06:46, 15 July 2010 by Maya001122 (talk | contribs) (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…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Add Event Listeners by Markup Languages


Stop.png 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(&quot;Hello World!&quot;)"/>
</window>



Last Update : 2010/07/15

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.