Class type Ext_form_action_Action.configs


class type configs = object .. end
Inherits
method failure : 'a. 'a Js.callback Js.prop

The function to call when a failure packet was received, or when an error ocurred in the Ajax communication.


method form : 'b. 'b Js.t Js.prop

The BasicForm instance that is invoking this Action. Required.


method headers : 'c. 'c Js.t Js.prop

Extra headers to be sent in the AJAX request for submit and load actions. See Ext.data.proxy.Ajax.headers.

Note: Headers are not sent during file upload.


method _method : Js.js_string Js.t Js.prop

The HTTP method to use to access the requested URL. Defaults to the BasicForm's method, or 'POST' if not specified.


method params : 'd. 'd Js.t Js.prop

Extra parameter values to pass. These are added to the Form's Ext.form.Basic.baseParams and passed to the specified URL along with the Form's input fields.

Parameters are encoded as standard HTTP parameters using Ext.Object.toQueryString.


method reset : bool Js.t Js.prop

When set to true, causes the Form to be reset on Action success. If specified, this happens before the success callback is called and before the Form's actioncomplete event fires.


method scope : 'e. 'e Js.t Js.prop

The scope in which to call the configured success and failure callback functions (the this reference for the callback functions).


method submitEmptyText : bool Js.t Js.prop

If set to true, the emptyText value will be sent with the form when it is submitted.

Defaults to: true

method success : 'f. 'f Js.callback Js.prop

The function to call when a valid success return packet is received.


method timeout : Js.number Js.t Js.prop

The number of seconds to wait for a server response before failing with the failureType as CONNECT_FAILURE. If not specified, defaults to the configured timeout of the form.


method url : Js.js_string Js.t Js.prop

The URL that the Action is to invoke. Will default to the url configured on the form.


method waitMsg : Js.js_string Js.t Js.prop

The message to be displayed by a call to Ext.window.MessageBox.wait during the time the action is being processed.


method waitTitle : Js.js_string Js.t Js.prop

The title to be displayed by a call to Ext.window.MessageBox.wait during the time the action is being processed.