Clear Up
SharpKit Reference

ActionConfig Class

Namespace: Ext.form.action

Base Types

System.Object

Constructors

Name Description
ActionConfig(Object[])

Fields

Name Description
failure The function to call when a failure packet was received, or when an error ocurred in the Ajax communication.
form The BasicForm instance that is invoking this Action. Required.
headers Extra headers to be sent in the AJAX request for submit and load actions. See Ext.data.proxy.Ajax.headers.
method The HTTP method to use to access the requested URL. Defaults to the BasicForm's method, or 'POST' if not specified.
params 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.
reset 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.
scope The scope in which to call the configured success and failure callback functions (the this reference for the callback functions).
submitEmptyText If set to true, the emptyText value will be sent with the form when it is submitted. Defaults to: true
success The function to call when a valid success return packet is received.
timeout 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.
url The URL that the Action is to invoke. Will default to the url configured on the form.
waitMsg The message to be displayed by a call to Ext.window.MessageBox.wait during the time the action is being processed.
waitTitle The title to be displayed by a call to Ext.window.MessageBox.wait during the time the action is being processed.
© Copyright 2005-2011 SharpKit. All rights reserved.