5215b7218d1fd239e91c6f31a9eda53467d924e1
[roojs1] / docs / symbols / Roo.Ajax.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
3
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
6         <head>
7                 <meta http-equiv="content-type" content="text/html; charset=undefined" />
8                 <meta name="generator" content="JsDoc Toolkit" />
9                 
10                 
11                 <title>JsDoc Reference - Roo.Ajax</title>
12                 
13                 
14         <link rel="stylesheet" type="text/css" href="../../css/roojs.css" />            
15         <link rel="stylesheet" type="text/css" href="../default.css" />
16         
17         
18         <script type="text/javascript" src="../page.js">
19         
20         </script>
21          
22                 
23         </head>
24
25         <body onload="RooDocsPage.onload();">
26          
27         
28 <div class="body-wrap">
29
30     <!-- ============================== links to methods. ================================= --> 
31
32     <div class="top-tools">
33     <!--
34         <a class="inner-link" href="#Roo.Ajax-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35         <a class="inner-link" href="#Roo.Ajax-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36         <a class="inner-link" href="#Roo.Ajax-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37         <a class="inner-link" href="#Roo.Ajax-configs"><img src="resources/s.gif" class="item-icon icon-config">Config Options</a>
38         <a class="bookmark" href="NEED_TO_CREATE_DIRECT_LINK_HREF"><img src="resources/s.gif" class="item-icon icon-fav">Direct Link</a>
39         -->
40     </div>
41
42     
43 <!-- ============================== inheritance Block. ================================= -->    
44         
45                 <div class="inheritance res-block">
46                    <pre class="res-block-inner"><a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
47 <img src="../../images/default/s.gif" height="1" width="20"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.data.Connection.html#constructor" roo:cls="Roo.data.Connection.html#constructor">Roo.data.Connection</a>
48 <img src="../../images/default/s.gif" height="1"  width="40"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.Ajax 
49
50                    </pre>
51                 </div>
52        
53 <!-- ============================== class title / details ============================ -->
54     
55     
56     <h1 class="classTitle">
57                                 
58                                 Namespace Roo.Ajax
59                         </h1>
60                         
61     <table cellspacing="0" class="class-summary-table">
62         
63                 <tr><td class="label">Package:</td><td class="hd-info">Roo</td></tr>
64         
65         <tr><td class="label">Defined In:</td><td class="hd-info">
66                         
67                                         <a href="./src/Roo_Ajax.js.html">Roo/Ajax.js</a>.
68                         
69         </td></tr>
70         <tr><td class="label">Class:</td><td class="hd-info">Ajax</td></tr>
71         
72         
73         
74         
75                 <tr><td class="label">Extends:</td><td class="hd-info">
76                         <a href="./Roo.data.Connection.html#constructor" roo:cls="Roo.data.Connection.html#constructor">Roo.data.Connection</a>
77         
78                 </td></tr>    
79         
80         
81     </table>
82
83     
84 <!-- ============================== class summary ========================== -->                        
85     <div class="description">
86         Global Ajax request class.
87     </div>
88
89         
90 <!-- ============================== Class comment block... ========================== -->                                       
91
92 <div class="comments">
93         <b>Class Comments / Notes</B> =>  
94         <u onclick="parent.CommentDialog.showCommentId = 'Roo.Ajax';">[Add Your comment/notes about this class]</u>
95         <br/>
96         <iframe frameborder="0"  id="comments-Roo" style="border: none;width:100%;" 
97                 src="/blog.php/GtkDjsComments/Roo.Ajax.html"></iframe>
98 </div>
99         
100
101                 
102 <!-- ============================== config options ========================== -->                                               
103                  
104     
105     
106                 
107     <div class="hr"></div>
108     <a id="Roo.Ajax-configs"></a>
109                 
110     
111      
112     
113         
114       <table cellspacing="0" class="member-table">   
115       <caption>Config Options (Usually are also Properties)</caption>
116     
117         
118         <tr>
119             <th class="sig-header" colspan="2">Options</th>
120             
121             <th class="msource-header">Defined By</th>
122         </tr>
123         
124         
125         
126         
127         
128                 <tr class="config-row expandable config-row-alt0 notInherited">
129                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
130                     <td class="sig">
131
132                         <a id="Roo.Ajax-cfg-autoAbort" name=".autoAbort"></a>
133                         <div class="fixedFont">
134                                 <b  class="itemname">autoAbort</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
135                                 
136                                 
137                         </div>
138                   
139                         <div class="mdesc">
140                             <div class="short">(Optional) Whether a new request should abort any pending requests.</div> 
141                         </div>
142                         
143                         <div class="mdesc">
144                             <div class="long">(Optional) Whether a new request should abort any pending requests. (defaults to false)</div> 
145                         </div>
146                         
147                         
148
149                     </td>
150                     <td class="msource">
151                         
152                         Roo.Ajax
153                                 
154                     </td>
155                 </tr>
156         
157         
158                 <tr class="config-row expandable config-row-alt1 notInherited">
159                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
160                     <td class="sig">
161
162                         <a id="Roo.Ajax-cfg-defaultHeaders" name=".defaultHeaders"></a>
163                         <div class="fixedFont">
164                                 <b  class="itemname">defaultHeaders</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
165                                 
166                                 
167                         </div>
168                   
169                         <div class="mdesc">
170                             <div class="short">An object containing request headers which are added to each request made by this object.</div> 
171                         </div>
172                         
173                         <div class="mdesc">
174                             <div class="long">An object containing request headers which are added to each request made by this object. (defaults to undefined)</div> 
175                         </div>
176                         
177                         
178
179                     </td>
180                     <td class="msource">
181                         
182                         Roo.Ajax
183                                 
184                     </td>
185                 </tr>
186         
187         
188                 <tr class="config-row expandable config-row-alt0 notInherited">
189                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
190                     <td class="sig">
191
192                         <a id="Roo.Ajax-cfg-disableCaching" name=".disableCaching"></a>
193                         <div class="fixedFont">
194                                 <b  class="itemname">disableCaching</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
195                                 
196                                 
197                         </div>
198                   
199                         <div class="mdesc">
200                             <div class="short">(Optional)   True to add a unique cache-buster param to GET requests.</div> 
201                         </div>
202                         
203                         <div class="mdesc">
204                             <div class="long">(Optional)   True to add a unique cache-buster param to GET requests. (defaults to true)</div> 
205                         </div>
206                         
207                         
208
209                     </td>
210                     <td class="msource">
211                         
212                         Roo.Ajax
213                                 
214                     </td>
215                 </tr>
216         
217         
218                 <tr class="config-row expandable config-row-alt1 notInherited">
219                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
220                     <td class="sig">
221
222                         <a id="Roo.Ajax-cfg-extraParams" name=".extraParams"></a>
223                         <div class="fixedFont">
224                                 <b  class="itemname">extraParams</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
225                                 
226                                 
227                         </div>
228                   
229                         <div class="mdesc">
230                             <div class="short">An object containing properties which are used as extra parameters to each request made by this object.</div> 
231                         </div>
232                         
233                         <div class="mdesc">
234                             <div class="long">An object containing properties which are used as extra parameters to each request made by this object. (defaults to undefined)</div> 
235                         </div>
236                         
237                         
238
239                     </td>
240                     <td class="msource">
241                         
242                         Roo.Ajax
243                                 
244                     </td>
245                 </tr>
246         
247         
248                 <tr class="config-row expandable config-row-alt0">
249                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
250                     <td class="sig">
251
252                         <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
253                         <div class="fixedFont">
254                                 <b  class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
255                                 
256                                 
257                         </div>
258                   
259                         <div class="mdesc">
260                             <div class="short">list of events and functions to call for this object, <br/>For example :<br/><pre><code><br/>    listeners :  { <br/>       'click' : function(e) {<br/>           .</div> 
261                         </div>
262                         
263                         <div class="mdesc">
264                             <div class="long">list of events and functions to call for this object, <br/>For example :<br/><pre><code><br/>    listeners :  { <br/>       'click' : function(e) {<br/>           ..... <br/>        } ,<br/>        .... <br/>    } <br/>  </code></pre></div> 
265                         </div>
266                         
267                         
268
269                     </td>
270                     <td class="msource">
271                         
272                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
273                                 
274                     </td>
275                 </tr>
276         
277         
278                 <tr class="config-row expandable config-row-alt1 notInherited">
279                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
280                     <td class="sig">
281
282                         <a id="Roo.Ajax-cfg-method" name=".method"></a>
283                         <div class="fixedFont">
284                                 <b  class="itemname">method</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
285                                 
286                                 
287                         </div>
288                   
289                         <div class="mdesc">
290                             <div class="short">(Optional)  The default HTTP method to be used for requests.</div> 
291                         </div>
292                         
293                         <div class="mdesc">
294                             <div class="long">(Optional)  The default HTTP method to be used for requests. (defaults to undefined; if not set but parms are present will use POST, otherwise GET)</div> 
295                         </div>
296                         
297                         
298
299                     </td>
300                     <td class="msource">
301                         
302                         Roo.Ajax
303                                 
304                     </td>
305                 </tr>
306         
307         
308                 <tr class="config-row expandable config-row-alt0 notInherited">
309                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
310                     <td class="sig">
311
312                         <a id="Roo.Ajax-cfg-timeout" name=".timeout"></a>
313                         <div class="fixedFont">
314                                 <b  class="itemname">timeout</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
315                                 
316                                 
317                         </div>
318                   
319                         <div class="mdesc">
320                             <div class="short">(Optional) The timeout in milliseconds to be used for requests.</div> 
321                         </div>
322                         
323                         <div class="mdesc">
324                             <div class="long">(Optional) The timeout in milliseconds to be used for requests. (defaults to 30000)</div> 
325                         </div>
326                         
327                         
328
329                     </td>
330                     <td class="msource">
331                         
332                         Roo.Ajax
333                                 
334                     </td>
335                 </tr>
336         
337         
338                 <tr class="config-row expandable config-row-alt1 notInherited">
339                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
340                     <td class="sig">
341
342                         <a id="Roo.Ajax-cfg-url" name=".url"></a>
343                         <div class="fixedFont">
344                                 <b  class="itemname">url</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
345                                 
346                                 
347                         </div>
348                   
349                         <div class="mdesc">
350                             <div class="short">The default URL to be used for requests to the server.</div> 
351                         </div>
352                         
353                         <div class="mdesc">
354                             <div class="long">The default URL to be used for requests to the server. (defaults to undefined)</div> 
355                         </div>
356                         
357                         
358
359                     </td>
360                     <td class="msource">
361                         
362                         Roo.Ajax
363                                 
364                     </td>
365                 </tr>
366         
367         
368     </table>
369                 
370   
371   
372   
373   
374   
375   
376   
377   
378   <!-- ============================== public properties ==================== -->        
379   
380   
381   
382     <a id="Roo.Ajax-props"></a>      
383     
384     
385
386     
387     
388      <table cellspacing="0" class="member-table">
389       <caption class="Empty">Public Properties - Has None</caption>
390      </table>
391     
392     
393      
394     
395   <!-- ============================== methods summary / details ======================== -->
396   
397   
398   <a id="Roo.Ajax-methods"></a>
399         <!-- constructor?? -->
400         
401         <!-- static's first 
402         
403         
404         -->
405         
406         <!-- then dynamics first -->
407         
408   
409   
410     
411     
412     
413       <table cellspacing="0" class="member-table">
414       <caption>Public Methods</caption>
415         <tr>
416             <th class="sig-header" colspan="2">Method</th>            
417             <th class="msource-header">Defined By</th>
418
419         </tr>
420         
421         
422         
423          
424         
425         
426           
427           <tr class="method-row config-row-alt0 expandable">
428             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
429            
430            
431             <td class="sig">
432                 <a id="Roo.data.Connection-method-abort"   name=".abort"></a>
433                 <div class="fixedFont">
434                         <span class="attributes"></span><b class="itemname">abort</b>
435                                 
436                                  (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>transactionId</i></B>) 
437                         
438                                 
439                         
440                 </div>
441                 <div class="mdesc">
442                 
443                    <div class="short">Aborts any outstanding request.</div> 
444                  
445                  
446                  
447                     <div class="long">
448                         
449                                 Aborts any outstanding request.
450                     
451                                 
452                         
453                         
454                         
455                         
456                                 <dl class="detailList">
457                                 <dt class="heading">Parameters:</dt>
458                                 
459                                         <dt>
460                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  <b>transactionId</b>
461                                                 
462                                         </dt>
463                                         <dd>(Optional) defaults to the last transaction</dd>
464                                 
465                                 </dl>
466                         
467                         
468                         
469                         
470                         
471                         
472                         
473
474                     
475                     
476                      
477                     </div>                    
478                 </div>
479
480             </td>
481             <td class="msource">
482                 
483                         <a href="./Roo.data.Connection.html#constructor" roo:cls="Roo.data.Connection.html#constructor">Roo.data.Connection</a>
484                 &nbsp;
485             </td>
486         </tr>
487         
488           
489           <tr class="method-row config-row-alt1 expandable">
490             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
491            
492            
493             <td class="sig">
494                 <a id="Roo.util.Observable-method-addEvents"   name=".addEvents"></a>
495                 <div class="fixedFont">
496                         <span class="attributes"></span><b class="itemname">addEvents</b>
497                                 
498                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>) 
499                         
500                                 
501                         
502                 </div>
503                 <div class="mdesc">
504                 
505                    <div class="short">Used to define events on this Observable</div> 
506                  
507                  
508                  
509                     <div class="long">
510                         
511                                 Used to define events on this Observable
512                     
513                                 
514                         
515                         
516                         
517                         
518                                 <dl class="detailList">
519                                 <dt class="heading">Parameters:</dt>
520                                 
521                                         <dt>
522                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>object</b>
523                                                 
524                                         </dt>
525                                         <dd>The object with the events defined</dd>
526                                 
527                                 </dl>
528                         
529                         
530                         
531                         
532                         
533                         
534                         
535
536                     
537                     
538                      
539                     </div>                    
540                 </div>
541
542             </td>
543             <td class="msource">
544                 
545                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
546                 &nbsp;
547             </td>
548         </tr>
549         
550           
551           <tr class="method-row config-row-alt0 expandable">
552             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
553            
554            
555             <td class="sig">
556                 <a id="Roo.util.Observable-method-addListener"   name=".addListener"></a>
557                 <div class="fixedFont">
558                         <span class="attributes"></span><b class="itemname">addListener</b>
559                                 
560                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>) 
561                         
562                                 
563                         
564                 </div>
565                 <div class="mdesc">
566                 
567                    <div class="short">Appends an event handler to this component</div> 
568                  
569                  
570                  
571                     <div class="long">
572                         
573                                 Appends an event handler to this component
574                     
575                                 
576                         
577                         
578                         
579                         
580                                 <dl class="detailList">
581                                 <dt class="heading">Parameters:</dt>
582                                 
583                                         <dt>
584                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
585                                                 
586                                         </dt>
587                                         <dd>The type of event to listen for</dd>
588                                 
589                                         <dt>
590                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
591                                                 
592                                         </dt>
593                                         <dd>The method the event invokes</dd>
594                                 
595                                         <dt>
596                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>scope</b>
597                                                 
598                                         </dt>
599                                         <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
600                                 
601                                         <dt>
602                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>options</b>
603                                                 
604                                         </dt>
605                                         <dd>(optional) An object containing handler configuration<br/>properties. This may contain any of the following properties:<ul><br/><li>scope {Object} The scope in which to execute the handler function. The handler function's "this" context.</li><br/><li>delay {Number} The number of milliseconds to delay the invocation of the handler after te event fires.</li><br/><li>single {Boolean} True to add a handler to handle just the next firing of the event, and then remove itself.</li><br/><li>buffer {Number} Causes the handler to be scheduled to run in an {<b>link</b> Roo.util.DelayedTask} delayed<br/>by the specified number of milliseconds. If the event fires again within that time, the original<br/>handler is <em>not</em> invoked, but the new handler is scheduled in its place.</li><br/></ul><br><br/><p><br/><b>Combining Options</b><br><br/>Using the options argument, it is possible to combine different types of listeners:<br><br/><br><br/>A normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)<br/>             <pre><code><br/>                el.on('click', this.onClick, this, {<br/>                       single: true,<br/>              delay: 100,<br/>                forumId: 4<br/>         });<br/>                </code></pre><br/><p><br/><b>Attaching multiple handlers in 1 call</b><br><br/>The method also allows for a single argument to be passed which is a config object containing properties<br/>which specify multiple handlers.<br/><pre><code><br/>               el.on({<br/>                    'click': {<br/>                 fn: this.onClick,<br/>                  scope: this,<br/>                       delay: 100<br/>                 }, <br/>                'mouseover': {<br/>                     fn: this.onMouseOver,<br/>                      scope: this<br/>                },<br/>                 'mouseout': {<br/>                      fn: this.onMouseOut,<br/>                       scope: this<br/>                }<br/>          });<br/>                </code></pre><br/><p><br/>Or a shorthand syntax which passes the same scope object to all handlers:<br/>        <pre><code><br/>                el.on({<br/>                    'click': this.onClick,<br/>             'mouseover': this.onMouseOver,<br/>             'mouseout': this.onMouseOut,<br/>               scope: this<br/>                });<br/>                </code></pre></dd>
606                                 
607                                 </dl>
608                         
609                         
610                         
611                         
612                         
613                         
614                         
615
616                     
617                     
618                      
619                     </div>                    
620                 </div>
621
622             </td>
623             <td class="msource">
624                 
625                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
626                 &nbsp;
627             </td>
628         </tr>
629         
630           
631           <tr class="method-row config-row-alt1 expandable">
632             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
633            
634            
635             <td class="sig">
636                 <a id="Roo.util.Observable-method-fireEvent"   name=".fireEvent"></a>
637                 <div class="fixedFont">
638                         <span class="attributes"></span><b class="itemname">fireEvent</b>
639                                 
640                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object...</a> <B><i>args</i></B>) 
641                         
642                                 
643                                          : 
644                                         
645                                                 
646                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
647                                         
648                                         
649                                         
650                                 
651                         
652                 </div>
653                 <div class="mdesc">
654                 
655                    <div class="short">Fires the specified event with the passed parameters (minus the event name).</div> 
656                  
657                  
658                  
659                     <div class="long">
660                         
661                                 Fires the specified event with the passed parameters (minus the event name).
662                     
663                                 
664                         
665                         
666                         
667                         
668                                 <dl class="detailList">
669                                 <dt class="heading">Parameters:</dt>
670                                 
671                                         <dt>
672                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
673                                                 
674                                         </dt>
675                                         <dd></dd>
676                                 
677                                         <dt>
678                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object...</a></span>  <b>args</b>
679                                                 
680                                         </dt>
681                                         <dd>Variable number of parameters are passed to handlers</dd>
682                                 
683                                 </dl>
684                         
685                         
686                         
687                         
688                         
689                                 <dl class="detailList">
690                                 <dt class="heading">Returns:</dt>
691                                 
692                                         <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  returns false if any of the handlers return false otherwise it returns true</dd>
693                                 
694                                 </dl>
695                         
696                         
697                         
698
699                     
700                     
701                      
702                     </div>                    
703                 </div>
704
705             </td>
706             <td class="msource">
707                 
708                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
709                 &nbsp;
710             </td>
711         </tr>
712         
713           
714           <tr class="method-row config-row-alt0 expandable">
715             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
716            
717            
718             <td class="sig">
719                 <a id="Roo.util.Observable-method-hasListener"   name=".hasListener"></a>
720                 <div class="fixedFont">
721                         <span class="attributes"></span><b class="itemname">hasListener</b>
722                                 
723                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>) 
724                         
725                                 
726                                          : 
727                                         
728                                                 
729                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
730                                         
731                                         
732                                         
733                                 
734                         
735                 </div>
736                 <div class="mdesc">
737                 
738                    <div class="short">Checks to see if this object has any listeners for a specified event</div> 
739                  
740                  
741                  
742                     <div class="long">
743                         
744                                 Checks to see if this object has any listeners for a specified event
745                     
746                                 
747                         
748                         
749                         
750                         
751                                 <dl class="detailList">
752                                 <dt class="heading">Parameters:</dt>
753                                 
754                                         <dt>
755                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
756                                                 
757                                         </dt>
758                                         <dd>The name of the event to check for</dd>
759                                 
760                                 </dl>
761                         
762                         
763                         
764                         
765                         
766                                 <dl class="detailList">
767                                 <dt class="heading">Returns:</dt>
768                                 
769                                         <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  True if the event is being listened for, else false</dd>
770                                 
771                                 </dl>
772                         
773                         
774                         
775
776                     
777                     
778                      
779                     </div>                    
780                 </div>
781
782             </td>
783             <td class="msource">
784                 
785                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
786                 &nbsp;
787             </td>
788         </tr>
789         
790           
791           <tr class="method-row config-row-alt1 expandable">
792             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
793            
794            
795             <td class="sig">
796                 <a id="Roo.data.Connection-method-isLoading"   name=".isLoading"></a>
797                 <div class="fixedFont">
798                         <span class="attributes"></span><b class="itemname">isLoading</b>
799                                 
800                                  (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>transactionId</i></B>) 
801                         
802                                 
803                                          : 
804                                         
805                                                 
806                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
807                                         
808                                         
809                                         
810                                 
811                         
812                 </div>
813                 <div class="mdesc">
814                 
815                    <div class="short">Determine whether this object has a request outstanding.</div> 
816                  
817                  
818                  
819                     <div class="long">
820                         
821                                 Determine whether this object has a request outstanding.
822                     
823                                 
824                         
825                         
826                         
827                         
828                                 <dl class="detailList">
829                                 <dt class="heading">Parameters:</dt>
830                                 
831                                         <dt>
832                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  <b>transactionId</b>
833                                                 
834                                         </dt>
835                                         <dd>(Optional) defaults to the last transaction</dd>
836                                 
837                                 </dl>
838                         
839                         
840                         
841                         
842                         
843                                 <dl class="detailList">
844                                 <dt class="heading">Returns:</dt>
845                                 
846                                         <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  True if there is an outstanding request.</dd>
847                                 
848                                 </dl>
849                         
850                         
851                         
852
853                     
854                     
855                      
856                     </div>                    
857                 </div>
858
859             </td>
860             <td class="msource">
861                 
862                         <a href="./Roo.data.Connection.html#constructor" roo:cls="Roo.data.Connection.html#constructor">Roo.data.Connection</a>
863                 &nbsp;
864             </td>
865         </tr>
866         
867           
868           <tr class="method-row config-row-alt0 expandable">
869             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
870            
871            
872             <td class="sig">
873                 <a id="Roo.util.Observable-method-on"   name=".on"></a>
874                 <div class="fixedFont">
875                         <span class="attributes"></span><b class="itemname">on</b>
876                                 
877                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>) 
878                         
879                                 
880                         
881                 </div>
882                 <div class="mdesc">
883                 
884                    <div class="short">Appends an event handler to this element (shorthand for addListener)</div> 
885                  
886                  
887                  
888                     <div class="long">
889                         
890                                 Appends an event handler to this element (shorthand for addListener)
891                     
892                                 
893                         
894                         
895                         
896                         
897                                 <dl class="detailList">
898                                 <dt class="heading">Parameters:</dt>
899                                 
900                                         <dt>
901                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
902                                                 
903                                         </dt>
904                                         <dd>The type of event to listen for</dd>
905                                 
906                                         <dt>
907                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
908                                                 
909                                         </dt>
910                                         <dd>The method the event invokes</dd>
911                                 
912                                         <dt>
913                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>scope</b>
914                                                 
915                                         </dt>
916                                         <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
917                                 
918                                         <dt>
919                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>options</b>
920                                                 
921                                         </dt>
922                                         <dd>(optional)</dd>
923                                 
924                                 </dl>
925                         
926                         
927                         
928                         
929                         
930                         
931                         
932
933                     
934                     
935                      
936                     </div>                    
937                 </div>
938
939             </td>
940             <td class="msource">
941                 
942                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
943                 &nbsp;
944             </td>
945         </tr>
946         
947           
948           <tr class="method-row config-row-alt1 expandable">
949             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
950            
951            
952             <td class="sig">
953                 <a id="Roo.util.Observable-method-purgeListeners"   name=".purgeListeners"></a>
954                 <div class="fixedFont">
955                         <span class="attributes"></span><b class="itemname">purgeListeners</b>
956                                 
957                                  () 
958                         
959                                 
960                         
961                 </div>
962                 <div class="mdesc">
963                 
964                    <div class="short">Removes all listeners for this object</div> 
965                  
966                  
967                  
968                     <div class="long">
969                         
970                                 Removes all listeners for this object
971                     
972                                 
973                         
974                         
975                         
976                         
977                         
978                         
979                         
980                         
981                         
982                         
983
984                     
985                     
986                      
987                     </div>                    
988                 </div>
989
990             </td>
991             <td class="msource">
992                 
993                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
994                 &nbsp;
995             </td>
996         </tr>
997         
998           
999           <tr class="method-row config-row-alt0 expandable">
1000             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1001            
1002            
1003             <td class="sig">
1004                 <a id="Roo.util.Observable-method-removeListener"   name=".removeListener"></a>
1005                 <div class="fixedFont">
1006                         <span class="attributes"></span><b class="itemname">removeListener</b>
1007                                 
1008                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>) 
1009                         
1010                                 
1011                         
1012                 </div>
1013                 <div class="mdesc">
1014                 
1015                    <div class="short">Removes a listener</div> 
1016                  
1017                  
1018                  
1019                     <div class="long">
1020                         
1021                                 Removes a listener
1022                     
1023                                 
1024                         
1025                         
1026                         
1027                         
1028                                 <dl class="detailList">
1029                                 <dt class="heading">Parameters:</dt>
1030                                 
1031                                         <dt>
1032                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
1033                                                 
1034                                         </dt>
1035                                         <dd>The type of event to listen for</dd>
1036                                 
1037                                         <dt>
1038                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
1039                                                 
1040                                         </dt>
1041                                         <dd>The handler to remove</dd>
1042                                 
1043                                         <dt>
1044                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>scope</b>
1045                                                 
1046                                         </dt>
1047                                         <dd>(optional) The scope (this object) for the handler</dd>
1048                                 
1049                                 </dl>
1050                         
1051                         
1052                         
1053                         
1054                         
1055                         
1056                         
1057
1058                     
1059                     
1060                      
1061                     </div>                    
1062                 </div>
1063
1064             </td>
1065             <td class="msource">
1066                 
1067                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1068                 &nbsp;
1069             </td>
1070         </tr>
1071         
1072           
1073           <tr class="method-row config-row-alt1 expandable">
1074             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1075            
1076            
1077             <td class="sig">
1078                 <a id="Roo.data.Connection-method-request"   name=".request"></a>
1079                 <div class="fixedFont">
1080                         <span class="attributes"></span><b class="itemname">request</b>
1081                                 
1082                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>) 
1083                         
1084                                 
1085                                          : 
1086                                         
1087                                                 
1088                                                 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1089                                         
1090                                         
1091                                         
1092                                 
1093                         
1094                 </div>
1095                 <div class="mdesc">
1096                 
1097                    <div class="short">Sends an HTTP request to a remote server.</div> 
1098                  
1099                  
1100                  
1101                     <div class="long">
1102                         
1103                                 Sends an HTTP request to a remote server.
1104                     
1105                                 
1106                         
1107                         
1108                         
1109                         
1110                                 <dl class="detailList">
1111                                 <dt class="heading">Parameters:</dt>
1112                                 
1113                                         <dt>
1114                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>options</b>
1115                                                 
1116                                         </dt>
1117                                         <dd>An object which may contain the following properties:<ul><br/><li><b>url</b> {String} (Optional) The URL to which to send the request. Defaults to configured URL</li><br/><li><b>params</b> {Object/String/Function} (Optional) An object containing properties which are used as parameters to the<br/>request, a url encoded string or a function to call to get either.</li><br/><li><b>method</b> {String} (Optional) The HTTP method to use for the request. Defaults to the configured method, or<br/>if no method was configured, "GET" if no parameters are being sent, and "POST" if parameters are being sent.</li><br/><li><b>callback</b> {Function} (Optional) The function to be called upon receipt of the HTTP response.<br/>The callback is called regardless of success or failure and is passed the following parameters:<ul><br/><li>options {Object} The parameter to the request call.</li><br/><li>success {Boolean} True if the request succeeded.</li><br/><li>response {Object} The XMLHttpRequest object containing the response data.</li><br/></ul></li><br/><li><b>success</b> {Function} (Optional) The function to be called upon success of the request.<br/>The callback is passed the following parameters:<ul><br/><li>response {Object} The XMLHttpRequest object containing the response data.</li><br/><li>options {Object} The parameter to the request call.</li><br/></ul></li><br/><li><b>failure</b> {Function} (Optional) The function to be called upon failure of the request.<br/>The callback is passed the following parameters:<ul><br/><li>response {Object} The XMLHttpRequest object containing the response data.</li><br/><li>options {Object} The parameter to the request call.</li><br/></ul></li><br/><li><b>scope</b> {Object} (Optional) The scope in which to execute the callbacks: The "this" object<br/>for the callback function. Defaults to the browser window.</li><br/><li><b>form</b> {Object/String} (Optional) A form object or id to pull parameters from.</li><br/><li><b>isUpload</b> {Boolean} (Optional) True if the form object is a file upload (will usually be automatically detected).</li><br/><li><b>headers</b> {Object} (Optional) Request headers to set for the request.</li><br/><li><b>xmlData</b> {Object} (Optional) XML document to use for the post. Note: This will be used instead of<br/>params for the post data. Any params will be appended to the URL.</li><br/><li><b>disableCaching</b> {Boolean} (Optional) True to add a unique cache-buster param to GET requests.</li><br/></ul></dd>
1118                                 
1119                                 </dl>
1120                         
1121                         
1122                         
1123                         
1124                         
1125                                 <dl class="detailList">
1126                                 <dt class="heading">Returns:</dt>
1127                                 
1128                                         <dd><span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  transactionId</dd>
1129                                 
1130                                 </dl>
1131                         
1132                         
1133                         
1134
1135                     
1136                     
1137                      
1138                     </div>                    
1139                 </div>
1140
1141             </td>
1142             <td class="msource">
1143                 
1144                         <a href="./Roo.data.Connection.html#constructor" roo:cls="Roo.data.Connection.html#constructor">Roo.data.Connection</a>
1145                 &nbsp;
1146             </td>
1147         </tr>
1148         
1149           
1150           <tr class="method-row config-row-alt0 expandable">
1151             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1152            
1153            
1154             <td class="sig">
1155                 <a id="Roo.util.Observable-method-un"   name=".un"></a>
1156                 <div class="fixedFont">
1157                         <span class="attributes"></span><b class="itemname">un</b>
1158                                 
1159                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>) 
1160                         
1161                                 
1162                         
1163                 </div>
1164                 <div class="mdesc">
1165                 
1166                    <div class="short">Removes a listener (shorthand for removeListener)</div> 
1167                  
1168                  
1169                  
1170                     <div class="long">
1171                         
1172                                 Removes a listener (shorthand for removeListener)
1173                     
1174                                 
1175                         
1176                         
1177                         
1178                         
1179                                 <dl class="detailList">
1180                                 <dt class="heading">Parameters:</dt>
1181                                 
1182                                         <dt>
1183                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
1184                                                 
1185                                         </dt>
1186                                         <dd>The type of event to listen for</dd>
1187                                 
1188                                         <dt>
1189                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
1190                                                 
1191                                         </dt>
1192                                         <dd>The handler to remove</dd>
1193                                 
1194                                         <dt>
1195                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>scope</b>
1196                                                 
1197                                         </dt>
1198                                         <dd>(optional) The scope (this object) for the handler</dd>
1199                                 
1200                                 </dl>
1201                         
1202                         
1203                         
1204                         
1205                         
1206                         
1207                         
1208
1209                     
1210                     
1211                      
1212                     </div>                    
1213                 </div>
1214
1215             </td>
1216             <td class="msource">
1217                 
1218                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1219                 &nbsp;
1220             </td>
1221         </tr>
1222         
1223                                                        
1224     </table>
1225
1226   
1227   <!-- ============================== events summary / details ======================== -->
1228   
1229   
1230   <a id="Roo.Ajax-events"></a>
1231     
1232   
1233         
1234    
1235   
1236     
1237     
1238     
1239       <table cellspacing="0" class="member-table">
1240                 <caption>Events</caption>
1241               <thead>
1242                 <tr>
1243                     <th class="sig-header" colspan="2">Event</th>            
1244                     <th class="msource-header">Defined By</th>
1245
1246                 </tr>
1247               </thead>  
1248         
1249         
1250          
1251         
1252         
1253           <tr class="method-row expandable config-row-alt0">
1254             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1255             
1256             <td class="sig">
1257                 <a id="Roo.data.Connection-event-*beforerequest"></a>
1258                 
1259                <div class="fixedFont">
1260                 <b class="itemname">beforerequest</b> (Connection <B><i>conn</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>) 
1261                 
1262                 </div>
1263
1264                 <div class="mdesc">
1265
1266                    <div class="short">Fires before a network request is made to retrieve a data object.
1267                    
1268                 </div> 
1269                     
1270                     <div class="long">
1271                     
1272                         Fires before a network request is made to retrieve a data object.
1273                     
1274                         
1275                         
1276                 
1277                         
1278                                 <dl class="detailList">
1279                                 <dt class="heading">Parameters:</dt>
1280                                 
1281                                         <dt>
1282                                                 <span class="fixedFont">Connection</span> <b>conn</b>
1283                                                 
1284                                         </dt>
1285                                         <dd>This Connection object.</dd>
1286                                 
1287                                         <dt>
1288                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>options</b>
1289                                                 
1290                                         </dt>
1291                                         <dd>The options config object passed to the {<b>link</b> <b>request</b>} method.</dd>
1292                                 
1293                                 </dl>
1294                         
1295                         
1296                         
1297                         
1298                         
1299                         
1300                         
1301
1302                     
1303                     
1304                      
1305                     </div>                    
1306                 </div>
1307
1308             </td>
1309             <td class="msource">
1310                 <a href="./Roo.data.Connection.html#constructor" roo:cls="Roo.data.Connection.html#constructor">Roo.data.Connection</a>
1311             </td>
1312         </tr>
1313         
1314           <tr class="method-row expandable config-row-alt1">
1315             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1316             
1317             <td class="sig">
1318                 <a id="Roo.data.Connection-event-*requestcomplete"></a>
1319                 
1320                <div class="fixedFont">
1321                 <b class="itemname">requestcomplete</b> (Connection <B><i>conn</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>response</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>) 
1322                 
1323                 </div>
1324
1325                 <div class="mdesc">
1326
1327                    <div class="short">Fires if the request was successfully completed.
1328                    
1329                 </div> 
1330                     
1331                     <div class="long">
1332                     
1333                         Fires if the request was successfully completed.
1334                     
1335                         
1336                         
1337                 
1338                         
1339                                 <dl class="detailList">
1340                                 <dt class="heading">Parameters:</dt>
1341                                 
1342                                         <dt>
1343                                                 <span class="fixedFont">Connection</span> <b>conn</b>
1344                                                 
1345                                         </dt>
1346                                         <dd>This Connection object.</dd>
1347                                 
1348                                         <dt>
1349                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>response</b>
1350                                                 
1351                                         </dt>
1352                                         <dd>The XHR object containing the response data.<br/>See {<b>link</b> http://www.w3.org/TR/XMLHttpRequest/} for details.</dd>
1353                                 
1354                                         <dt>
1355                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>options</b>
1356                                                 
1357                                         </dt>
1358                                         <dd>The options config object passed to the {<b>link</b> <b>request</b>} method.</dd>
1359                                 
1360                                 </dl>
1361                         
1362                         
1363                         
1364                         
1365                         
1366                         
1367                         
1368
1369                     
1370                     
1371                      
1372                     </div>                    
1373                 </div>
1374
1375             </td>
1376             <td class="msource">
1377                 <a href="./Roo.data.Connection.html#constructor" roo:cls="Roo.data.Connection.html#constructor">Roo.data.Connection</a>
1378             </td>
1379         </tr>
1380         
1381           <tr class="method-row expandable config-row-alt0">
1382             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1383             
1384             <td class="sig">
1385                 <a id="Roo.data.Connection-event-*requestexception"></a>
1386                 
1387                <div class="fixedFont">
1388                 <b class="itemname">requestexception</b> (Connection <B><i>conn</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>response</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>) 
1389                 
1390                 </div>
1391
1392                 <div class="mdesc">
1393
1394                    <div class="short">Fires if an error HTTP status was returned from the server.
1395                    
1396                 </div> 
1397                     
1398                     <div class="long">
1399                     
1400                         Fires if an error HTTP status was returned from the server.<br/>See {<b>link</b> http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html} for details of HTTP status codes.
1401                     
1402                         
1403                         
1404                 
1405                         
1406                                 <dl class="detailList">
1407                                 <dt class="heading">Parameters:</dt>
1408                                 
1409                                         <dt>
1410                                                 <span class="fixedFont">Connection</span> <b>conn</b>
1411                                                 
1412                                         </dt>
1413                                         <dd>This Connection object.</dd>
1414                                 
1415                                         <dt>
1416                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>response</b>
1417                                                 
1418                                         </dt>
1419                                         <dd>The XHR object containing the response data.<br/>See {<b>link</b> http://www.w3.org/TR/XMLHttpRequest/} for details.</dd>
1420                                 
1421                                         <dt>
1422                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>options</b>
1423                                                 
1424                                         </dt>
1425                                         <dd>The options config object passed to the {<b>link</b> <b>request</b>} method.</dd>
1426                                 
1427                                 </dl>
1428                         
1429                         
1430                         
1431                         
1432                         
1433                         
1434                         
1435
1436                     
1437                     
1438                      
1439                     </div>                    
1440                 </div>
1441
1442             </td>
1443             <td class="msource">
1444                 <a href="./Roo.data.Connection.html#constructor" roo:cls="Roo.data.Connection.html#constructor">Roo.data.Connection</a>
1445             </td>
1446         </tr>
1447         
1448                                                        
1449     </table>
1450
1451   
1452   
1453   
1454  
1455 <!-- ============================== footer ================================= -->
1456                 <div class="fineprint" style="clear:both">
1457                         
1458                         Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a>  on Thu Apr 24 2014 16:32:51 GMT+0800 (HKT)
1459                         Based on 
1460                         <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>  
1461                 </div>
1462         </body>
1463 </html>