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