PropertiesMethodsEventsConfig OptionsDirect Link

Class Ext.form.Action.Submit

Package: Ext.grid
Defined In: .js
Class:
Extends: Ext.form.Action
A class which handles submission of data from Ext.form.BasicForm Forms and processes the returned response.

Instances of this class are only created by a 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. The object decoded from this JSON is available in the {@

配置项

配置项 定义者

公告属性

属性 定义者

公共方法

方法 定义者

公告事件

这个类没公共的事件。