Copyright © 2011, Zeleos Project Team
The action tag is used to define an action on a widget. You can also use this tag in an application tag to define an action
on Window events.
- name
- [mandatory] The name of the controller method to call on a user action.
- event
- [mandatory] The type of the event depending on the widget.
<zwt:button id="Button"> <zwt:set name="Text" value="'Click'" /> <zwt:action name="didClickOnButton" event="click" /> </zwt:button>