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