sync
[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                                 Class 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_data_Connection.js.html">Roo/data/Connection.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      <table cellspacing="0" class="member-table">
113       <caption class="Empty">Config Options - Has None</caption>
114      </table>
115     
116     
117      
118                 
119   
120   
121   
122   
123   
124   
125   
126   
127   <!-- ============================== public properties ==================== -->        
128   
129   
130   
131     <a id="Roo.Ajax-props"></a>      
132     
133     
134
135     
136      
137     
138         
139       <table cellspacing="0" class="member-table">   
140       <caption>Public Properties </caption>
141         <tr>
142             <th class="sig-header" colspan="2">Property</th>
143             <th class="sig-header">Description</th>
144             <th class="msource-header">Defined By</th>
145         </tr>
146         
147       
148                     
149           
150                  
151          
152         
153         
154           <tr class="property-row config-row-alt0 notInherited">
155             <td class="micon">
156                 <a class="exi" href="#expand">&nbsp;</a>
157             </td>
158             <td class="sig">
159                <a id="Roo.Ajax-prop-autoAbort" name=".autoAbort"></a>
160                <div class="fixedFont">
161                     <span class="attributes">Roo.Ajax.</span><b  class="itemname">autoAbort</b> :
162                      <span type="etype"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>
163                      </div>
164             </td>
165             <td class="sig">
166                 <div class="mdesc">
167
168
169                    <div class="short">
170                         Whether a new request should abort any pending requests.
171                    
172                    
173                    
174                    </div> 
175                     
176                     <div class="long">
177                     
178                         Whether a new request should abort any pending requests. (defaults to false)                        
179                  
180                 </div>
181                 </div>
182             </td>
183             
184             <td class="msource">  
185             Roo.Ajax
186             </td>             
187                 
188           </tr>
189                  
190          
191         
192         
193           <tr class="property-row config-row-alt1 notInherited">
194             <td class="micon">
195                 <a class="exi" href="#expand">&nbsp;</a>
196             </td>
197             <td class="sig">
198                <a id="Roo.Ajax-prop-defaultHeaders" name=".defaultHeaders"></a>
199                <div class="fixedFont">
200                     <span class="attributes">Roo.Ajax.</span><b  class="itemname">defaultHeaders</b> :
201                      <span type="etype"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>
202                      </div>
203             </td>
204             <td class="sig">
205                 <div class="mdesc">
206
207
208                    <div class="short">
209                         An object containing request headers which are added to each request made by this object.
210                    
211                    
212                    
213                    </div> 
214                     
215                     <div class="long">
216                     
217                         An object containing request headers which are added to each request made by this object. (defaults to undefined)                        
218                  
219                 </div>
220                 </div>
221             </td>
222             
223             <td class="msource">  
224             Roo.Ajax
225             </td>             
226                 
227           </tr>
228                  
229          
230         
231         
232           <tr class="property-row config-row-alt0 notInherited">
233             <td class="micon">
234                 <a class="exi" href="#expand">&nbsp;</a>
235             </td>
236             <td class="sig">
237                <a id="Roo.Ajax-prop-disableCaching" name=".disableCaching"></a>
238                <div class="fixedFont">
239                     <span class="attributes">Roo.Ajax.</span><b  class="itemname">disableCaching</b> :
240                      <span type="etype"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>
241                      </div>
242             </td>
243             <td class="sig">
244                 <div class="mdesc">
245
246
247                    <div class="short">
248                         True to add a unique cache-buster param to GET requests.
249                    
250                    
251                    
252                    </div> 
253                     
254                     <div class="long">
255                     
256                         True to add a unique cache-buster param to GET requests. (defaults to true)                        
257                  
258                 </div>
259                 </div>
260             </td>
261             
262             <td class="msource">  
263             Roo.Ajax
264             </td>             
265                 
266           </tr>
267                  
268          
269         
270         
271           <tr class="property-row config-row-alt1 notInherited">
272             <td class="micon">
273                 <a class="exi" href="#expand">&nbsp;</a>
274             </td>
275             <td class="sig">
276                <a id="Roo.Ajax-prop-extraParams" name=".extraParams"></a>
277                <div class="fixedFont">
278                     <span class="attributes">Roo.Ajax.</span><b  class="itemname">extraParams</b> :
279                      <span type="etype"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>
280                      </div>
281             </td>
282             <td class="sig">
283                 <div class="mdesc">
284
285
286                    <div class="short">
287                         An object containing properties which are used as<br/>extra parameters to each request made by this object.
288                    
289                    
290                    
291                    </div> 
292                     
293                     <div class="long">
294                     
295                         An object containing properties which are used as<br/>extra parameters to each request made by this object. (defaults to undefined)                        
296                  
297                 </div>
298                 </div>
299             </td>
300             
301             <td class="msource">  
302             Roo.Ajax
303             </td>             
304                 
305           </tr>
306                  
307          
308         
309         
310           <tr class="property-row config-row-alt0 notInherited">
311             <td class="micon">
312                 <a class="exi" href="#expand">&nbsp;</a>
313             </td>
314             <td class="sig">
315                <a id="Roo.Ajax-prop-method" name=".method"></a>
316                <div class="fixedFont">
317                     <span class="attributes">Roo.Ajax.</span><b  class="itemname">method</b> :
318                      <span type="etype"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>
319                      </div>
320             </td>
321             <td class="sig">
322                 <div class="mdesc">
323
324
325                    <div class="short">
326                         The default HTTP method to be used for requests.
327                    
328                    
329                    
330                    </div> 
331                     
332                     <div class="long">
333                     
334                         The default HTTP method to be used for requests. (defaults to undefined; if not set but parms are present will use POST, otherwise GET)                        
335                  
336                 </div>
337                 </div>
338             </td>
339             
340             <td class="msource">  
341             Roo.Ajax
342             </td>             
343                 
344           </tr>
345                  
346          
347         
348         
349           <tr class="property-row config-row-alt1 notInherited">
350             <td class="micon">
351                 <a class="exi" href="#expand">&nbsp;</a>
352             </td>
353             <td class="sig">
354                <a id="Roo.Ajax-prop-timeout" name=".timeout"></a>
355                <div class="fixedFont">
356                     <span class="attributes">Roo.Ajax.</span><b  class="itemname">timeout</b> :
357                      <span type="etype"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>
358                      </div>
359             </td>
360             <td class="sig">
361                 <div class="mdesc">
362
363
364                    <div class="short">
365                         The timeout in milliseconds to be used for requests.
366                    
367                    
368                    
369                    </div> 
370                     
371                     <div class="long">
372                     
373                         The timeout in milliseconds to be used for requests. (defaults to 30000)                        
374                  
375                 </div>
376                 </div>
377             </td>
378             
379             <td class="msource">  
380             Roo.Ajax
381             </td>             
382                 
383           </tr>
384                  
385          
386         
387         
388           <tr class="property-row config-row-alt0 notInherited">
389             <td class="micon">
390                 <a class="exi" href="#expand">&nbsp;</a>
391             </td>
392             <td class="sig">
393                <a id="Roo.Ajax-prop-url" name=".url"></a>
394                <div class="fixedFont">
395                     <span class="attributes">Roo.Ajax.</span><b  class="itemname">url</b> :
396                      <span type="etype"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>
397                      </div>
398             </td>
399             <td class="sig">
400                 <div class="mdesc">
401
402
403                    <div class="short">
404                         The default URL to be used for requests to the server.
405                    
406                    
407                    
408                    </div> 
409                     
410                     <div class="long">
411                     
412                         The default URL to be used for requests to the server. (defaults to undefined)                        
413                  
414                 </div>
415                 </div>
416             </td>
417             
418             <td class="msource">  
419             Roo.Ajax
420             </td>             
421                 
422           </tr>
423         
424         
425          
426         
427       
428         <!-- TODO: implement this alt row.  also notice non-linked "Defined by" when property is a part of this class.     
429         <tr class="property-row alt">
430              
431         -->
432
433     </table>
434   
435     
436   <!-- ============================== methods summary / details ======================== -->
437   
438   
439   <a id="Roo.Ajax-methods"></a>
440         <!-- constructor?? -->
441         
442         <!-- static's first 
443         
444         
445         -->
446         
447         <!-- then dynamics first -->
448         
449   
450   
451     
452     
453     
454       <table cellspacing="0" class="member-table">
455       <caption>Public Methods</caption>
456         <tr>
457             <th class="sig-header" colspan="2">Method</th>            
458             <th class="msource-header">Defined By</th>
459
460         </tr>
461         
462         
463         
464          
465         
466         
467           
468           <tr class="method-row config-row-alt0 expandable">
469             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
470            
471            
472             <td class="sig">
473                 <a id="Roo.data.Connection-method-abort"   name=".abort"></a>
474                 <div class="fixedFont">
475                         <span class="attributes">Roo.Ajax.</span><b class="itemname">abort</b>
476                                 
477                                  (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>transactionId</i></B>) 
478                         
479                                 
480                         
481                 </div>
482                 <div class="mdesc">
483                 
484                    <div class="short">Aborts any outstanding request.</div> 
485                  
486                  
487                  
488                     <div class="long">
489                         
490                                 Aborts any outstanding request.
491                     
492                                 
493                         
494                         
495                         
496                         
497                                 <dl class="detailList">
498                                 <dt class="heading">Parameters:</dt>
499                                 
500                                         <dt>
501                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  <b>transactionId</b>
502                                                 
503                                         </dt>
504                                         <dd>(Optional) defaults to the last transaction</dd>
505                                 
506                                 </dl>
507                         
508                         
509                         
510                         
511                         
512                         
513                         
514
515                     
516                     
517                      
518                     </div>                    
519                 </div>
520
521             </td>
522             <td class="msource">
523                 
524                         <a href="./Roo.data.Connection.html#constructor" roo:cls="Roo.data.Connection.html#constructor">Roo.data.Connection</a>
525                 &nbsp;
526             </td>
527         </tr>
528         
529           
530           <tr class="method-row config-row-alt1 expandable">
531             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
532            
533            
534             <td class="sig">
535                 <a id="Roo.util.Observable-method-addEvents"   name=".addEvents"></a>
536                 <div class="fixedFont">
537                         <span class="attributes">Roo.Ajax.</span><b class="itemname">addEvents</b>
538                                 
539                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>) 
540                         
541                                 
542                         
543                 </div>
544                 <div class="mdesc">
545                 
546                    <div class="short">Used to define events on this Observable</div> 
547                  
548                  
549                  
550                     <div class="long">
551                         
552                                 Used to define events on this Observable
553                     
554                                 
555                         
556                         
557                         
558                         
559                                 <dl class="detailList">
560                                 <dt class="heading">Parameters:</dt>
561                                 
562                                         <dt>
563                                                 <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>
564                                                 
565                                         </dt>
566                                         <dd>The object with the events defined</dd>
567                                 
568                                 </dl>
569                         
570                         
571                         
572                         
573                         
574                         
575                         
576
577                     
578                     
579                      
580                     </div>                    
581                 </div>
582
583             </td>
584             <td class="msource">
585                 
586                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
587                 &nbsp;
588             </td>
589         </tr>
590         
591           
592           <tr class="method-row config-row-alt0 expandable">
593             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
594            
595            
596             <td class="sig">
597                 <a id="Roo.util.Observable-method-addListener"   name=".addListener"></a>
598                 <div class="fixedFont">
599                         <span class="attributes">Roo.Ajax.</span><b class="itemname">addListener</b>
600                                 
601                                  (<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>) 
602                         
603                                 
604                         
605                 </div>
606                 <div class="mdesc">
607                 
608                    <div class="short">Appends an event handler to this component</div> 
609                  
610                  
611                  
612                     <div class="long">
613                         
614                                 Appends an event handler to this component
615                     
616                                 
617                         
618                         
619                         
620                         
621                                 <dl class="detailList">
622                                 <dt class="heading">Parameters:</dt>
623                                 
624                                         <dt>
625                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
626                                                 
627                                         </dt>
628                                         <dd>The type of event to listen for</dd>
629                                 
630                                         <dt>
631                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
632                                                 
633                                         </dt>
634                                         <dd>The method the event invokes</dd>
635                                 
636                                         <dt>
637                                                 <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>
638                                                 
639                                         </dt>
640                                         <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
641                                 
642                                         <dt>
643                                                 <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>
644                                                 
645                                         </dt>
646                                         <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>
647                                 
648                                 </dl>
649                         
650                         
651                         
652                         
653                         
654                         
655                         
656
657                     
658                     
659                      
660                     </div>                    
661                 </div>
662
663             </td>
664             <td class="msource">
665                 
666                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
667                 &nbsp;
668             </td>
669         </tr>
670         
671           
672           <tr class="method-row config-row-alt1 expandable">
673             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
674            
675            
676             <td class="sig">
677                 <a id="Roo.util.Observable-method-fireEvent"   name=".fireEvent"></a>
678                 <div class="fixedFont">
679                         <span class="attributes">Roo.Ajax.</span><b class="itemname">fireEvent</b>
680                                 
681                                  (<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>) 
682                         
683                                 
684                                          : 
685                                         
686                                                 
687                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
688                                         
689                                         
690                                         
691                                 
692                         
693                 </div>
694                 <div class="mdesc">
695                 
696                    <div class="short">Fires the specified event with the passed parameters (minus the event name).</div> 
697                  
698                  
699                  
700                     <div class="long">
701                         
702                                 Fires the specified event with the passed parameters (minus the event name).
703                     
704                                 
705                         
706                         
707                         
708                         
709                                 <dl class="detailList">
710                                 <dt class="heading">Parameters:</dt>
711                                 
712                                         <dt>
713                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
714                                                 
715                                         </dt>
716                                         <dd></dd>
717                                 
718                                         <dt>
719                                                 <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>
720                                                 
721                                         </dt>
722                                         <dd>Variable number of parameters are passed to handlers</dd>
723                                 
724                                 </dl>
725                         
726                         
727                         
728                         
729                         
730                                 <dl class="detailList">
731                                 <dt class="heading">Returns:</dt>
732                                 
733                                         <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>
734                                 
735                                 </dl>
736                         
737                         
738                         
739
740                     
741                     
742                      
743                     </div>                    
744                 </div>
745
746             </td>
747             <td class="msource">
748                 
749                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
750                 &nbsp;
751             </td>
752         </tr>
753         
754           
755           <tr class="method-row config-row-alt0 expandable">
756             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
757            
758            
759             <td class="sig">
760                 <a id="Roo.util.Observable-method-hasListener"   name=".hasListener"></a>
761                 <div class="fixedFont">
762                         <span class="attributes">Roo.Ajax.</span><b class="itemname">hasListener</b>
763                                 
764                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>) 
765                         
766                                 
767                                          : 
768                                         
769                                                 
770                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
771                                         
772                                         
773                                         
774                                 
775                         
776                 </div>
777                 <div class="mdesc">
778                 
779                    <div class="short">Checks to see if this object has any listeners for a specified event</div> 
780                  
781                  
782                  
783                     <div class="long">
784                         
785                                 Checks to see if this object has any listeners for a specified event
786                     
787                                 
788                         
789                         
790                         
791                         
792                                 <dl class="detailList">
793                                 <dt class="heading">Parameters:</dt>
794                                 
795                                         <dt>
796                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
797                                                 
798                                         </dt>
799                                         <dd>The name of the event to check for</dd>
800                                 
801                                 </dl>
802                         
803                         
804                         
805                         
806                         
807                                 <dl class="detailList">
808                                 <dt class="heading">Returns:</dt>
809                                 
810                                         <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>
811                                 
812                                 </dl>
813                         
814                         
815                         
816
817                     
818                     
819                      
820                     </div>                    
821                 </div>
822
823             </td>
824             <td class="msource">
825                 
826                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
827                 &nbsp;
828             </td>
829         </tr>
830         
831           
832           <tr class="method-row config-row-alt1 expandable">
833             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
834            
835            
836             <td class="sig">
837                 <a id="Roo.data.Connection-method-isLoading"   name=".isLoading"></a>
838                 <div class="fixedFont">
839                         <span class="attributes">Roo.Ajax.</span><b class="itemname">isLoading</b>
840                                 
841                                  (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>transactionId</i></B>) 
842                         
843                                 
844                                          : 
845                                         
846                                                 
847                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
848                                         
849                                         
850                                         
851                                 
852                         
853                 </div>
854                 <div class="mdesc">
855                 
856                    <div class="short">Determine whether this object has a request outstanding.</div> 
857                  
858                  
859                  
860                     <div class="long">
861                         
862                                 Determine whether this object has a request outstanding.
863                     
864                                 
865                         
866                         
867                         
868                         
869                                 <dl class="detailList">
870                                 <dt class="heading">Parameters:</dt>
871                                 
872                                         <dt>
873                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  <b>transactionId</b>
874                                                 
875                                         </dt>
876                                         <dd>(Optional) defaults to the last transaction</dd>
877                                 
878                                 </dl>
879                         
880                         
881                         
882                         
883                         
884                                 <dl class="detailList">
885                                 <dt class="heading">Returns:</dt>
886                                 
887                                         <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>
888                                 
889                                 </dl>
890                         
891                         
892                         
893
894                     
895                     
896                      
897                     </div>                    
898                 </div>
899
900             </td>
901             <td class="msource">
902                 
903                         <a href="./Roo.data.Connection.html#constructor" roo:cls="Roo.data.Connection.html#constructor">Roo.data.Connection</a>
904                 &nbsp;
905             </td>
906         </tr>
907         
908           
909           <tr class="method-row config-row-alt0 expandable">
910             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
911            
912            
913             <td class="sig">
914                 <a id="Roo.util.Observable-method-on"   name=".on"></a>
915                 <div class="fixedFont">
916                         <span class="attributes">Roo.Ajax.</span><b class="itemname">on</b>
917                                 
918                                  (<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>) 
919                         
920                                 
921                         
922                 </div>
923                 <div class="mdesc">
924                 
925                    <div class="short">Appends an event handler to this element (shorthand for addListener)</div> 
926                  
927                  
928                  
929                     <div class="long">
930                         
931                                 Appends an event handler to this element (shorthand for addListener)
932                     
933                                 
934                         
935                         
936                         
937                         
938                                 <dl class="detailList">
939                                 <dt class="heading">Parameters:</dt>
940                                 
941                                         <dt>
942                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
943                                                 
944                                         </dt>
945                                         <dd>The type of event to listen for</dd>
946                                 
947                                         <dt>
948                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
949                                                 
950                                         </dt>
951                                         <dd>The method the event invokes</dd>
952                                 
953                                         <dt>
954                                                 <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>
955                                                 
956                                         </dt>
957                                         <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
958                                 
959                                         <dt>
960                                                 <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>
961                                                 
962                                         </dt>
963                                         <dd>(optional)</dd>
964                                 
965                                 </dl>
966                         
967                         
968                         
969                         
970                         
971                         
972                         
973
974                     
975                     
976                      
977                     </div>                    
978                 </div>
979
980             </td>
981             <td class="msource">
982                 
983                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
984                 &nbsp;
985             </td>
986         </tr>
987         
988           
989           <tr class="method-row config-row-alt1 expandable">
990             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
991            
992            
993             <td class="sig">
994                 <a id="Roo.util.Observable-method-purgeListeners"   name=".purgeListeners"></a>
995                 <div class="fixedFont">
996                         <span class="attributes">Roo.Ajax.</span><b class="itemname">purgeListeners</b>
997                                 
998                                  () 
999                         
1000                                 
1001                         
1002                 </div>
1003                 <div class="mdesc">
1004                 
1005                    <div class="short">Removes all listeners for this object</div> 
1006                  
1007                  
1008                  
1009                     <div class="long">
1010                         
1011                                 Removes all listeners for this object
1012                     
1013                                 
1014                         
1015                         
1016                         
1017                         
1018                         
1019                         
1020                         
1021                         
1022                         
1023                         
1024
1025                     
1026                     
1027                      
1028                     </div>                    
1029                 </div>
1030
1031             </td>
1032             <td class="msource">
1033                 
1034                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1035                 &nbsp;
1036             </td>
1037         </tr>
1038         
1039           
1040           <tr class="method-row config-row-alt0 expandable">
1041             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1042            
1043            
1044             <td class="sig">
1045                 <a id="Roo.util.Observable-method-removeListener"   name=".removeListener"></a>
1046                 <div class="fixedFont">
1047                         <span class="attributes">Roo.Ajax.</span><b class="itemname">removeListener</b>
1048                                 
1049                                  (<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>) 
1050                         
1051                                 
1052                         
1053                 </div>
1054                 <div class="mdesc">
1055                 
1056                    <div class="short">Removes a listener</div> 
1057                  
1058                  
1059                  
1060                     <div class="long">
1061                         
1062                                 Removes a listener
1063                     
1064                                 
1065                         
1066                         
1067                         
1068                         
1069                                 <dl class="detailList">
1070                                 <dt class="heading">Parameters:</dt>
1071                                 
1072                                         <dt>
1073                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
1074                                                 
1075                                         </dt>
1076                                         <dd>The type of event to listen for</dd>
1077                                 
1078                                         <dt>
1079                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
1080                                                 
1081                                         </dt>
1082                                         <dd>The handler to remove</dd>
1083                                 
1084                                         <dt>
1085                                                 <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>
1086                                                 
1087                                         </dt>
1088                                         <dd>(optional) The scope (this object) for the handler</dd>
1089                                 
1090                                 </dl>
1091                         
1092                         
1093                         
1094                         
1095                         
1096                         
1097                         
1098
1099                     
1100                     
1101                      
1102                     </div>                    
1103                 </div>
1104
1105             </td>
1106             <td class="msource">
1107                 
1108                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1109                 &nbsp;
1110             </td>
1111         </tr>
1112         
1113           
1114           <tr class="method-row config-row-alt1 expandable">
1115             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1116            
1117            
1118             <td class="sig">
1119                 <a id="Roo.data.Connection-method-request"   name=".request"></a>
1120                 <div class="fixedFont">
1121                         <span class="attributes">Roo.Ajax.</span><b class="itemname">request</b>
1122                                 
1123                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>) 
1124                         
1125                                 
1126                                          : 
1127                                         
1128                                                 
1129                                                 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1130                                         
1131                                         
1132                                         
1133                                 
1134                         
1135                 </div>
1136                 <div class="mdesc">
1137                 
1138                    <div class="short">Sends an HTTP request to a remote server.</div> 
1139                  
1140                  
1141                  
1142                     <div class="long">
1143                         
1144                                 Sends an HTTP request to a remote server.
1145                     
1146                                 
1147                         
1148                         
1149                         
1150                         
1151                                 <dl class="detailList">
1152                                 <dt class="heading">Parameters:</dt>
1153                                 
1154                                         <dt>
1155                                                 <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>
1156                                                 
1157                                         </dt>
1158                                         <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>
1159                                 
1160                                 </dl>
1161                         
1162                         
1163                         
1164                         
1165                         
1166                                 <dl class="detailList">
1167                                 <dt class="heading">Returns:</dt>
1168                                 
1169                                         <dd><span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  transactionId</dd>
1170                                 
1171                                 </dl>
1172                         
1173                         
1174                         
1175
1176                     
1177                     
1178                      
1179                     </div>                    
1180                 </div>
1181
1182             </td>
1183             <td class="msource">
1184                 
1185                         <a href="./Roo.data.Connection.html#constructor" roo:cls="Roo.data.Connection.html#constructor">Roo.data.Connection</a>
1186                 &nbsp;
1187             </td>
1188         </tr>
1189         
1190           
1191           <tr class="method-row config-row-alt0 expandable notInherited">
1192             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1193            
1194            
1195             <td class="sig">
1196                 <a id="Roo.Ajax-method-serializeForm"   name=".serializeForm"></a>
1197                 <div class="fixedFont">
1198                         <span class="attributes">Roo.Ajax.</span><b class="itemname">serializeForm</b>
1199                                 
1200                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement <B><i>form</i></B>) 
1201                         
1202                                 
1203                                          : 
1204                                         
1205                                                 
1206                                                 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1207                                         
1208                                         
1209                                         
1210                                 
1211                         
1212                 </div>
1213                 <div class="mdesc">
1214                 
1215                    <div class="short">Serialize the passed form into a url encoded string</div> 
1216                  
1217                  
1218                  
1219                     <div class="long">
1220                         
1221                                 Serialize the passed form into a url encoded string
1222                     
1223                                 
1224                         
1225                         
1226                         
1227                         
1228                                 <dl class="detailList">
1229                                 <dt class="heading">Parameters:</dt>
1230                                 
1231                                         <dt>
1232                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement</span>  <b>form</b>
1233                                                 
1234                                         </dt>
1235                                         <dd></dd>
1236                                 
1237                                 </dl>
1238                         
1239                         
1240                         
1241                         
1242                         
1243                                 <dl class="detailList">
1244                                 <dt class="heading">Returns:</dt>
1245                                 
1246                                         <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  </dd>
1247                                 
1248                                 </dl>
1249                         
1250                         
1251                         
1252
1253                     
1254                     
1255                      
1256                     </div>                    
1257                 </div>
1258
1259             </td>
1260             <td class="msource">
1261                 
1262                         Roo.Ajax
1263                 &nbsp;
1264             </td>
1265         </tr>
1266         
1267           
1268           <tr class="method-row config-row-alt1 expandable">
1269             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1270            
1271            
1272             <td class="sig">
1273                 <a id="Roo.util.Observable-method-un"   name=".un"></a>
1274                 <div class="fixedFont">
1275                         <span class="attributes">Roo.Ajax.</span><b class="itemname">un</b>
1276                                 
1277                                  (<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>) 
1278                         
1279                                 
1280                         
1281                 </div>
1282                 <div class="mdesc">
1283                 
1284                    <div class="short">Removes a listener (shorthand for removeListener)</div> 
1285                  
1286                  
1287                  
1288                     <div class="long">
1289                         
1290                                 Removes a listener (shorthand for removeListener)
1291                     
1292                                 
1293                         
1294                         
1295                         
1296                         
1297                                 <dl class="detailList">
1298                                 <dt class="heading">Parameters:</dt>
1299                                 
1300                                         <dt>
1301                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
1302                                                 
1303                                         </dt>
1304                                         <dd>The type of event to listen for</dd>
1305                                 
1306                                         <dt>
1307                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
1308                                                 
1309                                         </dt>
1310                                         <dd>The handler to remove</dd>
1311                                 
1312                                         <dt>
1313                                                 <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>
1314                                                 
1315                                         </dt>
1316                                         <dd>(optional) The scope (this object) for the handler</dd>
1317                                 
1318                                 </dl>
1319                         
1320                         
1321                         
1322                         
1323                         
1324                         
1325                         
1326
1327                     
1328                     
1329                      
1330                     </div>                    
1331                 </div>
1332
1333             </td>
1334             <td class="msource">
1335                 
1336                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1337                 &nbsp;
1338             </td>
1339         </tr>
1340         
1341                                                        
1342     </table>
1343
1344   
1345   <!-- ============================== events summary / details ======================== -->
1346   
1347   
1348   <a id="Roo.Ajax-events"></a>
1349     
1350   
1351         
1352    
1353   
1354     
1355     
1356     
1357       <table cellspacing="0" class="member-table">
1358                 <caption>Events</caption>
1359               <thead>
1360                 <tr>
1361                     <th class="sig-header" colspan="2">Event</th>            
1362                     <th class="msource-header">Defined By</th>
1363
1364                 </tr>
1365               </thead>  
1366         
1367         
1368          
1369         
1370         
1371           <tr class="method-row expandable config-row-alt0">
1372             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1373             
1374             <td class="sig">
1375                 <a id="Roo.data.Connection-event-*beforerequest"></a>
1376                 
1377                <div class="fixedFont">
1378                 <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>) 
1379                 
1380                 </div>
1381
1382                 <div class="mdesc">
1383
1384                    <div class="short">Fires before a network request is made to retrieve a data object.
1385                    
1386                 </div> 
1387                     
1388                     <div class="long">
1389                     
1390                         Fires before a network request is made to retrieve a data object.
1391                     
1392                         
1393                         
1394                 
1395                         
1396                                 <dl class="detailList">
1397                                 <dt class="heading">Parameters:</dt>
1398                                 
1399                                         <dt>
1400                                                 <span class="fixedFont">Connection</span> <b>conn</b>
1401                                                 
1402                                         </dt>
1403                                         <dd>This Connection object.</dd>
1404                                 
1405                                         <dt>
1406                                                 <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>
1407                                                 
1408                                         </dt>
1409                                         <dd>The options config object passed to the {<b>link</b> <b>request</b>} method.</dd>
1410                                 
1411                                 </dl>
1412                         
1413                         
1414                         
1415                         
1416                         
1417                         
1418                         
1419
1420                     
1421                     
1422                      
1423                     </div>                    
1424                 </div>
1425
1426             </td>
1427             <td class="msource">
1428                 <a href="./Roo.data.Connection.html#constructor" roo:cls="Roo.data.Connection.html#constructor">Roo.data.Connection</a>
1429             </td>
1430         </tr>
1431         
1432           <tr class="method-row expandable config-row-alt1">
1433             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1434             
1435             <td class="sig">
1436                 <a id="Roo.data.Connection-event-*requestcomplete"></a>
1437                 
1438                <div class="fixedFont">
1439                 <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>) 
1440                 
1441                 </div>
1442
1443                 <div class="mdesc">
1444
1445                    <div class="short">Fires if the request was successfully completed.
1446                    
1447                 </div> 
1448                     
1449                     <div class="long">
1450                     
1451                         Fires if the request was successfully completed.
1452                     
1453                         
1454                         
1455                 
1456                         
1457                                 <dl class="detailList">
1458                                 <dt class="heading">Parameters:</dt>
1459                                 
1460                                         <dt>
1461                                                 <span class="fixedFont">Connection</span> <b>conn</b>
1462                                                 
1463                                         </dt>
1464                                         <dd>This Connection object.</dd>
1465                                 
1466                                         <dt>
1467                                                 <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>
1468                                                 
1469                                         </dt>
1470                                         <dd>The XHR object containing the response data.<br/>See {<b>link</b> http://www.w3.org/TR/XMLHttpRequest/} for details.</dd>
1471                                 
1472                                         <dt>
1473                                                 <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>
1474                                                 
1475                                         </dt>
1476                                         <dd>The options config object passed to the {<b>link</b> <b>request</b>} method.</dd>
1477                                 
1478                                 </dl>
1479                         
1480                         
1481                         
1482                         
1483                         
1484                         
1485                         
1486
1487                     
1488                     
1489                      
1490                     </div>                    
1491                 </div>
1492
1493             </td>
1494             <td class="msource">
1495                 <a href="./Roo.data.Connection.html#constructor" roo:cls="Roo.data.Connection.html#constructor">Roo.data.Connection</a>
1496             </td>
1497         </tr>
1498         
1499           <tr class="method-row expandable config-row-alt0">
1500             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1501             
1502             <td class="sig">
1503                 <a id="Roo.data.Connection-event-*requestexception"></a>
1504                 
1505                <div class="fixedFont">
1506                 <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>) 
1507                 
1508                 </div>
1509
1510                 <div class="mdesc">
1511
1512                    <div class="short">Fires if an error HTTP status was returned from the server.
1513                    
1514                 </div> 
1515                     
1516                     <div class="long">
1517                     
1518                         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.
1519                     
1520                         
1521                         
1522                 
1523                         
1524                                 <dl class="detailList">
1525                                 <dt class="heading">Parameters:</dt>
1526                                 
1527                                         <dt>
1528                                                 <span class="fixedFont">Connection</span> <b>conn</b>
1529                                                 
1530                                         </dt>
1531                                         <dd>This Connection object.</dd>
1532                                 
1533                                         <dt>
1534                                                 <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>
1535                                                 
1536                                         </dt>
1537                                         <dd>The XHR object containing the response data.<br/>See {<b>link</b> http://www.w3.org/TR/XMLHttpRequest/} for details.</dd>
1538                                 
1539                                         <dt>
1540                                                 <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>
1541                                                 
1542                                         </dt>
1543                                         <dd>The options config object passed to the {<b>link</b> <b>request</b>} method.</dd>
1544                                 
1545                                 </dl>
1546                         
1547                         
1548                         
1549                         
1550                         
1551                         
1552                         
1553
1554                     
1555                     
1556                      
1557                     </div>                    
1558                 </div>
1559
1560             </td>
1561             <td class="msource">
1562                 <a href="./Roo.data.Connection.html#constructor" roo:cls="Roo.data.Connection.html#constructor">Roo.data.Connection</a>
1563             </td>
1564         </tr>
1565         
1566                                                        
1567     </table>
1568
1569   
1570   
1571   
1572  
1573 <!-- ============================== footer ================================= -->
1574                 <div class="fineprint" style="clear:both">
1575                         
1576                         Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a>  on Tue Jul 27 2010 11:05:06 GMT+0800 (HKT)
1577                         Based on 
1578                         <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>  
1579                 </div>
1580         </body>
1581 </html>