An Action widget. An Action widget can cause an
ActionEvent to be triggered
on the server side, which will be handled by either the event handlers defined in the
form definition, and/or by the
org.apache.cocoon.forms.event.FormHandler FormHandler registered with the form, if any. An Action widget can e.g. be rendered as a button,
or as a hidden field which gets its value set by javascript. The Action widget will generate its associated
ActionEvent when a requestparameter is present with as name the id of this Action widget, and as
value a non-empty value.
version: $Id: Action.java 449149 2006-09-23 03:58:05Z crossley $
Adds a ActionListener to this widget instance. Listeners defined
on the widget instance will be executed in addtion to any listeners
that might have been defined in the widget definition.
Handle the fact that this action was activated. The default here is to perform any
action associated to this object, end the current form processing and redisplay the
form.
See Also:Action.performAction()
Performs all actions and calls on-action listeners attached to this object. Note that this
does not register this object as the submit widget and doesn't stop form processing.