sync
[roojs1] / docs / symbols / Roo.UpdateManager.json
1 {
2   "name" : "Roo.UpdateManager",
3   "augments" : [
4     "Roo.util.Observable"
5   ],
6   "desc" : "Provides AJAX-style update for Element object.<br><br>\nUsage:<br>\n<pre><code>\n// Get it from a Roo.Element object\nvar el = Roo.get(\"foo\");\nvar mgr = el.getUpdateManager();\nmgr.update(\"http://myserver.com/index.php\", \"param1=1&amp;param2=2\");\n...\nmgr.formUpdate(\"myFormId\", \"http://myserver.com/index.php\");\n<br>\n// or directly (returns the same UpdateManager instance)\nvar mgr = new Roo.UpdateManager(\"myElementId\");\nmgr.startAutoRefresh(60, \"http://myserver.com/index.php\");\nmgr.on(\"update\", myFcnNeedsToKnow);\n<br>\n   // short handed call directly from the element object\n   Roo.get(\"foo\").load({\n        url: \"bar.php\",\n        scripts:true,\n        params: \"for=bar\",\n        text: \"Loading Foo...\"\n   });\n</code></pre>",
7   "isSingleton" : false,
8   "isStatic" : false,
9   "isBuiltin" : false,
10   "memberOf" : "UpdateManager",
11   "example" : "",
12   "deprecated" : "",
13   "since" : "",
14   "see" : "",
15   "params" : [
16     {
17       "name" : "el",
18       "type" : "String/HTMLElement/Roo.Element",
19       "desc" : "The element to update",
20       "isOptional" : false
21     },
22     {
23       "name" : "forceNew",
24       "type" : "Boolean",
25       "desc" : "(optional) By default the constructor checks to see if the passed element already has an UpdateManager and if it does it returns the same instance. This will skip that check (useful for extending this class).",
26       "isOptional" : false
27     }
28   ],
29   "returns" : [],
30   "throws" : "",
31   "requires" : "",
32   "config" : [
33     {
34       "name" : "listeners",
35       "type" : "Object",
36       "desc" : "list of events and functions to call for this object, \nFor example :\n<pre><code>\n    listeners :  { \n       'click' : function(e) {\n           ..... \n        } ,\n        .... \n    } \n  </code></pre>",
37       "memberOf" : "Roo.util.Observable"
38     }
39   ],
40   "methods" : [
41     {
42       "name" : "update",
43       "type" : "function",
44       "desc" : "Performs an async request, updating this element with the response. If params are specified it uses POST, otherwise it uses GET.",
45       "sig" : "(url, params, callback, discardUrl)",
46       "static" : false,
47       "memberOf" : "",
48       "isStatic" : false,
49       "isConstructor" : false,
50       "isPrivate" : false,
51       "example" : "",
52       "deprecated" : "",
53       "since" : "",
54       "see" : "",
55       "exceptions" : "",
56       "requires" : "",
57       "params" : [
58         {
59           "name" : "url",
60           "type" : "Object/String/Function",
61           "desc" : "The url for this request or a function to call to get the url or a config object containing any of the following options:\n<pre><code>\num.update({<br/>\n    url: \"your-url.php\",<br/>\n    params: {param1: \"foo\", param2: \"bar\"}, // or a URL encoded string<br/>\n    callback: yourFunction,<br/>\n    scope: yourObject, //(optional scope)  <br/>\n    discardUrl: false, <br/>\n    nocache: false,<br/>\n    text: \"Loading...\",<br/>\n    timeout: 30,<br/>\n    scripts: false<br/>\n});\n</code></pre>\nThe only required property is url. The optional properties nocache, text and scripts\nare shorthand for disableCaching, indicatorText and loadScripts and are used to set their associated property on this UpdateManager instance.",
62           "isOptional" : false
63         },
64         {
65           "name" : "params",
66           "type" : "String/Object",
67           "desc" : "(optional) The parameters to pass as either a url encoded string \"param1=1&amp;param2=2\" or an object {param1: 1, param2: 2}",
68           "isOptional" : false
69         },
70         {
71           "name" : "callback",
72           "type" : "Function",
73           "desc" : "(optional) Callback when transaction is complete - called with signature (oElement, bSuccess, oResponse)",
74           "isOptional" : false
75         },
76         {
77           "name" : "discardUrl",
78           "type" : "Boolean",
79           "desc" : "(optional) By default when you execute an update the defaultUrl is changed to the last used url. If true, it will not store the url.",
80           "isOptional" : false
81         }
82       ],
83       "returns" : []
84     },
85     {
86       "name" : "showLoading",
87       "type" : "function",
88       "desc" : "Called to update the element to \"Loading\" state. Override to perform custom action.",
89       "sig" : "()\n{\n\n}",
90       "static" : false,
91       "memberOf" : "",
92       "isStatic" : false,
93       "isConstructor" : false,
94       "isPrivate" : false,
95       "example" : "",
96       "deprecated" : "",
97       "since" : "",
98       "see" : "",
99       "exceptions" : "",
100       "requires" : "",
101       "params" : [],
102       "returns" : []
103     },
104     {
105       "name" : "setDefaultUrl",
106       "type" : "function",
107       "desc" : "Set the defaultUrl used for updates",
108       "sig" : "(defaultUrl)",
109       "static" : false,
110       "memberOf" : "",
111       "isStatic" : false,
112       "isConstructor" : false,
113       "isPrivate" : false,
114       "example" : "",
115       "deprecated" : "",
116       "since" : "",
117       "see" : "",
118       "exceptions" : "",
119       "requires" : "",
120       "params" : [
121         {
122           "name" : "defaultUrl",
123           "type" : "String/Function",
124           "desc" : "The url or a function to call to get the url",
125           "isOptional" : false
126         }
127       ],
128       "returns" : []
129     },
130     {
131       "name" : "updateElement",
132       "type" : "function",
133       "desc" : "Static convenience method. This method is deprecated in favor of el.load({url:'foo.php', ...}).\nUsage:\n<pre><code>Roo.UpdateManager.updateElement(\"my-div\", \"stuff.php\");</code></pre>",
134       "sig" : "(el, url, params, options)",
135       "static" : true,
136       "memberOf" : "",
137       "isStatic" : true,
138       "isConstructor" : false,
139       "isPrivate" : false,
140       "example" : "",
141       "deprecated" : "This has been deprecated: ",
142       "since" : "",
143       "see" : "",
144       "exceptions" : "",
145       "requires" : "",
146       "params" : [
147         {
148           "name" : "el",
149           "type" : "String/HTMLElement/Roo.Element",
150           "desc" : "The element to update",
151           "isOptional" : false
152         },
153         {
154           "name" : "url",
155           "type" : "String",
156           "desc" : "The url",
157           "isOptional" : false
158         },
159         {
160           "name" : "params",
161           "type" : "String/Object",
162           "desc" : "(optional) Url encoded param string or an object of name/value pairs",
163           "isOptional" : false
164         },
165         {
166           "name" : "options",
167           "type" : "Object",
168           "desc" : "(optional) A config object with any of the UpdateManager properties you want to set - for example: {disableCaching:true, indicatorText: \"Loading data...\"}",
169           "isOptional" : false
170         }
171       ],
172       "returns" : []
173     },
174     {
175       "name" : "refresh",
176       "type" : "function",
177       "desc" : "Refresh the element with the last used url or defaultUrl. If there is no url, it returns immediately",
178       "sig" : "(callback)",
179       "static" : false,
180       "memberOf" : "",
181       "isStatic" : false,
182       "isConstructor" : false,
183       "isPrivate" : false,
184       "example" : "",
185       "deprecated" : "",
186       "since" : "",
187       "see" : "",
188       "exceptions" : "",
189       "requires" : "",
190       "params" : [
191         {
192           "name" : "callback",
193           "type" : "Function",
194           "desc" : "(optional) Callback when transaction is complete - called with signature (oElement, bSuccess)",
195           "isOptional" : false
196         }
197       ],
198       "returns" : []
199     },
200     {
201       "name" : "getEl",
202       "type" : "function",
203       "desc" : "Get the Element this UpdateManager is bound to",
204       "sig" : "()\n{\n\n}",
205       "static" : false,
206       "memberOf" : "",
207       "isStatic" : false,
208       "isConstructor" : false,
209       "isPrivate" : false,
210       "example" : "",
211       "deprecated" : "",
212       "since" : "",
213       "see" : "",
214       "exceptions" : "",
215       "requires" : "",
216       "params" : [],
217       "returns" : [
218         {
219           "name" : "",
220           "type" : "Roo.Element",
221           "desc" : "The element"
222         }
223       ]
224     },
225     {
226       "name" : "isUpdating",
227       "type" : "function",
228       "desc" : "Returns true if an update is in progress",
229       "sig" : "()\n{\n\n}",
230       "static" : false,
231       "memberOf" : "",
232       "isStatic" : false,
233       "isConstructor" : false,
234       "isPrivate" : false,
235       "example" : "",
236       "deprecated" : "",
237       "since" : "",
238       "see" : "",
239       "exceptions" : "",
240       "requires" : "",
241       "params" : [],
242       "returns" : [
243         {
244           "name" : "",
245           "type" : "Boolean",
246           "desc" : ""
247         }
248       ]
249     },
250     {
251       "name" : "stopAutoRefresh",
252       "type" : "function",
253       "desc" : "Stop auto refresh on this element.",
254       "sig" : "()\n{\n\n}",
255       "static" : false,
256       "memberOf" : "",
257       "isStatic" : false,
258       "isConstructor" : false,
259       "isPrivate" : false,
260       "example" : "",
261       "deprecated" : "",
262       "since" : "",
263       "see" : "",
264       "exceptions" : "",
265       "requires" : "",
266       "params" : [],
267       "returns" : []
268     },
269     {
270       "name" : "startAutoRefresh",
271       "type" : "function",
272       "desc" : "Set this element to auto refresh.",
273       "sig" : "(interval, url, params, callback, refreshNow)",
274       "static" : false,
275       "memberOf" : "",
276       "isStatic" : false,
277       "isConstructor" : false,
278       "isPrivate" : false,
279       "example" : "",
280       "deprecated" : "",
281       "since" : "",
282       "see" : "",
283       "exceptions" : "",
284       "requires" : "",
285       "params" : [
286         {
287           "name" : "interval",
288           "type" : "Number",
289           "desc" : "How often to update (in seconds).",
290           "isOptional" : false
291         },
292         {
293           "name" : "url",
294           "type" : "String/Function",
295           "desc" : "(optional) The url for this request or a function to call to get the url (Defaults to the last used url)",
296           "isOptional" : false
297         },
298         {
299           "name" : "params",
300           "type" : "String/Object",
301           "desc" : "(optional) The parameters to pass as either a url encoded string \"&param1=1&param2=2\" or as an object {param1: 1, param2: 2}",
302           "isOptional" : false
303         },
304         {
305           "name" : "callback",
306           "type" : "Function",
307           "desc" : "(optional) Callback when transaction is complete - called with signature (oElement, bSuccess)",
308           "isOptional" : false
309         },
310         {
311           "name" : "refreshNow",
312           "type" : "Boolean",
313           "desc" : "(optional) Whether to execute the refresh now, or wait the interval",
314           "isOptional" : false
315         }
316       ],
317       "returns" : []
318     },
319     {
320       "name" : "abort",
321       "type" : "function",
322       "desc" : "Aborts the executing transaction",
323       "sig" : "()\n{\n\n}",
324       "static" : false,
325       "memberOf" : "",
326       "isStatic" : false,
327       "isConstructor" : false,
328       "isPrivate" : false,
329       "example" : "",
330       "deprecated" : "",
331       "since" : "",
332       "see" : "",
333       "exceptions" : "",
334       "requires" : "",
335       "params" : [],
336       "returns" : []
337     },
338     {
339       "name" : "setRenderer",
340       "type" : "function",
341       "desc" : "Set the content renderer for this UpdateManager. See {@link Roo.UpdateManager.BasicRenderer#render} for more details.",
342       "sig" : "(renderer)",
343       "static" : false,
344       "memberOf" : "",
345       "isStatic" : false,
346       "isConstructor" : false,
347       "isPrivate" : false,
348       "example" : "",
349       "deprecated" : "",
350       "since" : "",
351       "see" : "",
352       "exceptions" : "",
353       "requires" : "",
354       "params" : [
355         {
356           "name" : "renderer",
357           "type" : "Object",
358           "desc" : "The object implementing the render() method",
359           "isOptional" : false
360         }
361       ],
362       "returns" : []
363     },
364     {
365       "name" : "formUpdate",
366       "type" : "function",
367       "desc" : "Performs an async 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.\nUses this.sslBlankUrl for SSL file uploads to prevent IE security warning.",
368       "sig" : "(form, url, reset, callback)",
369       "static" : false,
370       "memberOf" : "",
371       "isStatic" : false,
372       "isConstructor" : false,
373       "isPrivate" : false,
374       "example" : "",
375       "deprecated" : "",
376       "since" : "",
377       "see" : "",
378       "exceptions" : "",
379       "requires" : "",
380       "params" : [
381         {
382           "name" : "form",
383           "type" : "String/HTMLElement",
384           "desc" : "The form Id or form element",
385           "isOptional" : false
386         },
387         {
388           "name" : "url",
389           "type" : "String",
390           "desc" : "(optional) The url to pass the form to. If omitted the action attribute on the form will be used.",
391           "isOptional" : false
392         },
393         {
394           "name" : "reset",
395           "type" : "Boolean",
396           "desc" : "(optional) Whether to try to reset the form after the update",
397           "isOptional" : false
398         },
399         {
400           "name" : "callback",
401           "type" : "Function",
402           "desc" : "(optional) Callback when transaction is complete - called with signature (oElement, bSuccess, oResponse)",
403           "isOptional" : false
404         }
405       ],
406       "returns" : []
407     },
408     {
409       "name" : "purgeListeners",
410       "type" : "function",
411       "desc" : "Removes all listeners for this object",
412       "sig" : "()\n{\n\n}",
413       "static" : false,
414       "memberOf" : "Roo.util.Observable",
415       "isStatic" : false,
416       "isConstructor" : false,
417       "isPrivate" : false,
418       "example" : "",
419       "deprecated" : "",
420       "since" : "",
421       "see" : "",
422       "exceptions" : "",
423       "requires" : "",
424       "params" : [],
425       "returns" : []
426     },
427     {
428       "name" : "on",
429       "type" : "function",
430       "desc" : "Appends an event handler to this element (shorthand for addListener)",
431       "sig" : "(eventName, handler, scope, options)",
432       "static" : false,
433       "memberOf" : "Roo.util.Observable",
434       "isStatic" : false,
435       "isConstructor" : false,
436       "isPrivate" : false,
437       "example" : "",
438       "deprecated" : "",
439       "since" : "",
440       "see" : "",
441       "exceptions" : "",
442       "requires" : "",
443       "params" : [
444         {
445           "name" : "eventName",
446           "type" : "String",
447           "desc" : "The type of event to listen for",
448           "isOptional" : false
449         },
450         {
451           "name" : "handler",
452           "type" : "Function",
453           "desc" : "The method the event invokes",
454           "isOptional" : false
455         },
456         {
457           "name" : "scope",
458           "type" : "Object",
459           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
460           "isOptional" : false
461         },
462         {
463           "name" : "options",
464           "type" : "Object",
465           "desc" : "(optional)",
466           "isOptional" : false
467         }
468       ],
469       "returns" : []
470     },
471     {
472       "name" : "un",
473       "type" : "function",
474       "desc" : "Removes a listener (shorthand for removeListener)",
475       "sig" : "(eventName, handler, scope)",
476       "static" : false,
477       "memberOf" : "Roo.util.Observable",
478       "isStatic" : false,
479       "isConstructor" : false,
480       "isPrivate" : false,
481       "example" : "",
482       "deprecated" : "",
483       "since" : "",
484       "see" : "",
485       "exceptions" : "",
486       "requires" : "",
487       "params" : [
488         {
489           "name" : "eventName",
490           "type" : "String",
491           "desc" : "The type of event to listen for",
492           "isOptional" : false
493         },
494         {
495           "name" : "handler",
496           "type" : "Function",
497           "desc" : "The handler to remove",
498           "isOptional" : false
499         },
500         {
501           "name" : "scope",
502           "type" : "Object",
503           "desc" : "(optional) The scope (this object) for the handler",
504           "isOptional" : false
505         }
506       ],
507       "returns" : []
508     },
509     {
510       "name" : "addEvents",
511       "type" : "function",
512       "desc" : "Used to define events on this Observable",
513       "sig" : "(object)",
514       "static" : false,
515       "memberOf" : "Roo.util.Observable",
516       "isStatic" : false,
517       "isConstructor" : false,
518       "isPrivate" : false,
519       "example" : "",
520       "deprecated" : "",
521       "since" : "",
522       "see" : "",
523       "exceptions" : "",
524       "requires" : "",
525       "params" : [
526         {
527           "name" : "object",
528           "type" : "Object",
529           "desc" : "The object with the events defined",
530           "isOptional" : false
531         }
532       ],
533       "returns" : []
534     },
535     {
536       "name" : "releaseCapture",
537       "type" : "function",
538       "desc" : "Removes <b>all</b> added captures from the Observable.",
539       "sig" : "(o)",
540       "static" : true,
541       "memberOf" : "Roo.util.Observable",
542       "isStatic" : true,
543       "isConstructor" : false,
544       "isPrivate" : false,
545       "example" : "",
546       "deprecated" : "",
547       "since" : "",
548       "see" : "",
549       "exceptions" : "",
550       "requires" : "",
551       "params" : [
552         {
553           "name" : "o",
554           "type" : "Observable",
555           "desc" : "The Observable to release",
556           "isOptional" : false
557         }
558       ],
559       "returns" : []
560     },
561     {
562       "name" : "removeListener",
563       "type" : "function",
564       "desc" : "Removes a listener",
565       "sig" : "(eventName, handler, scope)",
566       "static" : false,
567       "memberOf" : "Roo.util.Observable",
568       "isStatic" : false,
569       "isConstructor" : false,
570       "isPrivate" : false,
571       "example" : "",
572       "deprecated" : "",
573       "since" : "",
574       "see" : "",
575       "exceptions" : "",
576       "requires" : "",
577       "params" : [
578         {
579           "name" : "eventName",
580           "type" : "String",
581           "desc" : "The type of event to listen for",
582           "isOptional" : false
583         },
584         {
585           "name" : "handler",
586           "type" : "Function",
587           "desc" : "The handler to remove",
588           "isOptional" : false
589         },
590         {
591           "name" : "scope",
592           "type" : "Object",
593           "desc" : "(optional) The scope (this object) for the handler",
594           "isOptional" : false
595         }
596       ],
597       "returns" : []
598     },
599     {
600       "name" : "fireEvent",
601       "type" : "function",
602       "desc" : "Fires the specified event with the passed parameters (minus the event name).",
603       "sig" : "(eventName, args)",
604       "static" : false,
605       "memberOf" : "Roo.util.Observable",
606       "isStatic" : false,
607       "isConstructor" : false,
608       "isPrivate" : false,
609       "example" : "",
610       "deprecated" : "",
611       "since" : "",
612       "see" : "",
613       "exceptions" : "",
614       "requires" : "",
615       "params" : [
616         {
617           "name" : "eventName",
618           "type" : "String",
619           "desc" : "",
620           "isOptional" : false
621         },
622         {
623           "name" : "args",
624           "type" : "Object...",
625           "desc" : "Variable number of parameters are passed to handlers",
626           "isOptional" : false
627         }
628       ],
629       "returns" : [
630         {
631           "name" : "",
632           "type" : "Boolean",
633           "desc" : "returns false if any of the handlers return false otherwise it returns true"
634         }
635       ]
636     },
637     {
638       "name" : "hasListener",
639       "type" : "function",
640       "desc" : "Checks to see if this object has any listeners for a specified event",
641       "sig" : "(eventName)",
642       "static" : false,
643       "memberOf" : "Roo.util.Observable",
644       "isStatic" : false,
645       "isConstructor" : false,
646       "isPrivate" : false,
647       "example" : "",
648       "deprecated" : "",
649       "since" : "",
650       "see" : "",
651       "exceptions" : "",
652       "requires" : "",
653       "params" : [
654         {
655           "name" : "eventName",
656           "type" : "String",
657           "desc" : "The name of the event to check for",
658           "isOptional" : false
659         }
660       ],
661       "returns" : [
662         {
663           "name" : "",
664           "type" : "Boolean",
665           "desc" : "True if the event is being listened for, else false"
666         }
667       ]
668     },
669     {
670       "name" : "capture",
671       "type" : "function",
672       "desc" : "Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + standard signature of the event\n<b>before</b> the event is fired. If the supplied function returns false,\nthe event will not fire.",
673       "sig" : "(o, fn, scope)",
674       "static" : true,
675       "memberOf" : "Roo.util.Observable",
676       "isStatic" : true,
677       "isConstructor" : false,
678       "isPrivate" : false,
679       "example" : "",
680       "deprecated" : "",
681       "since" : "",
682       "see" : "",
683       "exceptions" : "",
684       "requires" : "",
685       "params" : [
686         {
687           "name" : "o",
688           "type" : "Observable",
689           "desc" : "The Observable to capture",
690           "isOptional" : false
691         },
692         {
693           "name" : "fn",
694           "type" : "Function",
695           "desc" : "The function to call",
696           "isOptional" : false
697         },
698         {
699           "name" : "scope",
700           "type" : "Object",
701           "desc" : "(optional) The scope (this object) for the fn",
702           "isOptional" : false
703         }
704       ],
705       "returns" : []
706     },
707     {
708       "name" : "addListener",
709       "type" : "function",
710       "desc" : "Appends an event handler to this component",
711       "sig" : "(eventName, handler, scope, options)",
712       "static" : false,
713       "memberOf" : "Roo.util.Observable",
714       "isStatic" : false,
715       "isConstructor" : false,
716       "isPrivate" : false,
717       "example" : "",
718       "deprecated" : "",
719       "since" : "",
720       "see" : "",
721       "exceptions" : "",
722       "requires" : "",
723       "params" : [
724         {
725           "name" : "eventName",
726           "type" : "String",
727           "desc" : "The type of event to listen for",
728           "isOptional" : false
729         },
730         {
731           "name" : "handler",
732           "type" : "Function",
733           "desc" : "The method the event invokes",
734           "isOptional" : false
735         },
736         {
737           "name" : "scope",
738           "type" : "Object",
739           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
740           "isOptional" : false
741         },
742         {
743           "name" : "options",
744           "type" : "Object",
745           "desc" : "(optional) An object containing handler configuration\nproperties. This may contain any of the following properties:<ul>\n<li>scope {Object} The scope in which to execute the handler function. The handler function's \"this\" context.</li>\n<li>delay {Number} The number of milliseconds to delay the invocation of the handler after te event fires.</li>\n<li>single {Boolean} True to add a handler to handle just the next firing of the event, and then remove itself.</li>\n<li>buffer {Number} Causes the handler to be scheduled to run in an {@link Roo.util.DelayedTask} delayed\nby the specified number of milliseconds. If the event fires again within that time, the original\nhandler is <em>not</em> invoked, but the new handler is scheduled in its place.</li>\n</ul><br>\n<p>\n<b>Combining Options</b><br>\nUsing the options argument, it is possible to combine different types of listeners:<br>\n<br>\nA normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)\n\t\t<pre><code>\n\t\tel.on('click', this.onClick, this, {\n \t\t\tsingle: true,\n    \t\tdelay: 100,\n    \t\tforumId: 4\n\t\t});\n\t\t</code></pre>\n<p>\n<b>Attaching multiple handlers in 1 call</b><br>\nThe method also allows for a single argument to be passed which is a config object containing properties\nwhich specify multiple handlers.\n<pre><code>\n\t\tel.on({\n\t\t\t'click': {\n        \t\tfn: this.onClick,\n        \t\tscope: this,\n        \t\tdelay: 100\n    \t\t}, \n    \t\t'mouseover': {\n        \t\tfn: this.onMouseOver,\n        \t\tscope: this\n    \t\t},\n    \t\t'mouseout': {\n        \t\tfn: this.onMouseOut,\n        \t\tscope: this\n    \t\t}\n\t\t});\n\t\t</code></pre>\n<p>\nOr a shorthand syntax which passes the same scope object to all handlers:\n     \t<pre><code>\n\t\tel.on({\n\t\t\t'click': this.onClick,\n    \t\t'mouseover': this.onMouseOver,\n    \t\t'mouseout': this.onMouseOut,\n    \t\tscope: this\n\t\t});\n\t\t</code></pre>",
746           "isOptional" : false
747         }
748       ],
749       "returns" : []
750     }
751   ],
752   "events" : [
753     {
754       "name" : "update",
755       "type" : "function",
756       "desc" : "Fired after successful update is made.",
757       "sig" : "function (el, oResponseObject)\n{\n\n}",
758       "memberOf" : "",
759       "example" : "",
760       "deprecated" : "",
761       "since" : "",
762       "see" : "",
763       "params" : [
764         {
765           "name" : "el",
766           "type" : "Roo.Element",
767           "desc" : "",
768           "isOptional" : false
769         },
770         {
771           "name" : "oResponseObject",
772           "type" : "Object",
773           "desc" : "The response Object",
774           "isOptional" : false
775         }
776       ],
777       "returns" : []
778     },
779     {
780       "name" : "beforeupdate",
781       "type" : "function",
782       "desc" : "Fired before an update is made, return false from your handler and the update is cancelled.",
783       "sig" : "function (el, url, params)\n{\n\n}",
784       "memberOf" : "",
785       "example" : "",
786       "deprecated" : "",
787       "since" : "",
788       "see" : "",
789       "params" : [
790         {
791           "name" : "el",
792           "type" : "Roo.Element",
793           "desc" : "",
794           "isOptional" : false
795         },
796         {
797           "name" : "url",
798           "type" : "String/Object/Function",
799           "desc" : "",
800           "isOptional" : false
801         },
802         {
803           "name" : "params",
804           "type" : "String/Object",
805           "desc" : "",
806           "isOptional" : false
807         }
808       ],
809       "returns" : []
810     },
811     {
812       "name" : "failure",
813       "type" : "function",
814       "desc" : "Fired on update failure.",
815       "sig" : "function (el, oResponseObject)\n{\n\n}",
816       "memberOf" : "",
817       "example" : "",
818       "deprecated" : "",
819       "since" : "",
820       "see" : "",
821       "params" : [
822         {
823           "name" : "el",
824           "type" : "Roo.Element",
825           "desc" : "",
826           "isOptional" : false
827         },
828         {
829           "name" : "oResponseObject",
830           "type" : "Object",
831           "desc" : "The response Object",
832           "isOptional" : false
833         }
834       ],
835       "returns" : []
836     }
837   ]
838 }