X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/0494b8d9b9bb03ab6c22b34dae81261e3cd7e3e6..7a654f8d43fdb43d78b63d90528bed6e86b608cc:/docs/output/Ext.Updater.html diff --git a/docs/output/Ext.Updater.html b/docs/output/Ext.Updater.html deleted file mode 100644 index c85d84b5..00000000 --- a/docs/output/Ext.Updater.html +++ /dev/null @@ -1,320 +0,0 @@ -
Properties Methods Events Config Options Direct Link
Observable
-  Updater

Class Ext.Updater

Package:Ext
Defined In:UpdateManager.js
Class:Updater
Extends:Observable
Provides AJAX-style update capabilities for Element objects. Updater can be used to update -an Ext.Element once, or you can use startAutoRefresh to set up an auto-updating -Element on a specific interval.

-Usage:
-
var el = Ext.get("foo"); // Get Ext.Element object
-var mgr = el.getUpdater();
-mgr.update({
-        url: "http://myserver.com/index.php",
-        params: {
-            param1: "foo",
-            param2: "bar"
-        }
-});
-...
-mgr.formUpdate("myFormId", "http://myserver.com/index.php");
-
-// or directly (returns the same Updater instance) -var mgr = new Ext.Updater("myElementId"); -mgr.startAutoRefresh(60, "http://myserver.com/index.php"); -mgr.on("update", myFcnNeedsToKnow); -
-// short handed call directly from the element object -Ext.get("foo").load({ - url: "bar.php", - scripts: true, - params: "param1=foo&param2=bar", - text: "Loading Foo..." -});

Config Options

Config OptionsDefined By

Public Properties

PropertyDefined By
 defaultUrl : String
Cached url to use for refreshes. Overwritten every time update() is called unless "discardUrl" param is set to true.
Updater
 el : Ext.Element
The Element object
Updater
 indicatorText : String
Text for loading indicator (defaults to Ext.Updater.defaults.indicatorText).
Updater
 loadScripts : Boolean
True to process scripts in the output (defaults to Ext.Updater.defaults.loadScripts).
Updater
 refreshDelegate : Function
Delegate for refresh() prebound to "this", use myUpdater.refreshDelegate.createCallback(arg1, arg2) to bind arguments
Updater
 renderer : Object
The renderer for this Updater (defaults to Ext.Updater.BasicRenderer).
Updater
 showLoadIndicator : String
Whether to show indicatorText when loading (defaults to Ext.Updater.defaults.showLoadIndicator).
Updater
 sslBlankUrl : String
Blank page URL to use with SSL file uploads (defaults to Ext.Updater.defaults.sslBlankUrl).
Updater
 timeout : Number
Timeout for requests or form posts in seconds (defaults to Ext.Updater.defaults.timeout).
Updater
 transaction : Object
Transaction object of the current executing transaction, or null if there is no active transaction.
Updater
 updateDelegate : Function
Delegate for update() prebound to "this", use myUpdater.updateDelegate.createCallback(arg1, arg2) to bind arguments
Updater

Public Methods

MethodDefined By

Public Events

EventDefined By
\ No newline at end of file