From Documentation

Jump to: navigation, search




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>




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