b545c76bd180ee145a4028a8f51a463a8b1d1a1c
[roojs1] / docs / symbols / Roo.form.BasicForm.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.form.BasicForm</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.form.BasicForm-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35         <a class="inner-link" href="#Roo.form.BasicForm-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36         <a class="inner-link" href="#Roo.form.BasicForm-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37         <a class="inner-link" href="#Roo.form.BasicForm-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.form.BasicForm 
48
49                    </pre>
50                 </div>
51        
52 <!-- ============================== class title / details ============================ -->
53     
54     
55     <h1 class="classTitle">
56                                 
57                                 Class Roo.form.BasicForm
58                         </h1>
59                         
60     <table cellspacing="0" class="class-summary-table">
61         
62                 <tr><td class="label">Package:</td><td class="hd-info">Roo.form</td></tr>
63         
64         <tr><td class="label">Defined In:</td><td class="hd-info">
65                         
66                                         <a href="./src/Roo_form_BasicForm.js.html">Roo/form/BasicForm.js</a>.
67                         
68         </td></tr>
69         <tr><td class="label">Class:</td><td class="hd-info">BasicForm</td></tr>
70         
71         
72         <tr><td class="label">Subclasses:</td><td class="hd-info">
73                 <a href="./Roo.form.Form.html#constructor" roo:cls="Roo.form.Form.html#constructor">Roo.form.Form</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         Supplies the functionality to do "actions" on forms and initialize Roo.form.Field types on existing markup.
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.form.BasicForm';">[Add Your comment/notes about this class]</u>
101         <br/>
102         <iframe frameborder="0"  id="comments-Roo.form" style="border: none;width:100%;" 
103                 src="/blog.php/GtkDjsComments/Roo.form.BasicForm.html"></iframe>
104 </div>
105         
106
107                 
108 <!-- ============================== config options ========================== -->                                               
109                  
110     
111     
112                 
113     <div class="hr"></div>
114     <a id="Roo.form.BasicForm-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.form.BasicForm-cfg-baseParams" name=".baseParams"></a>
139                         <div class="fixedFont">
140                                 <b  class="itemname">baseParams</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
141                                 
142                                 
143                         </div>
144                   
145                         <div class="mdesc">
146                             <div class="short">Parameters to pass with all requests.</div> 
147                         </div>
148                         
149                         <div class="mdesc">
150                             <div class="long">Parameters to pass with all requests. e.g. baseParams: {id: '123', foo: 'bar'}.</div> 
151                         </div>
152                         
153                         
154
155                     </td>
156                     <td class="msource">
157                         
158                         Roo.form.BasicForm
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.form.BasicForm-cfg-errorReader" name=".errorReader"></a>
169                         <div class="fixedFont">
170                                 <b  class="itemname">errorReader</b> : DataReader
171                                 
172                                 
173                         </div>
174                   
175                         <div class="mdesc">
176                             <div class="short">An Roo.data.DataReader (e.g.</div> 
177                         </div>
178                         
179                         <div class="mdesc">
180                             <div class="long">An Roo.data.DataReader (e.g. {<b>link</b> Roo.data.XmlReader}) to be used to read data when reading validation errors on "submit" actions.<br/>This is completely optional as there is built-in support for processing JSON.</div> 
181                         </div>
182                         
183                         
184
185                     </td>
186                     <td class="msource">
187                         
188                         Roo.form.BasicForm
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.form.BasicForm-cfg-fileUpload" name=".fileUpload"></a>
199                         <div class="fixedFont">
200                                 <b  class="itemname">fileUpload</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">Set to true if this form is a file upload.</div> 
207                         </div>
208                         
209                         <div class="mdesc">
210                             <div class="long">Set to true if this form is a file upload.</div> 
211                         </div>
212                         
213                         
214
215                     </td>
216                     <td class="msource">
217                         
218                         Roo.form.BasicForm
219                                 
220                     </td>
221                 </tr>
222         
223         
224                 <tr class="config-row expandable config-row-alt1">
225                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
226                     <td class="sig">
227
228                         <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
229                         <div class="fixedFont">
230                                 <b  class="itemname">listeners</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">list of events and functions to call for this object, <br/>For example :<br/><pre><code><br/>    listeners :  { <br/>       'click' : function(e) {<br/>           .</div> 
237                         </div>
238                         
239                         <div class="mdesc">
240                             <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> 
241                         </div>
242                         
243                         
244
245                     </td>
246                     <td class="msource">
247                         
248                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
249                                 
250                     </td>
251                 </tr>
252         
253         
254                 <tr class="config-row expandable config-row-alt0 notInherited">
255                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
256                     <td class="sig">
257
258                         <a id="Roo.form.BasicForm-cfg-method" name=".method"></a>
259                         <div class="fixedFont">
260                                 <b  class="itemname">method</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
261                                 
262                                 
263                         </div>
264                   
265                         <div class="mdesc">
266                             <div class="short">The request method to use (GET or POST) for form actions if one isn't supplied in the action options.</div> 
267                         </div>
268                         
269                         <div class="mdesc">
270                             <div class="long">The request method to use (GET or POST) for form actions if one isn't supplied in the action options.</div> 
271                         </div>
272                         
273                         
274
275                     </td>
276                     <td class="msource">
277                         
278                         Roo.form.BasicForm
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.form.BasicForm-cfg-reader" name=".reader"></a>
289                         <div class="fixedFont">
290                                 <b  class="itemname">reader</b> : DataReader
291                                 
292                                 
293                         </div>
294                   
295                         <div class="mdesc">
296                             <div class="short">An Roo.data.DataReader (e.g.</div> 
297                         </div>
298                         
299                         <div class="mdesc">
300                             <div class="long">An Roo.data.DataReader (e.g. {<b>link</b> Roo.data.XmlReader}) to be used to read data when executing "load" actions.<br/>This is optional as there is built-in support for processing JSON.</div> 
301                         </div>
302                         
303                         
304
305                     </td>
306                     <td class="msource">
307                         
308                         Roo.form.BasicForm
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.form.BasicForm-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">Timeout for form actions in seconds (default is 30 seconds).</div> 
327                         </div>
328                         
329                         <div class="mdesc">
330                             <div class="long">Timeout for form actions in seconds (default is 30 seconds).</div> 
331                         </div>
332                         
333                         
334
335                     </td>
336                     <td class="msource">
337                         
338                         Roo.form.BasicForm
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.form.BasicForm-cfg-trackResetOnLoad" name=".trackResetOnLoad"></a>
349                         <div class="fixedFont">
350                                 <b  class="itemname">trackResetOnLoad</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
351                                 
352                                 
353                         </div>
354                   
355                         <div class="mdesc">
356                             <div class="short">If set to true, form.reset() resets to the last loaded<br/>or setValues() data instead of when the form was first created.</div> 
357                         </div>
358                         
359                         <div class="mdesc">
360                             <div class="long">If set to true, form.reset() resets to the last loaded<br/>or setValues() data instead of when the form was first created.</div> 
361                         </div>
362                         
363                         
364
365                     </td>
366                     <td class="msource">
367                         
368                         Roo.form.BasicForm
369                                 
370                     </td>
371                 </tr>
372         
373         
374                 <tr class="config-row expandable config-row-alt0 notInherited">
375                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
376                     <td class="sig">
377
378                         <a id="Roo.form.BasicForm-cfg-url" name=".url"></a>
379                         <div class="fixedFont">
380                                 <b  class="itemname">url</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
381                                 
382                                 
383                         </div>
384                   
385                         <div class="mdesc">
386                             <div class="short">The URL to use for form actions if one isn't supplied in the action options.</div> 
387                         </div>
388                         
389                         <div class="mdesc">
390                             <div class="long">The URL to use for form actions if one isn't supplied in the action options.</div> 
391                         </div>
392                         
393                         
394
395                     </td>
396                     <td class="msource">
397                         
398                         Roo.form.BasicForm
399                                 
400                     </td>
401                 </tr>
402         
403         
404     </table>
405                 
406   
407   
408   
409   
410   
411   
412   
413   
414   <!-- ============================== public properties ==================== -->        
415   
416   
417   
418     <a id="Roo.form.BasicForm-props"></a>      
419     
420     
421
422     
423     
424      <table cellspacing="0" class="member-table">
425       <caption class="Empty">Public Properties - Has None</caption>
426      </table>
427     
428     
429      
430     
431   <!-- ============================== methods summary / details ======================== -->
432   
433   
434   <a id="Roo.form.BasicForm-methods"></a>
435         <!-- constructor?? -->
436         
437         <!-- static's first 
438         
439         
440         -->
441         
442         <!-- then dynamics first -->
443         
444   
445   
446     
447     
448     
449       <table cellspacing="0" class="member-table">
450       <caption>Public Methods</caption>
451         <tr>
452             <th class="sig-header" colspan="2">Method</th>            
453             <th class="msource-header">Defined By</th>
454
455         </tr>
456         
457         
458         
459          
460         
461         
462           
463           <tr class="method-row config-row-alt0 expandable notInherited">
464             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
465            
466            
467             <td class="sig">
468                 <a id="Roo.form-method-BasicForm"   name=".BasicForm"></a>
469                 <div class="fixedFont">
470                         <span class="attributes">new <B>Roo.form.</B></span><b class="itemname">BasicForm</b>
471                                 
472                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element <B><i>el</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>) 
473                         
474                                 
475                         
476                 </div>
477                 <div class="mdesc">
478                 
479                  
480                         <div class="short">Create a new Roo.form.BasicForm</div> 
481                  
482                  
483                     <div class="long">
484                         
485                         
486                         
487                                 Create a new Roo.form.BasicForm
488                         
489                         
490                                 <dl class="detailList">
491                                 <dt class="heading">Parameters:</dt>
492                                 
493                                         <dt>
494                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span>  <b>el</b>
495                                                 
496                                         </dt>
497                                         <dd>The form element or its id</dd>
498                                 
499                                         <dt>
500                                                 <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>
501                                                 
502                                         </dt>
503                                         <dd>Configuration options</dd>
504                                 
505                                 </dl>
506                         
507                         
508                         
509                         
510                         
511                         
512                         
513
514                     
515                     
516                      
517                     </div>                    
518                 </div>
519
520             </td>
521             <td class="msource">
522                 &nbsp;
523             </td>
524         </tr>
525         
526           
527           <tr class="method-row config-row-alt1 expandable notInherited">
528             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
529            
530            
531             <td class="sig">
532                 <a id="Roo.form.BasicForm-method-add"   name=".add"></a>
533                 <div class="fixedFont">
534                         <span class="attributes"></span><b class="itemname">add</b>
535                                 
536                                  (Field <B><i>field1</i></B>, Field <B><i>field2</i></B>, Field <B><i>etc</i></B>) 
537                         
538                                 
539                                          : 
540                                         
541                                                 
542                                                 BasicForm
543                                         
544                                         
545                                         
546                                 
547                         
548                 </div>
549                 <div class="mdesc">
550                 
551                    <div class="short">Add Roo.form components to this form.</div> 
552                  
553                  
554                  
555                     <div class="long">
556                         
557                                 Add Roo.form components to this form.
558                     
559                                 
560                         
561                         
562                         
563                         
564                                 <dl class="detailList">
565                                 <dt class="heading">Parameters:</dt>
566                                 
567                                         <dt>
568                                                 <span class="fixedFont">Field</span>  <b>field1</b>
569                                                 
570                                         </dt>
571                                         <dd></dd>
572                                 
573                                         <dt>
574                                                 <span class="fixedFont">Field</span>  <b>field2</b>
575                                                 
576                                         </dt>
577                                         <dd>(optional)</dd>
578                                 
579                                         <dt>
580                                                 <span class="fixedFont">Field</span>  <b>etc</b>
581                                                 
582                                         </dt>
583                                         <dd>(optional)</dd>
584                                 
585                                 </dl>
586                         
587                         
588                         
589                         
590                         
591                                 <dl class="detailList">
592                                 <dt class="heading">Returns:</dt>
593                                 
594                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
595                                 
596                                 </dl>
597                         
598                         
599                         
600
601                     
602                     
603                      
604                     </div>                    
605                 </div>
606
607             </td>
608             <td class="msource">
609                 
610                         Roo.form.BasicForm
611                 &nbsp;
612             </td>
613         </tr>
614         
615           
616           <tr class="method-row config-row-alt0 expandable">
617             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
618            
619            
620             <td class="sig">
621                 <a id="Roo.util.Observable-method-addEvents"   name=".addEvents"></a>
622                 <div class="fixedFont">
623                         <span class="attributes"></span><b class="itemname">addEvents</b>
624                                 
625                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>) 
626                         
627                                 
628                         
629                 </div>
630                 <div class="mdesc">
631                 
632                    <div class="short">Used to define events on this Observable</div> 
633                  
634                  
635                  
636                     <div class="long">
637                         
638                                 Used to define events on this Observable
639                     
640                                 
641                         
642                         
643                         
644                         
645                                 <dl class="detailList">
646                                 <dt class="heading">Parameters:</dt>
647                                 
648                                         <dt>
649                                                 <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>
650                                                 
651                                         </dt>
652                                         <dd>The object with the events defined</dd>
653                                 
654                                 </dl>
655                         
656                         
657                         
658                         
659                         
660                         
661                         
662
663                     
664                     
665                      
666                     </div>                    
667                 </div>
668
669             </td>
670             <td class="msource">
671                 
672                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
673                 &nbsp;
674             </td>
675         </tr>
676         
677           
678           <tr class="method-row config-row-alt1 expandable notInherited">
679             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
680            
681            
682             <td class="sig">
683                 <a id="Roo.form.BasicForm-method-addForm"   name=".addForm"></a>
684                 <div class="fixedFont">
685                         <span class="attributes"></span><b class="itemname">addForm</b>
686                                 
687                                  (<a href="./Roo.form.Form.html#constructor" roo:cls="Roo.form.Form.html#constructor">Roo.form.Form</a> <B><i>form</i></B>) 
688                         
689                                 
690                         
691                 </div>
692                 <div class="mdesc">
693                 
694                    <div class="short">Add a secondary form to this one, <br/>Used to provide tabbed forms.</div> 
695                  
696                  
697                  
698                     <div class="long">
699                         
700                                 Add a secondary form to this one, <br/>Used to provide tabbed forms. One form is primary, with hidden values <br/>which mirror the elements from the other forms.
701                     
702                                 
703                         
704                         
705                         
706                         
707                                 <dl class="detailList">
708                                 <dt class="heading">Parameters:</dt>
709                                 
710                                         <dt>
711                                                 <span class="fixedFont"><a href="./Roo.form.Form.html#constructor" roo:cls="Roo.form.Form.html#constructor">Roo.form.Form</a></span>  <b>form</b>
712                                                 
713                                         </dt>
714                                         <dd>to add.</dd>
715                                 
716                                 </dl>
717                         
718                         
719                         
720                         
721                         
722                         
723                         
724
725                     
726                     
727                      
728                     </div>                    
729                 </div>
730
731             </td>
732             <td class="msource">
733                 
734                         Roo.form.BasicForm
735                 &nbsp;
736             </td>
737         </tr>
738         
739           
740           <tr class="method-row config-row-alt0 expandable">
741             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
742            
743            
744             <td class="sig">
745                 <a id="Roo.util.Observable-method-addListener"   name=".addListener"></a>
746                 <div class="fixedFont">
747                         <span class="attributes"></span><b class="itemname">addListener</b>
748                                 
749                                  (<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>) 
750                         
751                                 
752                         
753                 </div>
754                 <div class="mdesc">
755                 
756                    <div class="short">Appends an event handler to this component</div> 
757                  
758                  
759                  
760                     <div class="long">
761                         
762                                 Appends an event handler to this component
763                     
764                                 
765                         
766                         
767                         
768                         
769                                 <dl class="detailList">
770                                 <dt class="heading">Parameters:</dt>
771                                 
772                                         <dt>
773                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
774                                                 
775                                         </dt>
776                                         <dd>The type of event to listen for</dd>
777                                 
778                                         <dt>
779                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
780                                                 
781                                         </dt>
782                                         <dd>The method the event invokes</dd>
783                                 
784                                         <dt>
785                                                 <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>
786                                                 
787                                         </dt>
788                                         <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
789                                 
790                                         <dt>
791                                                 <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>
792                                                 
793                                         </dt>
794                                         <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>
795                                 
796                                 </dl>
797                         
798                         
799                         
800                         
801                         
802                         
803                         
804
805                     
806                     
807                      
808                     </div>                    
809                 </div>
810
811             </td>
812             <td class="msource">
813                 
814                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
815                 &nbsp;
816             </td>
817         </tr>
818         
819           
820           <tr class="method-row config-row-alt1 expandable notInherited">
821             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
822            
823            
824             <td class="sig">
825                 <a id="Roo.form.BasicForm-method-applyIfToFields"   name=".applyIfToFields"></a>
826                 <div class="fixedFont">
827                         <span class="attributes"></span><b class="itemname">applyIfToFields</b>
828                                 
829                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>values</i></B>) 
830                         
831                                 
832                                          : 
833                                         
834                                                 
835                                                 BasicForm
836                                         
837                                         
838                                         
839                                 
840                         
841                 </div>
842                 <div class="mdesc">
843                 
844                    <div class="short">Calls {<b>link</b> Ext<b>applyIf</b>} for all field in this form with the passed object.</div> 
845                  
846                  
847                  
848                     <div class="long">
849                         
850                                 Calls {<b>link</b> Ext<b>applyIf</b>} for all field in this form with the passed object.
851                     
852                                 
853                         
854                         
855                         
856                         
857                                 <dl class="detailList">
858                                 <dt class="heading">Parameters:</dt>
859                                 
860                                         <dt>
861                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>values</b>
862                                                 
863                                         </dt>
864                                         <dd></dd>
865                                 
866                                 </dl>
867                         
868                         
869                         
870                         
871                         
872                                 <dl class="detailList">
873                                 <dt class="heading">Returns:</dt>
874                                 
875                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
876                                 
877                                 </dl>
878                         
879                         
880                         
881
882                     
883                     
884                      
885                     </div>                    
886                 </div>
887
888             </td>
889             <td class="msource">
890                 
891                         Roo.form.BasicForm
892                 &nbsp;
893             </td>
894         </tr>
895         
896           
897           <tr class="method-row config-row-alt0 expandable notInherited">
898             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
899            
900            
901             <td class="sig">
902                 <a id="Roo.form.BasicForm-method-applyToFields"   name=".applyToFields"></a>
903                 <div class="fixedFont">
904                         <span class="attributes"></span><b class="itemname">applyToFields</b>
905                                 
906                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>values</i></B>) 
907                         
908                                 
909                                          : 
910                                         
911                                                 
912                                                 BasicForm
913                                         
914                                         
915                                         
916                                 
917                         
918                 </div>
919                 <div class="mdesc">
920                 
921                    <div class="short">Calls {<b>link</b> Ext<b>apply</b>} for all fields in this form with the passed object.</div> 
922                  
923                  
924                  
925                     <div class="long">
926                         
927                                 Calls {<b>link</b> Ext<b>apply</b>} for all fields in this form with the passed object.
928                     
929                                 
930                         
931                         
932                         
933                         
934                                 <dl class="detailList">
935                                 <dt class="heading">Parameters:</dt>
936                                 
937                                         <dt>
938                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>values</b>
939                                                 
940                                         </dt>
941                                         <dd></dd>
942                                 
943                                 </dl>
944                         
945                         
946                         
947                         
948                         
949                                 <dl class="detailList">
950                                 <dt class="heading">Returns:</dt>
951                                 
952                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
953                                 
954                                 </dl>
955                         
956                         
957                         
958
959                     
960                     
961                      
962                     </div>                    
963                 </div>
964
965             </td>
966             <td class="msource">
967                 
968                         Roo.form.BasicForm
969                 &nbsp;
970             </td>
971         </tr>
972         
973           
974           <tr class="method-row config-row-alt1 expandable notInherited">
975             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
976            
977            
978             <td class="sig">
979                 <a id="Roo.form.BasicForm-method-clearInvalid"   name=".clearInvalid"></a>
980                 <div class="fixedFont">
981                         <span class="attributes"></span><b class="itemname">clearInvalid</b>
982                                 
983                                  () 
984                         
985                                 
986                                          : 
987                                         
988                                                 
989                                                 BasicForm
990                                         
991                                         
992                                         
993                                 
994                         
995                 </div>
996                 <div class="mdesc">
997                 
998                    <div class="short">Clears all invalid messages in this form.</div> 
999                  
1000                  
1001                  
1002                     <div class="long">
1003                         
1004                                 Clears all invalid messages in this form.
1005                     
1006                                 
1007                         
1008                         
1009                         
1010                         
1011                         
1012                         
1013                         
1014                         
1015                                 <dl class="detailList">
1016                                 <dt class="heading">Returns:</dt>
1017                                 
1018                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
1019                                 
1020                                 </dl>
1021                         
1022                         
1023                         
1024
1025                     
1026                     
1027                      
1028                     </div>                    
1029                 </div>
1030
1031             </td>
1032             <td class="msource">
1033                 
1034                         Roo.form.BasicForm
1035                 &nbsp;
1036             </td>
1037         </tr>
1038         
1039           
1040           <tr class="method-row config-row-alt0 expandable notInherited">
1041             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1042            
1043            
1044             <td class="sig">
1045                 <a id="Roo.form.BasicForm-method-doAction"   name=".doAction"></a>
1046                 <div class="fixedFont">
1047                         <span class="attributes"></span><b class="itemname">doAction</b>
1048                                 
1049                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>actionName</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>) 
1050                         
1051                                 
1052                                          : 
1053                                         
1054                                                 
1055                                                 BasicForm
1056                                         
1057                                         
1058                                         
1059                                 
1060                         
1061                 </div>
1062                 <div class="mdesc">
1063                 
1064                    <div class="short">Performs a predefined action (submit or load) or custom actions you define on this form.</div> 
1065                  
1066                  
1067                  
1068                     <div class="long">
1069                         
1070                                 Performs a predefined action (submit or load) or custom actions you define on this form.
1071                     
1072                                 
1073                         
1074                         
1075                         
1076                         
1077                                 <dl class="detailList">
1078                                 <dt class="heading">Parameters:</dt>
1079                                 
1080                                         <dt>
1081                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>actionName</b>
1082                                                 
1083                                         </dt>
1084                                         <dd>The name of the action type</dd>
1085                                 
1086                                         <dt>
1087                                                 <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>
1088                                                 
1089                                         </dt>
1090                                         <dd>(optional) The options to pass to the action.  All of the config options listed<br/>below are supported by both the submit and load actions unless otherwise noted (custom actions could also<br/>accept other config options):<br/><pre><br/>Property          Type             Description<br/>----------------  ---------------  ----------------------------------------------------------------------------------<br/>url               String           The url for the action (defaults to the form's url)<br/>method            String           The form method to use (defaults to the form's method, or POST if not defined)<br/>params            String/Object    The params to pass (defaults to the form's baseParams, or none if not defined)<br/>clientValidation  Boolean          Applies to submit only.  Pass true to call form.isValid() prior to posting to<br/>                                   validate the form on the client (defaults to false)<br/></pre></dd>
1091                                 
1092                                 </dl>
1093                         
1094                         
1095                         
1096                         
1097                         
1098                                 <dl class="detailList">
1099                                 <dt class="heading">Returns:</dt>
1100                                 
1101                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
1102                                 
1103                                 </dl>
1104                         
1105                         
1106                         
1107
1108                     
1109                     
1110                      
1111                     </div>                    
1112                 </div>
1113
1114             </td>
1115             <td class="msource">
1116                 
1117                         Roo.form.BasicForm
1118                 &nbsp;
1119             </td>
1120         </tr>
1121         
1122           
1123           <tr class="method-row config-row-alt1 expandable notInherited">
1124             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1125            
1126            
1127             <td class="sig">
1128                 <a id="Roo.form.BasicForm-method-findField"   name=".findField"></a>
1129                 <div class="fixedFont">
1130                         <span class="attributes"></span><b class="itemname">findField</b>
1131                                 
1132                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>id</i></B>) 
1133                         
1134                                 
1135                                          : 
1136                                         
1137                                                 
1138                                                 
1139                                         
1140                                         
1141                                         
1142                                 
1143                         
1144                 </div>
1145                 <div class="mdesc">
1146                 
1147                    <div class="short">Find a Roo.form.Field in this form by id, dataIndex, name or hiddenName</div> 
1148                  
1149                  
1150                  
1151                     <div class="long">
1152                         
1153                                 Find a Roo.form.Field in this form by id, dataIndex, name or hiddenName
1154                     
1155                                 
1156                         
1157                         
1158                         
1159                         
1160                                 <dl class="detailList">
1161                                 <dt class="heading">Parameters:</dt>
1162                                 
1163                                         <dt>
1164                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>id</b>
1165                                                 
1166                                         </dt>
1167                                         <dd>The value to search for</dd>
1168                                 
1169                                 </dl>
1170                         
1171                         
1172                         
1173                         
1174                         
1175                                 <dl class="detailList">
1176                                 <dt class="heading">Returns:</dt>
1177                                 
1178                                         <dd> Field</dd>
1179                                 
1180                                 </dl>
1181                         
1182                         
1183                         
1184
1185                     
1186                     
1187                      
1188                     </div>                    
1189                 </div>
1190
1191             </td>
1192             <td class="msource">
1193                 
1194                         Roo.form.BasicForm
1195                 &nbsp;
1196             </td>
1197         </tr>
1198         
1199           
1200           <tr class="method-row config-row-alt0 expandable">
1201             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1202            
1203            
1204             <td class="sig">
1205                 <a id="Roo.util.Observable-method-fireEvent"   name=".fireEvent"></a>
1206                 <div class="fixedFont">
1207                         <span class="attributes"></span><b class="itemname">fireEvent</b>
1208                                 
1209                                  (<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>) 
1210                         
1211                                 
1212                                          : 
1213                                         
1214                                                 
1215                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1216                                         
1217                                         
1218                                         
1219                                 
1220                         
1221                 </div>
1222                 <div class="mdesc">
1223                 
1224                    <div class="short">Fires the specified event with the passed parameters (minus the event name).</div> 
1225                  
1226                  
1227                  
1228                     <div class="long">
1229                         
1230                                 Fires the specified event with the passed parameters (minus the event name).
1231                     
1232                                 
1233                         
1234                         
1235                         
1236                         
1237                                 <dl class="detailList">
1238                                 <dt class="heading">Parameters:</dt>
1239                                 
1240                                         <dt>
1241                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
1242                                                 
1243                                         </dt>
1244                                         <dd></dd>
1245                                 
1246                                         <dt>
1247                                                 <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>
1248                                                 
1249                                         </dt>
1250                                         <dd>Variable number of parameters are passed to handlers</dd>
1251                                 
1252                                 </dl>
1253                         
1254                         
1255                         
1256                         
1257                         
1258                                 <dl class="detailList">
1259                                 <dt class="heading">Returns:</dt>
1260                                 
1261                                         <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>
1262                                 
1263                                 </dl>
1264                         
1265                         
1266                         
1267
1268                     
1269                     
1270                      
1271                     </div>                    
1272                 </div>
1273
1274             </td>
1275             <td class="msource">
1276                 
1277                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1278                 &nbsp;
1279             </td>
1280         </tr>
1281         
1282           
1283           <tr class="method-row config-row-alt1 expandable notInherited">
1284             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1285            
1286            
1287             <td class="sig">
1288                 <a id="Roo.form.BasicForm-method-getFieldValues"   name=".getFieldValues"></a>
1289                 <div class="fixedFont">
1290                         <span class="attributes"></span><b class="itemname">getFieldValues</b>
1291                                 
1292                                  () 
1293                         
1294                                 
1295                                          : 
1296                                         
1297                                                 
1298                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1299                                         
1300                                         
1301                                         
1302                                 
1303                         
1304                 </div>
1305                 <div class="mdesc">
1306                 
1307                    <div class="short">Returns the fields in this form as an object with key/value pairs.</div> 
1308                  
1309                  
1310                  
1311                     <div class="long">
1312                         
1313                                 Returns the fields in this form as an object with key/value pairs. <br/>This differs from getValues as it calls getValue on each child item, rather than using dom data.
1314                     
1315                                 
1316                         
1317                         
1318                         
1319                         
1320                         
1321                         
1322                         
1323                         
1324                                 <dl class="detailList">
1325                                 <dt class="heading">Returns:</dt>
1326                                 
1327                                         <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  </dd>
1328                                 
1329                                 </dl>
1330                         
1331                         
1332                         
1333
1334                     
1335                     
1336                      
1337                     </div>                    
1338                 </div>
1339
1340             </td>
1341             <td class="msource">
1342                 
1343                         Roo.form.BasicForm
1344                 &nbsp;
1345             </td>
1346         </tr>
1347         
1348           
1349           <tr class="method-row config-row-alt0 expandable notInherited">
1350             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1351            
1352            
1353             <td class="sig">
1354                 <a id="Roo.form.BasicForm-method-getValues"   name=".getValues"></a>
1355                 <div class="fixedFont">
1356                         <span class="attributes"></span><b class="itemname">getValues</b>
1357                                 
1358                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>asString</i></B>) 
1359                         
1360                                 
1361                                          : 
1362                                         
1363                                                 
1364                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1365                                         
1366                                         
1367                                         
1368                                 
1369                         
1370                 </div>
1371                 <div class="mdesc">
1372                 
1373                    <div class="short">Returns the fields in this form as an object with key/value pairs.</div> 
1374                  
1375                  
1376                  
1377                     <div class="long">
1378                         
1379                                 Returns the fields in this form as an object with key/value pairs. If multiple fields exist with the same name<br/>they are returned as an array.
1380                     
1381                                 
1382                         
1383                         
1384                         
1385                         
1386                                 <dl class="detailList">
1387                                 <dt class="heading">Parameters:</dt>
1388                                 
1389                                         <dt>
1390                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  <b>asString</b>
1391                                                 
1392                                         </dt>
1393                                         <dd></dd>
1394                                 
1395                                 </dl>
1396                         
1397                         
1398                         
1399                         
1400                         
1401                                 <dl class="detailList">
1402                                 <dt class="heading">Returns:</dt>
1403                                 
1404                                         <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  </dd>
1405                                 
1406                                 </dl>
1407                         
1408                         
1409                         
1410
1411                     
1412                     
1413                      
1414                     </div>                    
1415                 </div>
1416
1417             </td>
1418             <td class="msource">
1419                 
1420                         Roo.form.BasicForm
1421                 &nbsp;
1422             </td>
1423         </tr>
1424         
1425           
1426           <tr class="method-row config-row-alt1 expandable">
1427             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1428            
1429            
1430             <td class="sig">
1431                 <a id="Roo.util.Observable-method-hasListener"   name=".hasListener"></a>
1432                 <div class="fixedFont">
1433                         <span class="attributes"></span><b class="itemname">hasListener</b>
1434                                 
1435                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>) 
1436                         
1437                                 
1438                                          : 
1439                                         
1440                                                 
1441                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1442                                         
1443                                         
1444                                         
1445                                 
1446                         
1447                 </div>
1448                 <div class="mdesc">
1449                 
1450                    <div class="short">Checks to see if this object has any listeners for a specified event</div> 
1451                  
1452                  
1453                  
1454                     <div class="long">
1455                         
1456                                 Checks to see if this object has any listeners for a specified event
1457                     
1458                                 
1459                         
1460                         
1461                         
1462                         
1463                                 <dl class="detailList">
1464                                 <dt class="heading">Parameters:</dt>
1465                                 
1466                                         <dt>
1467                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
1468                                                 
1469                                         </dt>
1470                                         <dd>The name of the event to check for</dd>
1471                                 
1472                                 </dl>
1473                         
1474                         
1475                         
1476                         
1477                         
1478                                 <dl class="detailList">
1479                                 <dt class="heading">Returns:</dt>
1480                                 
1481                                         <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>
1482                                 
1483                                 </dl>
1484                         
1485                         
1486                         
1487
1488                     
1489                     
1490                      
1491                     </div>                    
1492                 </div>
1493
1494             </td>
1495             <td class="msource">
1496                 
1497                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1498                 &nbsp;
1499             </td>
1500         </tr>
1501         
1502           
1503           <tr class="method-row config-row-alt0 expandable notInherited">
1504             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1505            
1506            
1507             <td class="sig">
1508                 <a id="Roo.form.BasicForm-method-isDirty"   name=".isDirty"></a>
1509                 <div class="fixedFont">
1510                         <span class="attributes"></span><b class="itemname">isDirty</b>
1511                                 
1512                                  () 
1513                         
1514                                 
1515                                          : 
1516                                         
1517                                                 
1518                                                 
1519                                         
1520                                         
1521                                         
1522                                 
1523                         
1524                 </div>
1525                 <div class="mdesc">
1526                 
1527                    <div class="short">Returns true if any fields in this form have changed since their original load.</div> 
1528                  
1529                  
1530                  
1531                     <div class="long">
1532                         
1533                                 Returns true if any fields in this form have changed since their original load.
1534                     
1535                                 
1536                         
1537                         
1538                         
1539                         
1540                         
1541                         
1542                         
1543                         
1544                                 <dl class="detailList">
1545                                 <dt class="heading">Returns:</dt>
1546                                 
1547                                         <dd> Boolean</dd>
1548                                 
1549                                 </dl>
1550                         
1551                         
1552                         
1553
1554                     
1555                     
1556                      
1557                     </div>                    
1558                 </div>
1559
1560             </td>
1561             <td class="msource">
1562                 
1563                         Roo.form.BasicForm
1564                 &nbsp;
1565             </td>
1566         </tr>
1567         
1568           
1569           <tr class="method-row config-row-alt1 expandable notInherited">
1570             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1571            
1572            
1573             <td class="sig">
1574                 <a id="Roo.form.BasicForm-method-isValid"   name=".isValid"></a>
1575                 <div class="fixedFont">
1576                         <span class="attributes"></span><b class="itemname">isValid</b>
1577                                 
1578                                  () 
1579                         
1580                                 
1581                                          : 
1582                                         
1583                                                 
1584                                                 
1585                                         
1586                                         
1587                                         
1588                                 
1589                         
1590                 </div>
1591                 <div class="mdesc">
1592                 
1593                    <div class="short">Returns true if client-side validation on the form is successful.</div> 
1594                  
1595                  
1596                  
1597                     <div class="long">
1598                         
1599                                 Returns true if client-side validation on the form is successful.
1600                     
1601                                 
1602                         
1603                         
1604                         
1605                         
1606                         
1607                         
1608                         
1609                         
1610                                 <dl class="detailList">
1611                                 <dt class="heading">Returns:</dt>
1612                                 
1613                                         <dd> Boolean</dd>
1614                                 
1615                                 </dl>
1616                         
1617                         
1618                         
1619
1620                     
1621                     
1622                      
1623                     </div>                    
1624                 </div>
1625
1626             </td>
1627             <td class="msource">
1628                 
1629                         Roo.form.BasicForm
1630                 &nbsp;
1631             </td>
1632         </tr>
1633         
1634           
1635           <tr class="method-row config-row-alt0 expandable notInherited">
1636             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1637            
1638            
1639             <td class="sig">
1640                 <a id="Roo.form.BasicForm-method-load"   name=".load"></a>
1641                 <div class="fixedFont">
1642                         <span class="attributes"></span><b class="itemname">load</b>
1643                                 
1644                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>) 
1645                         
1646                                 
1647                                          : 
1648                                         
1649                                                 
1650                                                 BasicForm
1651                                         
1652                                         
1653                                         
1654                                 
1655                         
1656                 </div>
1657                 <div class="mdesc">
1658                 
1659                    <div class="short">Shortcut to do a load action.</div> 
1660                  
1661                  
1662                  
1663                     <div class="long">
1664                         
1665                                 Shortcut to do a load action.
1666                     
1667                                 
1668                         
1669                         
1670                         
1671                         
1672                                 <dl class="detailList">
1673                                 <dt class="heading">Parameters:</dt>
1674                                 
1675                                         <dt>
1676                                                 <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>
1677                                                 
1678                                         </dt>
1679                                         <dd>The options to pass to the action (see {<b>link</b> <b>doAction</b>} for details)</dd>
1680                                 
1681                                 </dl>
1682                         
1683                         
1684                         
1685                         
1686                         
1687                                 <dl class="detailList">
1688                                 <dt class="heading">Returns:</dt>
1689                                 
1690                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
1691                                 
1692                                 </dl>
1693                         
1694                         
1695                         
1696
1697                     
1698                     
1699                      
1700                     </div>                    
1701                 </div>
1702
1703             </td>
1704             <td class="msource">
1705                 
1706                         Roo.form.BasicForm
1707                 &nbsp;
1708             </td>
1709         </tr>
1710         
1711           
1712           <tr class="method-row config-row-alt1 expandable notInherited">
1713             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1714            
1715            
1716             <td class="sig">
1717                 <a id="Roo.form.BasicForm-method-loadRecord"   name=".loadRecord"></a>
1718                 <div class="fixedFont">
1719                         <span class="attributes"></span><b class="itemname">loadRecord</b>
1720                                 
1721                                  (Record <B><i>record</i></B>) 
1722                         
1723                                 
1724                                          : 
1725                                         
1726                                                 
1727                                                 BasicForm
1728                                         
1729                                         
1730                                         
1731                                 
1732                         
1733                 </div>
1734                 <div class="mdesc">
1735                 
1736                    <div class="short">Loads an Roo.data.Record into this form.</div> 
1737                  
1738                  
1739                  
1740                     <div class="long">
1741                         
1742                                 Loads an Roo.data.Record into this form.
1743                     
1744                                 
1745                         
1746                         
1747                         
1748                         
1749                                 <dl class="detailList">
1750                                 <dt class="heading">Parameters:</dt>
1751                                 
1752                                         <dt>
1753                                                 <span class="fixedFont">Record</span>  <b>record</b>
1754                                                 
1755                                         </dt>
1756                                         <dd>The record to load</dd>
1757                                 
1758                                 </dl>
1759                         
1760                         
1761                         
1762                         
1763                         
1764                                 <dl class="detailList">
1765                                 <dt class="heading">Returns:</dt>
1766                                 
1767                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
1768                                 
1769                                 </dl>
1770                         
1771                         
1772                         
1773
1774                     
1775                     
1776                      
1777                     </div>                    
1778                 </div>
1779
1780             </td>
1781             <td class="msource">
1782                 
1783                         Roo.form.BasicForm
1784                 &nbsp;
1785             </td>
1786         </tr>
1787         
1788           
1789           <tr class="method-row config-row-alt0 expandable notInherited">
1790             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1791            
1792            
1793             <td class="sig">
1794                 <a id="Roo.form.BasicForm-method-markInvalid"   name=".markInvalid"></a>
1795                 <div class="fixedFont">
1796                         <span class="attributes"></span><b class="itemname">markInvalid</b>
1797                                 
1798                                  (<a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>/Object <B><i>errors</i></B>) 
1799                         
1800                                 
1801                                          : 
1802                                         
1803                                                 
1804                                                 BasicForm
1805                                         
1806                                         
1807                                         
1808                                 
1809                         
1810                 </div>
1811                 <div class="mdesc">
1812                 
1813                    <div class="short">Mark fields in this form invalid in bulk.</div> 
1814                  
1815                  
1816                  
1817                     <div class="long">
1818                         
1819                                 Mark fields in this form invalid in bulk.
1820                     
1821                                 
1822                         
1823                         
1824                         
1825                         
1826                                 <dl class="detailList">
1827                                 <dt class="heading">Parameters:</dt>
1828                                 
1829                                         <dt>
1830                                                 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>/Object</span>  <b>errors</b>
1831                                                 
1832                                         </dt>
1833                                         <dd>Either an array in the form [{id:'fieldId', msg:'The message'},...] or an object hash of {id: msg, id2: msg2}</dd>
1834                                 
1835                                 </dl>
1836                         
1837                         
1838                         
1839                         
1840                         
1841                                 <dl class="detailList">
1842                                 <dt class="heading">Returns:</dt>
1843                                 
1844                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
1845                                 
1846                                 </dl>
1847                         
1848                         
1849                         
1850
1851                     
1852                     
1853                      
1854                     </div>                    
1855                 </div>
1856
1857             </td>
1858             <td class="msource">
1859                 
1860                         Roo.form.BasicForm
1861                 &nbsp;
1862             </td>
1863         </tr>
1864         
1865           
1866           <tr class="method-row config-row-alt1 expandable">
1867             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1868            
1869            
1870             <td class="sig">
1871                 <a id="Roo.util.Observable-method-on"   name=".on"></a>
1872                 <div class="fixedFont">
1873                         <span class="attributes"></span><b class="itemname">on</b>
1874                                 
1875                                  (<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>) 
1876                         
1877                                 
1878                         
1879                 </div>
1880                 <div class="mdesc">
1881                 
1882                    <div class="short">Appends an event handler to this element (shorthand for addListener)</div> 
1883                  
1884                  
1885                  
1886                     <div class="long">
1887                         
1888                                 Appends an event handler to this element (shorthand for addListener)
1889                     
1890                                 
1891                         
1892                         
1893                         
1894                         
1895                                 <dl class="detailList">
1896                                 <dt class="heading">Parameters:</dt>
1897                                 
1898                                         <dt>
1899                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
1900                                                 
1901                                         </dt>
1902                                         <dd>The type of event to listen for</dd>
1903                                 
1904                                         <dt>
1905                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
1906                                                 
1907                                         </dt>
1908                                         <dd>The method the event invokes</dd>
1909                                 
1910                                         <dt>
1911                                                 <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>
1912                                                 
1913                                         </dt>
1914                                         <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1915                                 
1916                                         <dt>
1917                                                 <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>
1918                                                 
1919                                         </dt>
1920                                         <dd>(optional)</dd>
1921                                 
1922                                 </dl>
1923                         
1924                         
1925                         
1926                         
1927                         
1928                         
1929                         
1930
1931                     
1932                     
1933                      
1934                     </div>                    
1935                 </div>
1936
1937             </td>
1938             <td class="msource">
1939                 
1940                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1941                 &nbsp;
1942             </td>
1943         </tr>
1944         
1945           
1946           <tr class="method-row config-row-alt0 expandable">
1947             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1948            
1949            
1950             <td class="sig">
1951                 <a id="Roo.util.Observable-method-purgeListeners"   name=".purgeListeners"></a>
1952                 <div class="fixedFont">
1953                         <span class="attributes"></span><b class="itemname">purgeListeners</b>
1954                                 
1955                                  () 
1956                         
1957                                 
1958                         
1959                 </div>
1960                 <div class="mdesc">
1961                 
1962                    <div class="short">Removes all listeners for this object</div> 
1963                  
1964                  
1965                  
1966                     <div class="long">
1967                         
1968                                 Removes all listeners for this object
1969                     
1970                                 
1971                         
1972                         
1973                         
1974                         
1975                         
1976                         
1977                         
1978                         
1979                         
1980                         
1981
1982                     
1983                     
1984                      
1985                     </div>                    
1986                 </div>
1987
1988             </td>
1989             <td class="msource">
1990                 
1991                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1992                 &nbsp;
1993             </td>
1994         </tr>
1995         
1996           
1997           <tr class="method-row config-row-alt1 expandable notInherited">
1998             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1999            
2000            
2001             <td class="sig">
2002                 <a id="Roo.form.BasicForm-method-remove"   name=".remove"></a>
2003                 <div class="fixedFont">
2004                         <span class="attributes"></span><b class="itemname">remove</b>
2005                                 
2006                                  (Field <B><i>field</i></B>) 
2007                         
2008                                 
2009                                          : 
2010                                         
2011                                                 
2012                                                 BasicForm
2013                                         
2014                                         
2015                                         
2016                                 
2017                         
2018                 </div>
2019                 <div class="mdesc">
2020                 
2021                    <div class="short">Removes a field from the items collection (does NOT remove its markup).</div> 
2022                  
2023                  
2024                  
2025                     <div class="long">
2026                         
2027                                 Removes a field from the items collection (does NOT remove its markup).
2028                     
2029                                 
2030                         
2031                         
2032                         
2033                         
2034                                 <dl class="detailList">
2035                                 <dt class="heading">Parameters:</dt>
2036                                 
2037                                         <dt>
2038                                                 <span class="fixedFont">Field</span>  <b>field</b>
2039                                                 
2040                                         </dt>
2041                                         <dd></dd>
2042                                 
2043                                 </dl>
2044                         
2045                         
2046                         
2047                         
2048                         
2049                                 <dl class="detailList">
2050                                 <dt class="heading">Returns:</dt>
2051                                 
2052                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
2053                                 
2054                                 </dl>
2055                         
2056                         
2057                         
2058
2059                     
2060                     
2061                      
2062                     </div>                    
2063                 </div>
2064
2065             </td>
2066             <td class="msource">
2067                 
2068                         Roo.form.BasicForm
2069                 &nbsp;
2070             </td>
2071         </tr>
2072         
2073           
2074           <tr class="method-row config-row-alt0 expandable">
2075             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2076            
2077            
2078             <td class="sig">
2079                 <a id="Roo.util.Observable-method-removeListener"   name=".removeListener"></a>
2080                 <div class="fixedFont">
2081                         <span class="attributes"></span><b class="itemname">removeListener</b>
2082                                 
2083                                  (<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>) 
2084                         
2085                                 
2086                         
2087                 </div>
2088                 <div class="mdesc">
2089                 
2090                    <div class="short">Removes a listener</div> 
2091                  
2092                  
2093                  
2094                     <div class="long">
2095                         
2096                                 Removes a listener
2097                     
2098                                 
2099                         
2100                         
2101                         
2102                         
2103                                 <dl class="detailList">
2104                                 <dt class="heading">Parameters:</dt>
2105                                 
2106                                         <dt>
2107                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
2108                                                 
2109                                         </dt>
2110                                         <dd>The type of event to listen for</dd>
2111                                 
2112                                         <dt>
2113                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
2114                                                 
2115                                         </dt>
2116                                         <dd>The handler to remove</dd>
2117                                 
2118                                         <dt>
2119                                                 <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>
2120                                                 
2121                                         </dt>
2122                                         <dd>(optional) The scope (this object) for the handler</dd>
2123                                 
2124                                 </dl>
2125                         
2126                         
2127                         
2128                         
2129                         
2130                         
2131                         
2132
2133                     
2134                     
2135                      
2136                     </div>                    
2137                 </div>
2138
2139             </td>
2140             <td class="msource">
2141                 
2142                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2143                 &nbsp;
2144             </td>
2145         </tr>
2146         
2147           
2148           <tr class="method-row config-row-alt1 expandable notInherited">
2149             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2150            
2151            
2152             <td class="sig">
2153                 <a id="Roo.form.BasicForm-method-render"   name=".render"></a>
2154                 <div class="fixedFont">
2155                         <span class="attributes"></span><b class="itemname">render</b>
2156                                 
2157                                  () 
2158                         
2159                                 
2160                                          : 
2161                                         
2162                                                 
2163                                                 BasicForm
2164                                         
2165                                         
2166                                         
2167                                 
2168                         
2169                 </div>
2170                 <div class="mdesc">
2171                 
2172                    <div class="short">Looks at the fields in this form, checks them for an id attribute,<br/>and calls applyTo on the existing dom element with that id.</div> 
2173                  
2174                  
2175                  
2176                     <div class="long">
2177                         
2178                                 Looks at the fields in this form, checks them for an id attribute,<br/>and calls applyTo on the existing dom element with that id.
2179                     
2180                                 
2181                         
2182                         
2183                         
2184                         
2185                         
2186                         
2187                         
2188                         
2189                                 <dl class="detailList">
2190                                 <dt class="heading">Returns:</dt>
2191                                 
2192                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
2193                                 
2194                                 </dl>
2195                         
2196                         
2197                         
2198
2199                     
2200                     
2201                      
2202                     </div>                    
2203                 </div>
2204
2205             </td>
2206             <td class="msource">
2207                 
2208                         Roo.form.BasicForm
2209                 &nbsp;
2210             </td>
2211         </tr>
2212         
2213           
2214           <tr class="method-row config-row-alt0 expandable notInherited">
2215             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2216            
2217            
2218             <td class="sig">
2219                 <a id="Roo.form.BasicForm-method-reset"   name=".reset"></a>
2220                 <div class="fixedFont">
2221                         <span class="attributes"></span><b class="itemname">reset</b>
2222                                 
2223                                  () 
2224                         
2225                                 
2226                                          : 
2227                                         
2228                                                 
2229                                                 BasicForm
2230                                         
2231                                         
2232                                         
2233                                 
2234                         
2235                 </div>
2236                 <div class="mdesc">
2237                 
2238                    <div class="short">Resets this form.</div> 
2239                  
2240                  
2241                  
2242                     <div class="long">
2243                         
2244                                 Resets this form.
2245                     
2246                                 
2247                         
2248                         
2249                         
2250                         
2251                         
2252                         
2253                         
2254                         
2255                                 <dl class="detailList">
2256                                 <dt class="heading">Returns:</dt>
2257                                 
2258                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
2259                                 
2260                                 </dl>
2261                         
2262                         
2263                         
2264
2265                     
2266                     
2267                      
2268                     </div>                    
2269                 </div>
2270
2271             </td>
2272             <td class="msource">
2273                 
2274                         Roo.form.BasicForm
2275                 &nbsp;
2276             </td>
2277         </tr>
2278         
2279           
2280           <tr class="method-row config-row-alt1 expandable notInherited">
2281             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2282            
2283            
2284             <td class="sig">
2285                 <a id="Roo.form.BasicForm-method-setValues"   name=".setValues"></a>
2286                 <div class="fixedFont">
2287                         <span class="attributes"></span><b class="itemname">setValues</b>
2288                                 
2289                                  (<a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>/Object <B><i>values</i></B>) 
2290                         
2291                                 
2292                                          : 
2293                                         
2294                                                 
2295                                                 BasicForm
2296                                         
2297                                         
2298                                         
2299                                 
2300                         
2301                 </div>
2302                 <div class="mdesc">
2303                 
2304                    <div class="short">Set values for fields in this form in bulk.</div> 
2305                  
2306                  
2307                  
2308                     <div class="long">
2309                         
2310                                 Set values for fields in this form in bulk.
2311                     
2312                                 
2313                         
2314                         
2315                         
2316                         
2317                                 <dl class="detailList">
2318                                 <dt class="heading">Parameters:</dt>
2319                                 
2320                                         <dt>
2321                                                 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>/Object</span>  <b>values</b>
2322                                                 
2323                                         </dt>
2324                                         <dd>Either an array in the form [{id:'fieldId', value:'foo'},...] or an object hash of {id: value, id2: value2}</dd>
2325                                 
2326                                 </dl>
2327                         
2328                         
2329                         
2330                         
2331                         
2332                                 <dl class="detailList">
2333                                 <dt class="heading">Returns:</dt>
2334                                 
2335                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
2336                                 
2337                                 </dl>
2338                         
2339                         
2340                         
2341
2342                     
2343                     
2344                      
2345                     </div>                    
2346                 </div>
2347
2348             </td>
2349             <td class="msource">
2350                 
2351                         Roo.form.BasicForm
2352                 &nbsp;
2353             </td>
2354         </tr>
2355         
2356           
2357           <tr class="method-row config-row-alt0 expandable notInherited">
2358             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2359            
2360            
2361             <td class="sig">
2362                 <a id="Roo.form.BasicForm-method-submit"   name=".submit"></a>
2363                 <div class="fixedFont">
2364                         <span class="attributes"></span><b class="itemname">submit</b>
2365                                 
2366                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>) 
2367                         
2368                                 
2369                                          : 
2370                                         
2371                                                 
2372                                                 BasicForm
2373                                         
2374                                         
2375                                         
2376                                 
2377                         
2378                 </div>
2379                 <div class="mdesc">
2380                 
2381                    <div class="short">Shortcut to do a submit action.</div> 
2382                  
2383                  
2384                  
2385                     <div class="long">
2386                         
2387                                 Shortcut to do a submit action.
2388                     
2389                                 
2390                         
2391                         
2392                         
2393                         
2394                                 <dl class="detailList">
2395                                 <dt class="heading">Parameters:</dt>
2396                                 
2397                                         <dt>
2398                                                 <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>
2399                                                 
2400                                         </dt>
2401                                         <dd>The options to pass to the action (see {<b>link</b> <b>doAction</b>} for details)</dd>
2402                                 
2403                                 </dl>
2404                         
2405                         
2406                         
2407                         
2408                         
2409                                 <dl class="detailList">
2410                                 <dt class="heading">Returns:</dt>
2411                                 
2412                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
2413                                 
2414                                 </dl>
2415                         
2416                         
2417                         
2418
2419                     
2420                     
2421                      
2422                     </div>                    
2423                 </div>
2424
2425             </td>
2426             <td class="msource">
2427                 
2428                         Roo.form.BasicForm
2429                 &nbsp;
2430             </td>
2431         </tr>
2432         
2433           
2434           <tr class="method-row config-row-alt1 expandable">
2435             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2436            
2437            
2438             <td class="sig">
2439                 <a id="Roo.util.Observable-method-un"   name=".un"></a>
2440                 <div class="fixedFont">
2441                         <span class="attributes"></span><b class="itemname">un</b>
2442                                 
2443                                  (<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>) 
2444                         
2445                                 
2446                         
2447                 </div>
2448                 <div class="mdesc">
2449                 
2450                    <div class="short">Removes a listener (shorthand for removeListener)</div> 
2451                  
2452                  
2453                  
2454                     <div class="long">
2455                         
2456                                 Removes a listener (shorthand for removeListener)
2457                     
2458                                 
2459                         
2460                         
2461                         
2462                         
2463                                 <dl class="detailList">
2464                                 <dt class="heading">Parameters:</dt>
2465                                 
2466                                         <dt>
2467                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
2468                                                 
2469                                         </dt>
2470                                         <dd>The type of event to listen for</dd>
2471                                 
2472                                         <dt>
2473                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
2474                                                 
2475                                         </dt>
2476                                         <dd>The handler to remove</dd>
2477                                 
2478                                         <dt>
2479                                                 <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>
2480                                                 
2481                                         </dt>
2482                                         <dd>(optional) The scope (this object) for the handler</dd>
2483                                 
2484                                 </dl>
2485                         
2486                         
2487                         
2488                         
2489                         
2490                         
2491                         
2492
2493                     
2494                     
2495                      
2496                     </div>                    
2497                 </div>
2498
2499             </td>
2500             <td class="msource">
2501                 
2502                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2503                 &nbsp;
2504             </td>
2505         </tr>
2506         
2507           
2508           <tr class="method-row config-row-alt0 expandable notInherited">
2509             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2510            
2511            
2512             <td class="sig">
2513                 <a id="Roo.form.BasicForm-method-updateRecord"   name=".updateRecord"></a>
2514                 <div class="fixedFont">
2515                         <span class="attributes"></span><b class="itemname">updateRecord</b>
2516                                 
2517                                  (Record <B><i>record</i></B>) 
2518                         
2519                                 
2520                                          : 
2521                                         
2522                                                 
2523                                                 BasicForm
2524                                         
2525                                         
2526                                         
2527                                 
2528                         
2529                 </div>
2530                 <div class="mdesc">
2531                 
2532                    <div class="short">Persists the values in this form into the passed Roo.data.Record object in a beginEdit/endEdit block.</div> 
2533                  
2534                  
2535                  
2536                     <div class="long">
2537                         
2538                                 Persists the values in this form into the passed Roo.data.Record object in a beginEdit/endEdit block.
2539                     
2540                                 
2541                         
2542                         
2543                         
2544                         
2545                                 <dl class="detailList">
2546                                 <dt class="heading">Parameters:</dt>
2547                                 
2548                                         <dt>
2549                                                 <span class="fixedFont">Record</span>  <b>record</b>
2550                                                 
2551                                         </dt>
2552                                         <dd>The record to edit</dd>
2553                                 
2554                                 </dl>
2555                         
2556                         
2557                         
2558                         
2559                         
2560                                 <dl class="detailList">
2561                                 <dt class="heading">Returns:</dt>
2562                                 
2563                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
2564                                 
2565                                 </dl>
2566                         
2567                         
2568                         
2569
2570                     
2571                     
2572                      
2573                     </div>                    
2574                 </div>
2575
2576             </td>
2577             <td class="msource">
2578                 
2579                         Roo.form.BasicForm
2580                 &nbsp;
2581             </td>
2582         </tr>
2583         
2584                                                        
2585     </table>
2586
2587   
2588   <!-- ============================== events summary / details ======================== -->
2589   
2590   
2591   <a id="Roo.form.BasicForm-events"></a>
2592     
2593   
2594         
2595    
2596   
2597     
2598     
2599     
2600       <table cellspacing="0" class="member-table">
2601                 <caption>Events</caption>
2602               <thead>
2603                 <tr>
2604                     <th class="sig-header" colspan="2">Event</th>            
2605                     <th class="msource-header">Defined By</th>
2606
2607                 </tr>
2608               </thead>  
2609         
2610         
2611          
2612         
2613         
2614           <tr class="method-row expandable config-row-alt0 notInherited">
2615             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2616             
2617             <td class="sig">
2618                 <a id="Roo.form.BasicForm-event-*actioncomplete"></a>
2619                 
2620                <div class="fixedFont">
2621                 <b class="itemname">actioncomplete</b> (Form <B><i>this</i></B>, Action <B><i>action</i></B>) 
2622                 
2623                 </div>
2624
2625                 <div class="mdesc">
2626
2627                    <div class="short">Fires when an action is completed.
2628                    
2629                 </div> 
2630                     
2631                     <div class="long">
2632                     
2633                         Fires when an action is completed.
2634                     
2635                         
2636                         
2637                 
2638                         
2639                                 <dl class="detailList">
2640                                 <dt class="heading">Parameters:</dt>
2641                                 
2642                                         <dt>
2643                                                 <span class="fixedFont">Form</span> <b>this</b>
2644                                                 
2645                                         </dt>
2646                                         <dd></dd>
2647                                 
2648                                         <dt>
2649                                                 <span class="fixedFont">Action</span> <b>action</b>
2650                                                 
2651                                         </dt>
2652                                         <dd>The action that completed</dd>
2653                                 
2654                                 </dl>
2655                         
2656                         
2657                         
2658                         
2659                         
2660                         
2661                         
2662
2663                     
2664                     
2665                      
2666                     </div>                    
2667                 </div>
2668
2669             </td>
2670             <td class="msource">
2671                 Roo.form.BasicForm
2672             </td>
2673         </tr>
2674         
2675           <tr class="method-row expandable config-row-alt1 notInherited">
2676             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2677             
2678             <td class="sig">
2679                 <a id="Roo.form.BasicForm-event-*actionfailed"></a>
2680                 
2681                <div class="fixedFont">
2682                 <b class="itemname">actionfailed</b> (Form <B><i>this</i></B>, Action <B><i>action</i></B>) 
2683                 
2684                 </div>
2685
2686                 <div class="mdesc">
2687
2688                    <div class="short">Fires when an action fails.
2689                    
2690                 </div> 
2691                     
2692                     <div class="long">
2693                     
2694                         Fires when an action fails.
2695                     
2696                         
2697                         
2698                 
2699                         
2700                                 <dl class="detailList">
2701                                 <dt class="heading">Parameters:</dt>
2702                                 
2703                                         <dt>
2704                                                 <span class="fixedFont">Form</span> <b>this</b>
2705                                                 
2706                                         </dt>
2707                                         <dd></dd>
2708                                 
2709                                         <dt>
2710                                                 <span class="fixedFont">Action</span> <b>action</b>
2711                                                 
2712                                         </dt>
2713                                         <dd>The action that failed</dd>
2714                                 
2715                                 </dl>
2716                         
2717                         
2718                         
2719                         
2720                         
2721                         
2722                         
2723
2724                     
2725                     
2726                      
2727                     </div>                    
2728                 </div>
2729
2730             </td>
2731             <td class="msource">
2732                 Roo.form.BasicForm
2733             </td>
2734         </tr>
2735         
2736           <tr class="method-row expandable config-row-alt0 notInherited">
2737             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2738             
2739             <td class="sig">
2740                 <a id="Roo.form.BasicForm-event-*beforeaction"></a>
2741                 
2742                <div class="fixedFont">
2743                 <b class="itemname">beforeaction</b> (Form <B><i>this</i></B>, Action <B><i>action</i></B>) 
2744                 
2745                 </div>
2746
2747                 <div class="mdesc">
2748
2749                    <div class="short">Fires before any action is performed.
2750                    
2751                 </div> 
2752                     
2753                     <div class="long">
2754                     
2755                         Fires before any action is performed. Return false to cancel the action.
2756                     
2757                         
2758                         
2759                 
2760                         
2761                                 <dl class="detailList">
2762                                 <dt class="heading">Parameters:</dt>
2763                                 
2764                                         <dt>
2765                                                 <span class="fixedFont">Form</span> <b>this</b>
2766                                                 
2767                                         </dt>
2768                                         <dd></dd>
2769                                 
2770                                         <dt>
2771                                                 <span class="fixedFont">Action</span> <b>action</b>
2772                                                 
2773                                         </dt>
2774                                         <dd>The action to be performed</dd>
2775                                 
2776                                 </dl>
2777                         
2778                         
2779                         
2780                         
2781                         
2782                         
2783                         
2784
2785                     
2786                     
2787                      
2788                     </div>                    
2789                 </div>
2790
2791             </td>
2792             <td class="msource">
2793                 Roo.form.BasicForm
2794             </td>
2795         </tr>
2796         
2797                                                        
2798     </table>
2799
2800   
2801   
2802   
2803  
2804 <!-- ============================== footer ================================= -->
2805                 <div class="fineprint" style="clear:both">
2806                         
2807                         Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a>  on Wed May 02 2012 11:27:37 GMT+0800 (HKT)
2808                         Based on 
2809                         <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>  
2810                 </div>
2811         </body>
2812 </html>