Properties Methods Events Config Options Direct Link

Class Ext.form.Action

Package:Ext.form
Defined In:Action.js
Class:Action
Subclasses:Action.Load, Action.Submit
Extends:Object

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 OptionsDefined By
 scope : Object
The scope in which to call the callback functions (The this reference for the callback functions).
Action
 submitEmptyText : Boolean
If set to true, the emptyText value will be sent with the form when it is submitted. Defaults to true.
Action
 url : String
The URL that the Action is to invoke.
Action
 waitMsg : String
The message to be displayed by a call to Ext.MessageBox.wait during the time the action is being processed.
Action
 waitTitle : String
The title to be displayed by a call to Ext.MessageBox.wait during the time the action is being processed.
Action

Public Properties

PropertyDefined By
 response : Object
The XMLHttpRequest object used to perform the action.
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.