Properties Methods Events Config Options Direct Link

Class Ext.form.Action.Submit

Package:Ext.form
Defined In:Action.js
Class:Action.Submit
Extends:Object
A class which handles submission of data from {@link Ext.form.BasicForm Form}s and processes the returned response.

Instances of this class are only created by a {@link Ext.form.BasicForm Form} when submitting.

A response packet must contain a boolean success property, and, optionally an errors property. The errors property contains error messages for invalid fields.

By default, response packets are assumed to be JSON, so a typical response packet may look like this:

{
    success: false,
    errors: {
        clientCode: "Client not found",
        portOfLoading: "This field must not be null"
    }
}


Other data may be placed into the response for processing the the Ext.form.BasicForm's callback or event handler methods.

Config Options

Config Options Defined By

Public Properties

This class has no public properties.

Public Methods

This class has no public methods.

Public Events

This class has no public events.