X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..10a866c12701c0a0afd0ac85dcdcf32a421514ac:/docs/output/Ext.Updater.html diff --git a/docs/output/Ext.Updater.html b/docs/output/Ext.Updater.html index 1116b1c7..4625953b 100644 --- a/docs/output/Ext.Updater.html +++ b/docs/output/Ext.Updater.html @@ -1,4 +1,4 @@ -
Observable Updater
Package: | Ext |
Defined In: | UpdateManager.js |
Class: | Updater |
Extends: | Observable |
Observable Updater
Package: | Ext |
Defined In: | UpdateManager.js |
Class: | Updater |
Extends: | Observable |
Object events
)
+});Returns:String/Array events
)
:
voidEnables events fired by this Observable to bubble up an owner hierarchy by calling @@ -155,13 +155,13 @@ this.getBubbleTarget() if present...
Enables events fi implementation in Ext.Component returns the Component's immediate owner. But if a known target is required, this can be overridden to access the required target more quickly.
Example:
Ext.override(Ext.form.Field, {
-// Add functionality to Field's initComponent to enable the change event to bubble
- initComponent: Ext.form.Field.prototype.initComponent.createSequence(function() {
- this.enableBubble('change');
+ // Add functionality to Field's initComponent to enable the change event to bubble
+ initComponent : Ext.form.Field.prototype.initComponent.createSequence(function() {
+ this.enableBubble('change');
}),
-// We know that we want Field's events to bubble directly to the FormPanel.
- getBubbleTarget: function() {
+ // We know that we want Field's events to bubble directly to the FormPanel.
+ getBubbleTarget : function() {
if (!this.formPanel) {
this.formPanel = this.findParentByType('form');
}
@@ -176,26 +176,26 @@ access the required target more quickly.
}],
listeners: {
change: function() {
-// Title goes red if form has been modified.
- myForm.header.setStyle("color", "red");
+ // Title goes red if form has been modified.
+ myForm.header.setStyle('color', 'red');
}
}
-});
events
: ObjectString eventName
, Object... args
)
+});events
: String/ArrayString eventName
, Object... args
)
:
BooleanFires the specified event with the passed parameters (minus the event name).
An event may be set to bubble up an Observable parent hierarchy (See Ext.Component.getBubbleTarget) by calling enableBubble.
eventName
: Stringargs
: Object...Boolean
String/HTMLElement form
, [String url
], [Boolean reset
], [Function callback
] )
:
- voidPerforms an async form post, updating this element with the response. If the form has the attribute + void
Performs an asynchronous form post, updating this element with the response. If the form has the attribute enctype="multipart/form-data", it assumes it's a file upload. Uses this.sslBlankUrl for SSL file uploads to prevent IE security warning.
File uploads are not performed using normal "Ajax" techniques, that is they are not
performed using XMLHttpRequests. Instead the form is submitted in the standard manner with the
-DOM <form> element temporarily modified to have its
+DOM <form>
element temporarily modified to have its
target set to refer
-to a dynamically generated, hidden <iframe> which is inserted into the document
+to a dynamically generated, hidden <iframe>
which is inserted into the document
but removed after the return data has been gathered.
Be aware that file upload packets, sent with the content type multipart/form-data and some server technologies (notably JEE) may require some custom processing in order to @@ -263,16 +263,16 @@ If params are specified it uses POST, othe...
options
: Objectupdate
event handler.options
: ObjectThe URL to request or a function which returns the URL (defaults to the value of Ext.Ajax.url if not specified).
The HTTP method to -use. Defaults to POST if the params argument is present, otherwise GET.
params
argument is present, otherwise GET.
The parameters to pass to the server (defaults to none). These may be specified as a url-encoded string, or as an object containing properties which represent parameters, or as a function, which returns such an object.
If true +
If true
any <script> tags embedded in the response text will be extracted
and executed (defaults to Ext.Updater.defaults.loadScripts). If this option is specified,
the callback will be called after the execution of the scripts.
The config object passed to the update call.
The scope in which -to execute the callback (The callback's this reference.) If the -params argument is a function, this scope is used for that function also.
this
reference.) If the
+params
argument is a function, this scope is used for that function also.
By default, the URL of this request becomes the default URL for this Updater object, and will be subsequently used in refresh -calls. To bypass this behavior, pass discardUrl:true (defaults to false).
discardUrl:true
(defaults to false).
The number of seconds to wait for a response before timing out (defaults to Ext.Updater.defaults.timeout).
The text to use as the innerHTML of the