Properties Methods Events Config Options Direct Link

Class CQ.Ext.form.Action

Package:CQ.Ext.form
Class:Action
Subclasses:Action.Load, Action.Submit
Extends:Object
Clientlib:cq.widgets

The subclasses of this class provide actions to perform upon Forms.

Instances of this class are only created by a Form when the Form needs to perform an action such as submit or load. The Configuration options listed for this class are set through the Form's action methods: submit, load and doAction

The instance of Action which performed the action is passed to the success and failure callbacks of the Form's action methods (submit, load and doAction), and to the actioncomplete and actionfailed event handlers.

Config Options

Config Options Defined By
  url : String
The URL that the Action is to invoke.
Action

Public Properties

Property Defined By
  response : Object
The XMLHttpRequest object used to perform the action.
Action
  result : Object
The decoded response object containing a boolean success property and other, action-specific properties.
Action
  type : String
The type of action this Action instance performs. Currently only "submit" and "load" are supported.
Action

Public Methods

This class has no public methods.

Public Events

This class has no public events.