Interface Action
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AbstractAction,ClickAction,ClipboardCopyAction,JsAction,ServerCallbackAction,SetEnabledAction
Something that runs on the client when a
Trigger fires.
An action may also have a server-side effect that mirrors what just happened in the browser (for example, updating a server-side "enabled" flag after the client has disabled the element). The mirror is applied during the same server cycle that processes the trigger event, before any user-attached DOM event listeners run, so listener code sees the post-action state.
The same Action instance may be wired to multiple triggers on the
same host; the client-side handler runs once per binding.
Implementations should extend AbstractAction.