Actions Callback
The actions callback mechanism allows for interaction between actions and the widget controllers.
With configurable sets of actions, it is possible to register a callback for any action in the Actions element of the widget controller. This can be achieved similarly to registering a callback to a single action, but by specifying the id of the Actions element, see the following example:
QuickEditWidgetController
@ViewEvent(componentID = "actions", eventName = Action.ON_ACTION_PERFORMED)
public void onActionPerformed(final Event event)
{
final ActionResult actionResult = (ActionResult) event.getData();
// do some stuff based on the actionResult
}
where the componentID = "actions" refers to the <actions id="actions" (..) /> element in quickedit.zul
The callback is being invoked after any action that has been specified in the Actions element.