sync
[roojs1] / docs / symbols / Roo.form.Form.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.Form</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.Form-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35         <a class="inner-link" href="#Roo.form.Form-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36         <a class="inner-link" href="#Roo.form.Form-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37         <a class="inner-link" href="#Roo.form.Form-configs"><img src="resources/s.gif" class="item-icon icon-config">Config Options</a>
38         <a class="bookmark" href="NEED_TO_CREATE_DIRECT_LINK_HREF"><img src="resources/s.gif" class="item-icon icon-fav">Direct Link</a>
39         -->
40     </div>
41
42     
43 <!-- ============================== inheritance Block. ================================= -->    
44         
45                 <div class="inheritance res-block">
46                    <pre class="res-block-inner"><a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
47 <img src="../../images/default/s.gif" height="1" width="20"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.form.BasicForm.html#constructor" roo:cls="Roo.form.BasicForm.html#constructor">Roo.form.BasicForm</a>
48 <img src="../../images/default/s.gif" height="1"  width="40"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.form.Form 
49
50                    </pre>
51                 </div>
52        
53 <!-- ============================== class title / details ============================ -->
54     
55     
56     <h1 class="classTitle">
57                                 
58                                 Class Roo.form.Form
59                         </h1>
60                         
61     <table cellspacing="0" class="class-summary-table">
62         
63                 <tr><td class="label">Package:</td><td class="hd-info">Roo.form</td></tr>
64         
65         <tr><td class="label">Defined In:</td><td class="hd-info">
66                         
67                                         <a href="./src/Roo_form_Form.js.html">Roo/form/Form.js</a>.
68                         
69         </td></tr>
70         <tr><td class="label">Class:</td><td class="hd-info">Form</td></tr>
71         
72         
73         
74         
75                 <tr><td class="label">Extends:</td><td class="hd-info">
76                         <a href="./Roo.form.BasicForm.html#constructor" roo:cls="Roo.form.BasicForm.html#constructor">Roo.form.BasicForm</a>
77         
78                 </td></tr>    
79         
80         
81     </table>
82
83     
84 <!-- ============================== class summary ========================== -->                        
85     <div class="description">
86         Adds the ability to dynamically render forms with JavaScript to {<b>link</b> Roo.form.BasicForm}.
87     </div>
88
89         
90 <!-- ============================== Class comment block... ========================== -->                                       
91
92 <div class="comments">
93         <b>Class Comments / Notes</B> =>  
94         <u onclick="parent.CommentDialog.showCommentId = 'Roo.form.Form';">[Add Your comment/notes about this class]</u>
95         <br/>
96         <iframe frameborder="0"  id="comments-Roo.form" style="border: none;width:100%;" 
97                 src="/blog.php/GtkDjsComments/Roo.form.Form.html"></iframe>
98 </div>
99         
100
101                 
102 <!-- ============================== config options ========================== -->                                               
103                  
104     
105     
106                 
107     <div class="hr"></div>
108     <a id="Roo.form.Form-configs"></a>
109                 
110     
111      
112     
113         
114       <table cellspacing="0" class="member-table">   
115       <caption>Config Options (Usually are also Properties)</caption>
116     
117         
118         <tr>
119             <th class="sig-header" colspan="2">Options</th>
120             
121             <th class="msource-header">Defined By</th>
122         </tr>
123         
124         
125         
126         
127         
128                 <tr class="config-row expandable config-row-alt0">
129                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
130                     <td class="sig">
131
132                         <a id="Roo.form.BasicForm-cfg-baseParams" name=".baseParams"></a>
133                         <div class="fixedFont">
134                                 <b  class="itemname">baseParams</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
135                                 
136                                 
137                         </div>
138                   
139                         <div class="mdesc">
140                             <div class="short">Parameters to pass with all requests.</div> 
141                         </div>
142                         
143                         <div class="mdesc">
144                             <div class="long">Parameters to pass with all requests. e.g. baseParams: {id: '123', foo: 'bar'}.</div> 
145                         </div>
146                         
147                         
148
149                     </td>
150                     <td class="msource">
151                         
152                         <a href="./Roo.form.BasicForm.html#constructor" roo:cls="Roo.form.BasicForm.html#constructor">Roo.form.BasicForm</a>
153                                 
154                     </td>
155                 </tr>
156         
157         
158                 <tr class="config-row expandable config-row-alt1 notInherited">
159                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
160                     <td class="sig">
161
162                         <a id="Roo.form.Form-cfg-buttonAlign" name=".buttonAlign"></a>
163                         <div class="fixedFont">
164                                 <b  class="itemname">buttonAlign</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
165                                 
166                                 
167                         </div>
168                   
169                         <div class="mdesc">
170                             <div class="short">Valid values are "left," "center" and "right" (defaults to "center")</div> 
171                         </div>
172                         
173                         <div class="mdesc">
174                             <div class="long">Valid values are "left," "center" and "right" (defaults to "center")</div> 
175                         </div>
176                         
177                         
178
179                     </td>
180                     <td class="msource">
181                         
182                         Roo.form.Form
183                                 
184                     </td>
185                 </tr>
186         
187         
188                 <tr class="config-row expandable config-row-alt0">
189                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
190                     <td class="sig">
191
192                         <a id="Roo.form.BasicForm-cfg-errorReader" name=".errorReader"></a>
193                         <div class="fixedFont">
194                                 <b  class="itemname">errorReader</b> : DataReader
195                                 
196                                 
197                         </div>
198                   
199                         <div class="mdesc">
200                             <div class="short">An Roo.data.DataReader (e.g.</div> 
201                         </div>
202                         
203                         <div class="mdesc">
204                             <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> 
205                         </div>
206                         
207                         
208
209                     </td>
210                     <td class="msource">
211                         
212                         <a href="./Roo.form.BasicForm.html#constructor" roo:cls="Roo.form.BasicForm.html#constructor">Roo.form.BasicForm</a>
213                                 
214                     </td>
215                 </tr>
216         
217         
218                 <tr class="config-row expandable config-row-alt1">
219                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
220                     <td class="sig">
221
222                         <a id="Roo.form.BasicForm-cfg-fileUpload" name=".fileUpload"></a>
223                         <div class="fixedFont">
224                                 <b  class="itemname">fileUpload</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
225                                 
226                                 
227                         </div>
228                   
229                         <div class="mdesc">
230                             <div class="short">Set to true if this form is a file upload.</div> 
231                         </div>
232                         
233                         <div class="mdesc">
234                             <div class="long">Set to true if this form is a file upload.</div> 
235                         </div>
236                         
237                         
238
239                     </td>
240                     <td class="msource">
241                         
242                         <a href="./Roo.form.BasicForm.html#constructor" roo:cls="Roo.form.BasicForm.html#constructor">Roo.form.BasicForm</a>
243                                 
244                     </td>
245                 </tr>
246         
247         
248                 <tr class="config-row expandable config-row-alt0 notInherited">
249                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
250                     <td class="sig">
251
252                         <a id="Roo.form.Form-cfg-itemCls" name=".itemCls"></a>
253                         <div class="fixedFont">
254                                 <b  class="itemname">itemCls</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
255                                 
256                                 
257                         </div>
258                   
259                         <div class="mdesc">
260                             <div class="short">A css class to apply to the x-form-item of fields.</div> 
261                         </div>
262                         
263                         <div class="mdesc">
264                             <div class="long">A css class to apply to the x-form-item of fields. This property cascades to child containers.</div> 
265                         </div>
266                         
267                         
268
269                     </td>
270                     <td class="msource">
271                         
272                         Roo.form.Form
273                                 
274                     </td>
275                 </tr>
276         
277         
278                 <tr class="config-row expandable config-row-alt1 notInherited">
279                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
280                     <td class="sig">
281
282                         <a id="Roo.form.Form-cfg-labelAlign" name=".labelAlign"></a>
283                         <div class="fixedFont">
284                                 <b  class="itemname">labelAlign</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
285                                 
286                                 
287                         </div>
288                   
289                         <div class="mdesc">
290                             <div class="short">Valid values are "left," "top" and "right" (defaults to "left").</div> 
291                         </div>
292                         
293                         <div class="mdesc">
294                             <div class="long">Valid values are "left," "top" and "right" (defaults to "left").<br/>This property cascades to child containers if not set.</div> 
295                         </div>
296                         
297                         
298
299                     </td>
300                     <td class="msource">
301                         
302                         Roo.form.Form
303                                 
304                     </td>
305                 </tr>
306         
307         
308                 <tr class="config-row expandable config-row-alt0 notInherited">
309                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
310                     <td class="sig">
311
312                         <a id="Roo.form.Form-cfg-labelWidth" name=".labelWidth"></a>
313                         <div class="fixedFont">
314                                 <b  class="itemname">labelWidth</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
315                                 
316                                 
317                         </div>
318                   
319                         <div class="mdesc">
320                             <div class="short">The width of labels.</div> 
321                         </div>
322                         
323                         <div class="mdesc">
324                             <div class="long">The width of labels. This property cascades to child containers.</div> 
325                         </div>
326                         
327                         
328
329                     </td>
330                     <td class="msource">
331                         
332                         Roo.form.Form
333                                 
334                     </td>
335                 </tr>
336         
337         
338                 <tr class="config-row expandable config-row-alt1">
339                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
340                     <td class="sig">
341
342                         <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
343                         <div class="fixedFont">
344                                 <b  class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
345                                 
346                                 
347                         </div>
348                   
349                         <div class="mdesc">
350                             <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> 
351                         </div>
352                         
353                         <div class="mdesc">
354                             <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> 
355                         </div>
356                         
357                         
358
359                     </td>
360                     <td class="msource">
361                         
362                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
363                                 
364                     </td>
365                 </tr>
366         
367         
368                 <tr class="config-row expandable config-row-alt0">
369                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
370                     <td class="sig">
371
372                         <a id="Roo.form.BasicForm-cfg-method" name=".method"></a>
373                         <div class="fixedFont">
374                                 <b  class="itemname">method</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
375                                 
376                                 
377                         </div>
378                   
379                         <div class="mdesc">
380                             <div class="short">The request method to use (GET or POST) for form actions if one isn't supplied in the action options.</div> 
381                         </div>
382                         
383                         <div class="mdesc">
384                             <div class="long">The request method to use (GET or POST) for form actions if one isn't supplied in the action options.</div> 
385                         </div>
386                         
387                         
388
389                     </td>
390                     <td class="msource">
391                         
392                         <a href="./Roo.form.BasicForm.html#constructor" roo:cls="Roo.form.BasicForm.html#constructor">Roo.form.BasicForm</a>
393                                 
394                     </td>
395                 </tr>
396         
397         
398                 <tr class="config-row expandable config-row-alt1 notInherited">
399                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
400                     <td class="sig">
401
402                         <a id="Roo.form.Form-cfg-minButtonWidth" name=".minButtonWidth"></a>
403                         <div class="fixedFont">
404                                 <b  class="itemname">minButtonWidth</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
405                                 
406                                 
407                         </div>
408                   
409                         <div class="mdesc">
410                             <div class="short">Minimum width of all buttons in pixels (defaults to 75)</div> 
411                         </div>
412                         
413                         <div class="mdesc">
414                             <div class="long">Minimum width of all buttons in pixels (defaults to 75)</div> 
415                         </div>
416                         
417                         
418
419                     </td>
420                     <td class="msource">
421                         
422                         Roo.form.Form
423                                 
424                     </td>
425                 </tr>
426         
427         
428                 <tr class="config-row expandable config-row-alt0 notInherited">
429                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
430                     <td class="sig">
431
432                         <a id="Roo.form.Form-cfg-monitorPoll" name=".monitorPoll"></a>
433                         <div class="fixedFont">
434                                 <b  class="itemname">monitorPoll</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
435                                 
436                                 
437                         </div>
438                   
439                         <div class="mdesc">
440                             <div class="short">The milliseconds to poll valid state, ignored if monitorValid is not true (defaults to 200)</div> 
441                         </div>
442                         
443                         <div class="mdesc">
444                             <div class="long">The milliseconds to poll valid state, ignored if monitorValid is not true (defaults to 200)</div> 
445                         </div>
446                         
447                         
448
449                     </td>
450                     <td class="msource">
451                         
452                         Roo.form.Form
453                                 
454                     </td>
455                 </tr>
456         
457         
458                 <tr class="config-row expandable config-row-alt1 notInherited">
459                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
460                     <td class="sig">
461
462                         <a id="Roo.form.Form-cfg-monitorValid" name=".monitorValid"></a>
463                         <div class="fixedFont">
464                                 <b  class="itemname">monitorValid</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
465                                 
466                                 
467                         </div>
468                   
469                         <div class="mdesc">
470                             <div class="short">If true the form monitors its valid state <b>client-side</b> and<br/>fires a looping event with that state.</div> 
471                         </div>
472                         
473                         <div class="mdesc">
474                             <div class="long">If true the form monitors its valid state <b>client-side</b> and<br/>fires a looping event with that state. This is required to bind buttons to the valid<br/>state using the config value formBind:true on the button.</div> 
475                         </div>
476                         
477                         
478
479                     </td>
480                     <td class="msource">
481                         
482                         Roo.form.Form
483                                 
484                     </td>
485                 </tr>
486         
487         
488                 <tr class="config-row expandable config-row-alt0">
489                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
490                     <td class="sig">
491
492                         <a id="Roo.form.BasicForm-cfg-reader" name=".reader"></a>
493                         <div class="fixedFont">
494                                 <b  class="itemname">reader</b> : DataReader
495                                 
496                                 
497                         </div>
498                   
499                         <div class="mdesc">
500                             <div class="short">An Roo.data.DataReader (e.g.</div> 
501                         </div>
502                         
503                         <div class="mdesc">
504                             <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> 
505                         </div>
506                         
507                         
508
509                     </td>
510                     <td class="msource">
511                         
512                         <a href="./Roo.form.BasicForm.html#constructor" roo:cls="Roo.form.BasicForm.html#constructor">Roo.form.BasicForm</a>
513                                 
514                     </td>
515                 </tr>
516         
517         
518                 <tr class="config-row expandable config-row-alt1">
519                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
520                     <td class="sig">
521
522                         <a id="Roo.form.BasicForm-cfg-timeout" name=".timeout"></a>
523                         <div class="fixedFont">
524                                 <b  class="itemname">timeout</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
525                                 
526                                 
527                         </div>
528                   
529                         <div class="mdesc">
530                             <div class="short">Timeout for form actions in seconds (default is 30 seconds).</div> 
531                         </div>
532                         
533                         <div class="mdesc">
534                             <div class="long">Timeout for form actions in seconds (default is 30 seconds).</div> 
535                         </div>
536                         
537                         
538
539                     </td>
540                     <td class="msource">
541                         
542                         <a href="./Roo.form.BasicForm.html#constructor" roo:cls="Roo.form.BasicForm.html#constructor">Roo.form.BasicForm</a>
543                                 
544                     </td>
545                 </tr>
546         
547         
548                 <tr class="config-row expandable config-row-alt0">
549                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
550                     <td class="sig">
551
552                         <a id="Roo.form.BasicForm-cfg-trackResetOnLoad" name=".trackResetOnLoad"></a>
553                         <div class="fixedFont">
554                                 <b  class="itemname">trackResetOnLoad</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
555                                 
556                                 
557                         </div>
558                   
559                         <div class="mdesc">
560                             <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> 
561                         </div>
562                         
563                         <div class="mdesc">
564                             <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> 
565                         </div>
566                         
567                         
568
569                     </td>
570                     <td class="msource">
571                         
572                         <a href="./Roo.form.BasicForm.html#constructor" roo:cls="Roo.form.BasicForm.html#constructor">Roo.form.BasicForm</a>
573                                 
574                     </td>
575                 </tr>
576         
577         
578                 <tr class="config-row expandable config-row-alt1">
579                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
580                     <td class="sig">
581
582                         <a id="Roo.form.BasicForm-cfg-url" name=".url"></a>
583                         <div class="fixedFont">
584                                 <b  class="itemname">url</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
585                                 
586                                 
587                         </div>
588                   
589                         <div class="mdesc">
590                             <div class="short">The URL to use for form actions if one isn't supplied in the action options.</div> 
591                         </div>
592                         
593                         <div class="mdesc">
594                             <div class="long">The URL to use for form actions if one isn't supplied in the action options.</div> 
595                         </div>
596                         
597                         
598
599                     </td>
600                     <td class="msource">
601                         
602                         <a href="./Roo.form.BasicForm.html#constructor" roo:cls="Roo.form.BasicForm.html#constructor">Roo.form.BasicForm</a>
603                                 
604                     </td>
605                 </tr>
606         
607         
608     </table>
609                 
610   
611   
612   
613   
614   
615   
616   
617   
618   <!-- ============================== public properties ==================== -->        
619   
620   
621   
622     <a id="Roo.form.Form-props"></a>      
623     
624     
625
626     
627     
628      <table cellspacing="0" class="member-table">
629       <caption class="Empty">Public Properties - Has None</caption>
630      </table>
631     
632     
633      
634     
635   <!-- ============================== methods summary / details ======================== -->
636   
637   
638   <a id="Roo.form.Form-methods"></a>
639         <!-- constructor?? -->
640         
641         <!-- static's first 
642         
643         
644         -->
645         
646         <!-- then dynamics first -->
647         
648   
649   
650     
651     
652     
653       <table cellspacing="0" class="member-table">
654       <caption>Public Methods</caption>
655         <tr>
656             <th class="sig-header" colspan="2">Method</th>            
657             <th class="msource-header">Defined By</th>
658
659         </tr>
660         
661         
662         
663          
664         
665         
666           
667           <tr class="method-row config-row-alt0 expandable notInherited">
668             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
669            
670            
671             <td class="sig">
672                 <a id="Roo.form-method-Form"   name=".Form"></a>
673                 <div class="fixedFont">
674                         <span class="attributes">new <B>Roo.form.</B></span><b class="itemname">Form</b>
675                                 
676                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>) 
677                         
678                                 
679                         
680                 </div>
681                 <div class="mdesc">
682                 
683                  
684                         <div class="short">Create a new Roo.form.Form</div> 
685                  
686                  
687                     <div class="long">
688                         
689                         
690                         
691                                 Create a new Roo.form.Form
692                         
693                         
694                                 <dl class="detailList">
695                                 <dt class="heading">Parameters:</dt>
696                                 
697                                         <dt>
698                                                 <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>
699                                                 
700                                         </dt>
701                                         <dd>Configuration options</dd>
702                                 
703                                 </dl>
704                         
705                         
706                         
707                         
708                         
709                         
710                         
711
712                     
713                     
714                      
715                     </div>                    
716                 </div>
717
718             </td>
719             <td class="msource">
720                 &nbsp;
721             </td>
722         </tr>
723         
724           
725           <tr class="method-row config-row-alt1 expandable notInherited">
726             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
727            
728            
729             <td class="sig">
730                 <a id="Roo.form.Form-method-add"   name=".add"></a>
731                 <div class="fixedFont">
732                         <span class="attributes"></span><b class="itemname">add</b>
733                                 
734                                  (Field <B><i>field1</i></B>, Field <B><i>field2</i></B>) 
735                         
736                                 
737                                          : 
738                                         
739                                                 
740                                                 Form
741                                         
742                                         
743                                         
744                                 
745                         
746                 </div>
747                 <div class="mdesc">
748                 
749                    <div class="short">Add Roo.form components to the current open container (e.g.</div> 
750                  
751                  
752                  
753                     <div class="long">
754                         
755                                 Add Roo.form components to the current open container (e.g. column, fieldset, etc.).  Fields added via this method<br/>can also be passed with an additional property of fieldLabel, which if supplied, will provide the text to display<br/>as the label of the field.
756                     
757                                 
758                         
759                         
760                         
761                         
762                                 <dl class="detailList">
763                                 <dt class="heading">Parameters:</dt>
764                                 
765                                         <dt>
766                                                 <span class="fixedFont">Field</span>  <b>field1</b>
767                                                 
768                                         </dt>
769                                         <dd></dd>
770                                 
771                                         <dt>
772                                                 <span class="fixedFont">Field</span>  <b>field2</b>
773                                                 
774                                         </dt>
775                                         <dd>(optional)</dd>
776                                 
777                                         <dt>
778                                                 <span class="fixedFont">Field</span>  <b>etc.</b>
779                                                 
780                                         </dt>
781                                         <dd>(optional)</dd>
782                                 
783                                 </dl>
784                         
785                         
786                         
787                         
788                         
789                                 <dl class="detailList">
790                                 <dt class="heading">Returns:</dt>
791                                 
792                                         <dd><span class="fixedFont">Form</span>  this</dd>
793                                 
794                                 </dl>
795                         
796                         
797                         
798
799                     
800                     
801                      
802                     </div>                    
803                 </div>
804
805             </td>
806             <td class="msource">
807                 
808                         Roo.form.Form
809                 &nbsp;
810             </td>
811         </tr>
812         
813           
814           <tr class="method-row config-row-alt0 expandable notInherited">
815             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
816            
817            
818             <td class="sig">
819                 <a id="Roo.form.Form-method-addButton"   name=".addButton"></a>
820                 <div class="fixedFont">
821                         <span class="attributes"></span><b class="itemname">addButton</b>
822                                 
823                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Object <B><i>config</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>) 
824                         
825                                 
826                                          : 
827                                         
828                                                 
829                                                 <a href="./Roo.Button.html#constructor" roo:cls="Roo.Button.html#constructor">Roo.Button</a>
830                                         
831                                         
832                                         
833                                 
834                         
835                 </div>
836                 <div class="mdesc">
837                 
838                    <div class="short">Adds a button to the footer of the form - this <b>must</b> be called before the form is rendered.</div> 
839                  
840                  
841                  
842                     <div class="long">
843                         
844                                 Adds a button to the footer of the form - this <b>must</b> be called before the form is rendered.
845                     
846                                 
847                         
848                         
849                         
850                         
851                                 <dl class="detailList">
852                                 <dt class="heading">Parameters:</dt>
853                                 
854                                         <dt>
855                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Object</span>  <b>config</b>
856                                                 
857                                         </dt>
858                                         <dd>A string becomes the button text, an object can either be a Button config<br/>object or a valid Roo.DomHelper element config</dd>
859                                 
860                                         <dt>
861                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
862                                                 
863                                         </dt>
864                                         <dd>The function called when the button is clicked</dd>
865                                 
866                                         <dt>
867                                                 <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>
868                                                 
869                                         </dt>
870                                         <dd>(optional) The scope of the handler function</dd>
871                                 
872                                 </dl>
873                         
874                         
875                         
876                         
877                         
878                                 <dl class="detailList">
879                                 <dt class="heading">Returns:</dt>
880                                 
881                                         <dd><span class="fixedFont"><a href="./Roo.Button.html#constructor" roo:cls="Roo.Button.html#constructor">Roo.Button</a></span>  </dd>
882                                 
883                                 </dl>
884                         
885                         
886                         
887
888                     
889                     
890                      
891                     </div>                    
892                 </div>
893
894             </td>
895             <td class="msource">
896                 
897                         Roo.form.Form
898                 &nbsp;
899             </td>
900         </tr>
901         
902           
903           <tr class="method-row config-row-alt1 expandable">
904             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
905            
906            
907             <td class="sig">
908                 <a id="Roo.util.Observable-method-addEvents"   name=".addEvents"></a>
909                 <div class="fixedFont">
910                         <span class="attributes"></span><b class="itemname">addEvents</b>
911                                 
912                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>) 
913                         
914                                 
915                         
916                 </div>
917                 <div class="mdesc">
918                 
919                    <div class="short">Used to define events on this Observable</div> 
920                  
921                  
922                  
923                     <div class="long">
924                         
925                                 Used to define events on this Observable
926                     
927                                 
928                         
929                         
930                         
931                         
932                                 <dl class="detailList">
933                                 <dt class="heading">Parameters:</dt>
934                                 
935                                         <dt>
936                                                 <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>
937                                                 
938                                         </dt>
939                                         <dd>The object with the events defined</dd>
940                                 
941                                 </dl>
942                         
943                         
944                         
945                         
946                         
947                         
948                         
949
950                     
951                     
952                      
953                     </div>                    
954                 </div>
955
956             </td>
957             <td class="msource">
958                 
959                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
960                 &nbsp;
961             </td>
962         </tr>
963         
964           
965           <tr class="method-row config-row-alt0 expandable">
966             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
967            
968            
969             <td class="sig">
970                 <a id="Roo.form.BasicForm-method-addForm"   name=".addForm"></a>
971                 <div class="fixedFont">
972                         <span class="attributes"></span><b class="itemname">addForm</b>
973                                 
974                                  (<a href="./Roo.form.Form.html#constructor" roo:cls="Roo.form.Form.html#constructor">Roo.form.Form</a> <B><i>form</i></B>) 
975                         
976                                 
977                         
978                 </div>
979                 <div class="mdesc">
980                 
981                    <div class="short">Add a secondary form to this one, <br/>Used to provide tabbed forms.</div> 
982                  
983                  
984                  
985                     <div class="long">
986                         
987                                 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.
988                     
989                                 
990                         
991                         
992                         
993                         
994                                 <dl class="detailList">
995                                 <dt class="heading">Parameters:</dt>
996                                 
997                                         <dt>
998                                                 <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>
999                                                 
1000                                         </dt>
1001                                         <dd>to add.</dd>
1002                                 
1003                                 </dl>
1004                         
1005                         
1006                         
1007                         
1008                         
1009                         
1010                         
1011
1012                     
1013                     
1014                      
1015                     </div>                    
1016                 </div>
1017
1018             </td>
1019             <td class="msource">
1020                 
1021                         <a href="./Roo.form.BasicForm.html#constructor" roo:cls="Roo.form.BasicForm.html#constructor">Roo.form.BasicForm</a>
1022                 &nbsp;
1023             </td>
1024         </tr>
1025         
1026           
1027           <tr class="method-row config-row-alt1 expandable">
1028             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1029            
1030            
1031             <td class="sig">
1032                 <a id="Roo.util.Observable-method-addListener"   name=".addListener"></a>
1033                 <div class="fixedFont">
1034                         <span class="attributes"></span><b class="itemname">addListener</b>
1035                                 
1036                                  (<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>) 
1037                         
1038                                 
1039                         
1040                 </div>
1041                 <div class="mdesc">
1042                 
1043                    <div class="short">Appends an event handler to this component</div> 
1044                  
1045                  
1046                  
1047                     <div class="long">
1048                         
1049                                 Appends an event handler to this component
1050                     
1051                                 
1052                         
1053                         
1054                         
1055                         
1056                                 <dl class="detailList">
1057                                 <dt class="heading">Parameters:</dt>
1058                                 
1059                                         <dt>
1060                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
1061                                                 
1062                                         </dt>
1063                                         <dd>The type of event to listen for</dd>
1064                                 
1065                                         <dt>
1066                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
1067                                                 
1068                                         </dt>
1069                                         <dd>The method the event invokes</dd>
1070                                 
1071                                         <dt>
1072                                                 <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>
1073                                                 
1074                                         </dt>
1075                                         <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1076                                 
1077                                         <dt>
1078                                                 <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>
1079                                                 
1080                                         </dt>
1081                                         <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>
1082                                 
1083                                 </dl>
1084                         
1085                         
1086                         
1087                         
1088                         
1089                         
1090                         
1091
1092                     
1093                     
1094                      
1095                     </div>                    
1096                 </div>
1097
1098             </td>
1099             <td class="msource">
1100                 
1101                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1102                 &nbsp;
1103             </td>
1104         </tr>
1105         
1106           
1107           <tr class="method-row config-row-alt0 expandable notInherited">
1108             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1109            
1110            
1111             <td class="sig">
1112                 <a id="Roo.form.Form-method-addxtype"   name=".addxtype"></a>
1113                 <div class="fixedFont">
1114                         <span class="attributes"></span><b class="itemname">addxtype</b>
1115                                 
1116                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>) 
1117                         
1118                                 
1119                         
1120                 </div>
1121                 <div class="mdesc">
1122                 
1123                    <div class="short">Adds a series of form elements (using the xtype property as the factory method.</div> 
1124                  
1125                  
1126                  
1127                     <div class="long">
1128                         
1129                                 Adds a series of form elements (using the xtype property as the factory method.<br/>Valid xtypes are:  TextField, TextArea .... Button, Layout, FieldSet, Column, (and 'end' to close a block)
1130                     
1131                                 
1132                         
1133                         
1134                         
1135                         
1136                                 <dl class="detailList">
1137                                 <dt class="heading">Parameters:</dt>
1138                                 
1139                                         <dt>
1140                                                 <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>
1141                                                 
1142                                         </dt>
1143                                         <dd></dd>
1144                                 
1145                                 </dl>
1146                         
1147                         
1148                         
1149                         
1150                         
1151                         
1152                         
1153
1154                     
1155                     
1156                      
1157                     </div>                    
1158                 </div>
1159
1160             </td>
1161             <td class="msource">
1162                 
1163                         Roo.form.Form
1164                 &nbsp;
1165             </td>
1166         </tr>
1167         
1168           
1169           <tr class="method-row config-row-alt1 expandable">
1170             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1171            
1172            
1173             <td class="sig">
1174                 <a id="Roo.form.BasicForm-method-applyIfToFields"   name=".applyIfToFields"></a>
1175                 <div class="fixedFont">
1176                         <span class="attributes"></span><b class="itemname">applyIfToFields</b>
1177                                 
1178                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>values</i></B>) 
1179                         
1180                                 
1181                                          : 
1182                                         
1183                                                 
1184                                                 BasicForm
1185                                         
1186                                         
1187                                         
1188                                 
1189                         
1190                 </div>
1191                 <div class="mdesc">
1192                 
1193                    <div class="short">Calls {<b>link</b> Ext<b>applyIf</b>} for all field in this form with the passed object.</div> 
1194                  
1195                  
1196                  
1197                     <div class="long">
1198                         
1199                                 Calls {<b>link</b> Ext<b>applyIf</b>} for all field in this form with the passed object.
1200                     
1201                                 
1202                         
1203                         
1204                         
1205                         
1206                                 <dl class="detailList">
1207                                 <dt class="heading">Parameters:</dt>
1208                                 
1209                                         <dt>
1210                                                 <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>
1211                                                 
1212                                         </dt>
1213                                         <dd></dd>
1214                                 
1215                                 </dl>
1216                         
1217                         
1218                         
1219                         
1220                         
1221                                 <dl class="detailList">
1222                                 <dt class="heading">Returns:</dt>
1223                                 
1224                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
1225                                 
1226                                 </dl>
1227                         
1228                         
1229                         
1230
1231                     
1232                     
1233                      
1234                     </div>                    
1235                 </div>
1236
1237             </td>
1238             <td class="msource">
1239                 
1240                         <a href="./Roo.form.BasicForm.html#constructor" roo:cls="Roo.form.BasicForm.html#constructor">Roo.form.BasicForm</a>
1241                 &nbsp;
1242             </td>
1243         </tr>
1244         
1245           
1246           <tr class="method-row config-row-alt0 expandable">
1247             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1248            
1249            
1250             <td class="sig">
1251                 <a id="Roo.form.BasicForm-method-applyToFields"   name=".applyToFields"></a>
1252                 <div class="fixedFont">
1253                         <span class="attributes"></span><b class="itemname">applyToFields</b>
1254                                 
1255                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>values</i></B>) 
1256                         
1257                                 
1258                                          : 
1259                                         
1260                                                 
1261                                                 BasicForm
1262                                         
1263                                         
1264                                         
1265                                 
1266                         
1267                 </div>
1268                 <div class="mdesc">
1269                 
1270                    <div class="short">Calls {<b>link</b> Ext<b>apply</b>} for all fields in this form with the passed object.</div> 
1271                  
1272                  
1273                  
1274                     <div class="long">
1275                         
1276                                 Calls {<b>link</b> Ext<b>apply</b>} for all fields in this form with the passed object.
1277                     
1278                                 
1279                         
1280                         
1281                         
1282                         
1283                                 <dl class="detailList">
1284                                 <dt class="heading">Parameters:</dt>
1285                                 
1286                                         <dt>
1287                                                 <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>
1288                                                 
1289                                         </dt>
1290                                         <dd></dd>
1291                                 
1292                                 </dl>
1293                         
1294                         
1295                         
1296                         
1297                         
1298                                 <dl class="detailList">
1299                                 <dt class="heading">Returns:</dt>
1300                                 
1301                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
1302                                 
1303                                 </dl>
1304                         
1305                         
1306                         
1307
1308                     
1309                     
1310                      
1311                     </div>                    
1312                 </div>
1313
1314             </td>
1315             <td class="msource">
1316                 
1317                         <a href="./Roo.form.BasicForm.html#constructor" roo:cls="Roo.form.BasicForm.html#constructor">Roo.form.BasicForm</a>
1318                 &nbsp;
1319             </td>
1320         </tr>
1321         
1322           
1323           <tr class="method-row config-row-alt1 expandable">
1324             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1325            
1326            
1327             <td class="sig">
1328                 <a id="Roo.form.BasicForm-method-clearInvalid"   name=".clearInvalid"></a>
1329                 <div class="fixedFont">
1330                         <span class="attributes"></span><b class="itemname">clearInvalid</b>
1331                                 
1332                                  () 
1333                         
1334                                 
1335                                          : 
1336                                         
1337                                                 
1338                                                 BasicForm
1339                                         
1340                                         
1341                                         
1342                                 
1343                         
1344                 </div>
1345                 <div class="mdesc">
1346                 
1347                    <div class="short">Clears all invalid messages in this form.</div> 
1348                  
1349                  
1350                  
1351                     <div class="long">
1352                         
1353                                 Clears all invalid messages in this form.
1354                     
1355                                 
1356                         
1357                         
1358                         
1359                         
1360                         
1361                         
1362                         
1363                         
1364                                 <dl class="detailList">
1365                                 <dt class="heading">Returns:</dt>
1366                                 
1367                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
1368                                 
1369                                 </dl>
1370                         
1371                         
1372                         
1373
1374                     
1375                     
1376                      
1377                     </div>                    
1378                 </div>
1379
1380             </td>
1381             <td class="msource">
1382                 
1383                         <a href="./Roo.form.BasicForm.html#constructor" roo:cls="Roo.form.BasicForm.html#constructor">Roo.form.BasicForm</a>
1384                 &nbsp;
1385             </td>
1386         </tr>
1387         
1388           
1389           <tr class="method-row config-row-alt0 expandable notInherited">
1390             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1391            
1392            
1393             <td class="sig">
1394                 <a id="Roo.form.Form-method-column"   name=".column"></a>
1395                 <div class="fixedFont">
1396                         <span class="attributes"></span><b class="itemname">column</b>
1397                                 
1398                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>, Field <B><i>field1</i></B>, Field <B><i>field2</i></B>, Field <B><i>etc</i></B>) 
1399                         
1400                                 
1401                                          : 
1402                                         
1403                                                 
1404                                                 
1405                                         
1406                                         
1407                                         
1408                                 
1409                         
1410                 </div>
1411                 <div class="mdesc">
1412                 
1413                    <div class="short">Opens a new {<b>link</b> Roo.form.Column} container in the layout stack.</div> 
1414                  
1415                  
1416                  
1417                     <div class="long">
1418                         
1419                                 Opens a new {<b>link</b> Roo.form.Column} container in the layout stack. If fields are passed after the config, the<br/>fields are added and the column is closed. If no fields are passed the column remains open<br/>until end() is called.
1420                     
1421                                 
1422                         
1423                         
1424                         
1425                         
1426                                 <dl class="detailList">
1427                                 <dt class="heading">Parameters:</dt>
1428                                 
1429                                         <dt>
1430                                                 <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>
1431                                                 
1432                                         </dt>
1433                                         <dd>The config to pass to the column</dd>
1434                                 
1435                                         <dt>
1436                                                 <span class="fixedFont">Field</span>  <b>field1</b>
1437                                                 
1438                                         </dt>
1439                                         <dd>(optional)</dd>
1440                                 
1441                                         <dt>
1442                                                 <span class="fixedFont">Field</span>  <b>field2</b>
1443                                                 
1444                                         </dt>
1445                                         <dd>(optional)</dd>
1446                                 
1447                                         <dt>
1448                                                 <span class="fixedFont">Field</span>  <b>etc</b>
1449                                                 
1450                                         </dt>
1451                                         <dd>(optional)</dd>
1452                                 
1453                                 </dl>
1454                         
1455                         
1456                         
1457                         
1458                         
1459                                 <dl class="detailList">
1460                                 <dt class="heading">Returns:</dt>
1461                                 
1462                                         <dd> Column The column container object</dd>
1463                                 
1464                                 </dl>
1465                         
1466                         
1467                         
1468
1469                     
1470                     
1471                      
1472                     </div>                    
1473                 </div>
1474
1475             </td>
1476             <td class="msource">
1477                 
1478                         Roo.form.Form
1479                 &nbsp;
1480             </td>
1481         </tr>
1482         
1483           
1484           <tr class="method-row config-row-alt1 expandable notInherited">
1485             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1486            
1487            
1488             <td class="sig">
1489                 <a id="Roo.form.Form-method-container"   name=".container"></a>
1490                 <div class="fixedFont">
1491                         <span class="attributes"></span><b class="itemname">container</b>
1492                                 
1493                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>, Field <B><i>field1</i></B>, Field <B><i>field2</i></B>, Field <B><i>etc</i></B>) 
1494                         
1495                                 
1496                                          : 
1497                                         
1498                                                 
1499                                                 
1500                                         
1501                                         
1502                                         
1503                                 
1504                         
1505                 </div>
1506                 <div class="mdesc">
1507                 
1508                    <div class="short">Opens a new {<b>link</b> Roo.form.Layout} container in the layout stack.</div> 
1509                  
1510                  
1511                  
1512                     <div class="long">
1513                         
1514                                 Opens a new {<b>link</b> Roo.form.Layout} container in the layout stack. If fields are passed after the config, the<br/>fields are added and the container is closed. If no fields are passed the container remains open<br/>until end() is called.
1515                     
1516                                 
1517                         
1518                         
1519                         
1520                         
1521                                 <dl class="detailList">
1522                                 <dt class="heading">Parameters:</dt>
1523                                 
1524                                         <dt>
1525                                                 <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>
1526                                                 
1527                                         </dt>
1528                                         <dd>The config to pass to the Layout</dd>
1529                                 
1530                                         <dt>
1531                                                 <span class="fixedFont">Field</span>  <b>field1</b>
1532                                                 
1533                                         </dt>
1534                                         <dd>(optional)</dd>
1535                                 
1536                                         <dt>
1537                                                 <span class="fixedFont">Field</span>  <b>field2</b>
1538                                                 
1539                                         </dt>
1540                                         <dd>(optional)</dd>
1541                                 
1542                                         <dt>
1543                                                 <span class="fixedFont">Field</span>  <b>etc</b>
1544                                                 
1545                                         </dt>
1546                                         <dd>(optional)</dd>
1547                                 
1548                                 </dl>
1549                         
1550                         
1551                         
1552                         
1553                         
1554                                 <dl class="detailList">
1555                                 <dt class="heading">Returns:</dt>
1556                                 
1557                                         <dd> Layout The container object</dd>
1558                                 
1559                                 </dl>
1560                         
1561                         
1562                         
1563
1564                     
1565                     
1566                      
1567                     </div>                    
1568                 </div>
1569
1570             </td>
1571             <td class="msource">
1572                 
1573                         Roo.form.Form
1574                 &nbsp;
1575             </td>
1576         </tr>
1577         
1578           
1579           <tr class="method-row config-row-alt0 expandable">
1580             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1581            
1582            
1583             <td class="sig">
1584                 <a id="Roo.form.BasicForm-method-doAction"   name=".doAction"></a>
1585                 <div class="fixedFont">
1586                         <span class="attributes"></span><b class="itemname">doAction</b>
1587                                 
1588                                  (<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>) 
1589                         
1590                                 
1591                                          : 
1592                                         
1593                                                 
1594                                                 BasicForm
1595                                         
1596                                         
1597                                         
1598                                 
1599                         
1600                 </div>
1601                 <div class="mdesc">
1602                 
1603                    <div class="short">Performs a predefined action (submit or load) or custom actions you define on this form.</div> 
1604                  
1605                  
1606                  
1607                     <div class="long">
1608                         
1609                                 Performs a predefined action (submit or load) or custom actions you define on this form.
1610                     
1611                                 
1612                         
1613                         
1614                         
1615                         
1616                                 <dl class="detailList">
1617                                 <dt class="heading">Parameters:</dt>
1618                                 
1619                                         <dt>
1620                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>actionName</b>
1621                                                 
1622                                         </dt>
1623                                         <dd>The name of the action type</dd>
1624                                 
1625                                         <dt>
1626                                                 <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>
1627                                                 
1628                                         </dt>
1629                                         <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>
1630                                 
1631                                 </dl>
1632                         
1633                         
1634                         
1635                         
1636                         
1637                                 <dl class="detailList">
1638                                 <dt class="heading">Returns:</dt>
1639                                 
1640                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
1641                                 
1642                                 </dl>
1643                         
1644                         
1645                         
1646
1647                     
1648                     
1649                      
1650                     </div>                    
1651                 </div>
1652
1653             </td>
1654             <td class="msource">
1655                 
1656                         <a href="./Roo.form.BasicForm.html#constructor" roo:cls="Roo.form.BasicForm.html#constructor">Roo.form.BasicForm</a>
1657                 &nbsp;
1658             </td>
1659         </tr>
1660         
1661           
1662           <tr class="method-row config-row-alt1 expandable notInherited">
1663             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1664            
1665            
1666             <td class="sig">
1667                 <a id="Roo.form.Form-method-end"   name=".end"></a>
1668                 <div class="fixedFont">
1669                         <span class="attributes"></span><b class="itemname">end</b>
1670                                 
1671                                  () 
1672                         
1673                                 
1674                                          : 
1675                                         
1676                                                 
1677                                                 Form
1678                                         
1679                                         
1680                                         
1681                                 
1682                         
1683                 </div>
1684                 <div class="mdesc">
1685                 
1686                    <div class="short">Closes the current open container</div> 
1687                  
1688                  
1689                  
1690                     <div class="long">
1691                         
1692                                 Closes the current open container
1693                     
1694                                 
1695                         
1696                         
1697                         
1698                         
1699                         
1700                         
1701                         
1702                         
1703                                 <dl class="detailList">
1704                                 <dt class="heading">Returns:</dt>
1705                                 
1706                                         <dd><span class="fixedFont">Form</span>  this</dd>
1707                                 
1708                                 </dl>
1709                         
1710                         
1711                         
1712
1713                     
1714                     
1715                      
1716                     </div>                    
1717                 </div>
1718
1719             </td>
1720             <td class="msource">
1721                 
1722                         Roo.form.Form
1723                 &nbsp;
1724             </td>
1725         </tr>
1726         
1727           
1728           <tr class="method-row config-row-alt0 expandable notInherited">
1729             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1730            
1731            
1732             <td class="sig">
1733                 <a id="Roo.form.Form-method-fieldset"   name=".fieldset"></a>
1734                 <div class="fixedFont">
1735                         <span class="attributes"></span><b class="itemname">fieldset</b>
1736                                 
1737                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>, Field <B><i>field1</i></B>, Field <B><i>field2</i></B>, Field <B><i>etc</i></B>) 
1738                         
1739                                 
1740                                          : 
1741                                         
1742                                                 
1743                                                 
1744                                         
1745                                         
1746                                         
1747                                 
1748                         
1749                 </div>
1750                 <div class="mdesc">
1751                 
1752                    <div class="short">Opens a new {<b>link</b> Roo.form.FieldSet} container in the layout stack.</div> 
1753                  
1754                  
1755                  
1756                     <div class="long">
1757                         
1758                                 Opens a new {<b>link</b> Roo.form.FieldSet} container in the layout stack. If fields are passed after the config, the<br/>fields are added and the fieldset is closed. If no fields are passed the fieldset remains open<br/>until end() is called.
1759                     
1760                                 
1761                         
1762                         
1763                         
1764                         
1765                                 <dl class="detailList">
1766                                 <dt class="heading">Parameters:</dt>
1767                                 
1768                                         <dt>
1769                                                 <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>
1770                                                 
1771                                         </dt>
1772                                         <dd>The config to pass to the fieldset</dd>
1773                                 
1774                                         <dt>
1775                                                 <span class="fixedFont">Field</span>  <b>field1</b>
1776                                                 
1777                                         </dt>
1778                                         <dd>(optional)</dd>
1779                                 
1780                                         <dt>
1781                                                 <span class="fixedFont">Field</span>  <b>field2</b>
1782                                                 
1783                                         </dt>
1784                                         <dd>(optional)</dd>
1785                                 
1786                                         <dt>
1787                                                 <span class="fixedFont">Field</span>  <b>etc</b>
1788                                                 
1789                                         </dt>
1790                                         <dd>(optional)</dd>
1791                                 
1792                                 </dl>
1793                         
1794                         
1795                         
1796                         
1797                         
1798                                 <dl class="detailList">
1799                                 <dt class="heading">Returns:</dt>
1800                                 
1801                                         <dd> FieldSet The fieldset container object</dd>
1802                                 
1803                                 </dl>
1804                         
1805                         
1806                         
1807
1808                     
1809                     
1810                      
1811                     </div>                    
1812                 </div>
1813
1814             </td>
1815             <td class="msource">
1816                 
1817                         Roo.form.Form
1818                 &nbsp;
1819             </td>
1820         </tr>
1821         
1822           
1823           <tr class="method-row config-row-alt1 expandable">
1824             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1825            
1826            
1827             <td class="sig">
1828                 <a id="Roo.form.BasicForm-method-findField"   name=".findField"></a>
1829                 <div class="fixedFont">
1830                         <span class="attributes"></span><b class="itemname">findField</b>
1831                                 
1832                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>id</i></B>) 
1833                         
1834                                 
1835                                          : 
1836                                         
1837                                                 
1838                                                 
1839                                         
1840                                         
1841                                         
1842                                 
1843                         
1844                 </div>
1845                 <div class="mdesc">
1846                 
1847                    <div class="short">Find a Roo.form.Field in this form by id, dataIndex, name or hiddenName</div> 
1848                  
1849                  
1850                  
1851                     <div class="long">
1852                         
1853                                 Find a Roo.form.Field in this form by id, dataIndex, name or hiddenName
1854                     
1855                                 
1856                         
1857                         
1858                         
1859                         
1860                                 <dl class="detailList">
1861                                 <dt class="heading">Parameters:</dt>
1862                                 
1863                                         <dt>
1864                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>id</b>
1865                                                 
1866                                         </dt>
1867                                         <dd>The value to search for</dd>
1868                                 
1869                                 </dl>
1870                         
1871                         
1872                         
1873                         
1874                         
1875                                 <dl class="detailList">
1876                                 <dt class="heading">Returns:</dt>
1877                                 
1878                                         <dd> Field</dd>
1879                                 
1880                                 </dl>
1881                         
1882                         
1883                         
1884
1885                     
1886                     
1887                      
1888                     </div>                    
1889                 </div>
1890
1891             </td>
1892             <td class="msource">
1893                 
1894                         <a href="./Roo.form.BasicForm.html#constructor" roo:cls="Roo.form.BasicForm.html#constructor">Roo.form.BasicForm</a>
1895                 &nbsp;
1896             </td>
1897         </tr>
1898         
1899           
1900           <tr class="method-row config-row-alt0 expandable notInherited">
1901             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1902            
1903            
1904             <td class="sig">
1905                 <a id="Roo.form.Form-method-findbyId"   name=".findbyId"></a>
1906                 <div class="fixedFont">
1907                         <span class="attributes"></span><b class="itemname">findbyId</b>
1908                                 
1909                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>id</i></B>) 
1910                         
1911                                 
1912                                          : 
1913                                         
1914                                                 
1915                                                 Element
1916                                         
1917                                         
1918                                         
1919                                 
1920                         
1921                 </div>
1922                 <div class="mdesc">
1923                 
1924                    <div class="short">Find any element that has been added to a form, using it's ID or name<br/>This can include framesets, columns etc.</div> 
1925                  
1926                  
1927                  
1928                     <div class="long">
1929                         
1930                                 Find any element that has been added to a form, using it's ID or name<br/>This can include framesets, columns etc. along with regular fields..
1931                     
1932                                 
1933                         
1934                         
1935                         
1936                         
1937                                 <dl class="detailList">
1938                                 <dt class="heading">Parameters:</dt>
1939                                 
1940                                         <dt>
1941                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>id</b>
1942                                                 
1943                                         </dt>
1944                                         <dd>- id or name to find.</dd>
1945                                 
1946                                 </dl>
1947                         
1948                         
1949                         
1950                         
1951                         
1952                                 <dl class="detailList">
1953                                 <dt class="heading">Returns:</dt>
1954                                 
1955                                         <dd><span class="fixedFont">Element</span>  e - or false if nothing found.</dd>
1956                                 
1957                                 </dl>
1958                         
1959                         
1960                         
1961
1962                     
1963                     
1964                      
1965                     </div>                    
1966                 </div>
1967
1968             </td>
1969             <td class="msource">
1970                 
1971                         Roo.form.Form
1972                 &nbsp;
1973             </td>
1974         </tr>
1975         
1976           
1977           <tr class="method-row config-row-alt1 expandable">
1978             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1979            
1980            
1981             <td class="sig">
1982                 <a id="Roo.util.Observable-method-fireEvent"   name=".fireEvent"></a>
1983                 <div class="fixedFont">
1984                         <span class="attributes"></span><b class="itemname">fireEvent</b>
1985                                 
1986                                  (<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>) 
1987                         
1988                                 
1989                                          : 
1990                                         
1991                                                 
1992                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1993                                         
1994                                         
1995                                         
1996                                 
1997                         
1998                 </div>
1999                 <div class="mdesc">
2000                 
2001                    <div class="short">Fires the specified event with the passed parameters (minus the event name).</div> 
2002                  
2003                  
2004                  
2005                     <div class="long">
2006                         
2007                                 Fires the specified event with the passed parameters (minus the event name).
2008                     
2009                                 
2010                         
2011                         
2012                         
2013                         
2014                                 <dl class="detailList">
2015                                 <dt class="heading">Parameters:</dt>
2016                                 
2017                                         <dt>
2018                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
2019                                                 
2020                                         </dt>
2021                                         <dd></dd>
2022                                 
2023                                         <dt>
2024                                                 <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>
2025                                                 
2026                                         </dt>
2027                                         <dd>Variable number of parameters are passed to handlers</dd>
2028                                 
2029                                 </dl>
2030                         
2031                         
2032                         
2033                         
2034                         
2035                                 <dl class="detailList">
2036                                 <dt class="heading">Returns:</dt>
2037                                 
2038                                         <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>
2039                                 
2040                                 </dl>
2041                         
2042                         
2043                         
2044
2045                     
2046                     
2047                      
2048                     </div>                    
2049                 </div>
2050
2051             </td>
2052             <td class="msource">
2053                 
2054                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2055                 &nbsp;
2056             </td>
2057         </tr>
2058         
2059           
2060           <tr class="method-row config-row-alt0 expandable">
2061             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2062            
2063            
2064             <td class="sig">
2065                 <a id="Roo.form.BasicForm-method-getValues"   name=".getValues"></a>
2066                 <div class="fixedFont">
2067                         <span class="attributes"></span><b class="itemname">getValues</b>
2068                                 
2069                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>asString</i></B>) 
2070                         
2071                                 
2072                                          : 
2073                                         
2074                                                 
2075                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
2076                                         
2077                                         
2078                                         
2079                                 
2080                         
2081                 </div>
2082                 <div class="mdesc">
2083                 
2084                    <div class="short">Returns the fields in this form as an object with key/value pairs.</div> 
2085                  
2086                  
2087                  
2088                     <div class="long">
2089                         
2090                                 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.
2091                     
2092                                 
2093                         
2094                         
2095                         
2096                         
2097                                 <dl class="detailList">
2098                                 <dt class="heading">Parameters:</dt>
2099                                 
2100                                         <dt>
2101                                                 <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>
2102                                                 
2103                                         </dt>
2104                                         <dd></dd>
2105                                 
2106                                 </dl>
2107                         
2108                         
2109                         
2110                         
2111                         
2112                                 <dl class="detailList">
2113                                 <dt class="heading">Returns:</dt>
2114                                 
2115                                         <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  </dd>
2116                                 
2117                                 </dl>
2118                         
2119                         
2120                         
2121
2122                     
2123                     
2124                      
2125                     </div>                    
2126                 </div>
2127
2128             </td>
2129             <td class="msource">
2130                 
2131                         <a href="./Roo.form.BasicForm.html#constructor" roo:cls="Roo.form.BasicForm.html#constructor">Roo.form.BasicForm</a>
2132                 &nbsp;
2133             </td>
2134         </tr>
2135         
2136           
2137           <tr class="method-row config-row-alt1 expandable">
2138             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2139            
2140            
2141             <td class="sig">
2142                 <a id="Roo.util.Observable-method-hasListener"   name=".hasListener"></a>
2143                 <div class="fixedFont">
2144                         <span class="attributes"></span><b class="itemname">hasListener</b>
2145                                 
2146                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>) 
2147                         
2148                                 
2149                                          : 
2150                                         
2151                                                 
2152                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2153                                         
2154                                         
2155                                         
2156                                 
2157                         
2158                 </div>
2159                 <div class="mdesc">
2160                 
2161                    <div class="short">Checks to see if this object has any listeners for a specified event</div> 
2162                  
2163                  
2164                  
2165                     <div class="long">
2166                         
2167                                 Checks to see if this object has any listeners for a specified event
2168                     
2169                                 
2170                         
2171                         
2172                         
2173                         
2174                                 <dl class="detailList">
2175                                 <dt class="heading">Parameters:</dt>
2176                                 
2177                                         <dt>
2178                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
2179                                                 
2180                                         </dt>
2181                                         <dd>The name of the event to check for</dd>
2182                                 
2183                                 </dl>
2184                         
2185                         
2186                         
2187                         
2188                         
2189                                 <dl class="detailList">
2190                                 <dt class="heading">Returns:</dt>
2191                                 
2192                                         <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>
2193                                 
2194                                 </dl>
2195                         
2196                         
2197                         
2198
2199                     
2200                     
2201                      
2202                     </div>                    
2203                 </div>
2204
2205             </td>
2206             <td class="msource">
2207                 
2208                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2209                 &nbsp;
2210             </td>
2211         </tr>
2212         
2213           
2214           <tr class="method-row config-row-alt0 expandable">
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-isDirty"   name=".isDirty"></a>
2220                 <div class="fixedFont">
2221                         <span class="attributes"></span><b class="itemname">isDirty</b>
2222                                 
2223                                  () 
2224                         
2225                                 
2226                                          : 
2227                                         
2228                                                 
2229                                                 
2230                                         
2231                                         
2232                                         
2233                                 
2234                         
2235                 </div>
2236                 <div class="mdesc">
2237                 
2238                    <div class="short">Returns true if any fields in this form have changed since their original load.</div> 
2239                  
2240                  
2241                  
2242                     <div class="long">
2243                         
2244                                 Returns true if any fields in this form have changed since their original load.
2245                     
2246                                 
2247                         
2248                         
2249                         
2250                         
2251                         
2252                         
2253                         
2254                         
2255                                 <dl class="detailList">
2256                                 <dt class="heading">Returns:</dt>
2257                                 
2258                                         <dd> Boolean</dd>
2259                                 
2260                                 </dl>
2261                         
2262                         
2263                         
2264
2265                     
2266                     
2267                      
2268                     </div>                    
2269                 </div>
2270
2271             </td>
2272             <td class="msource">
2273                 
2274                         <a href="./Roo.form.BasicForm.html#constructor" roo:cls="Roo.form.BasicForm.html#constructor">Roo.form.BasicForm</a>
2275                 &nbsp;
2276             </td>
2277         </tr>
2278         
2279           
2280           <tr class="method-row config-row-alt1 expandable">
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-isValid"   name=".isValid"></a>
2286                 <div class="fixedFont">
2287                         <span class="attributes"></span><b class="itemname">isValid</b>
2288                                 
2289                                  () 
2290                         
2291                                 
2292                                          : 
2293                                         
2294                                                 
2295                                                 
2296                                         
2297                                         
2298                                         
2299                                 
2300                         
2301                 </div>
2302                 <div class="mdesc">
2303                 
2304                    <div class="short">Returns true if client-side validation on the form is successful.</div> 
2305                  
2306                  
2307                  
2308                     <div class="long">
2309                         
2310                                 Returns true if client-side validation on the form is successful.
2311                     
2312                                 
2313                         
2314                         
2315                         
2316                         
2317                         
2318                         
2319                         
2320                         
2321                                 <dl class="detailList">
2322                                 <dt class="heading">Returns:</dt>
2323                                 
2324                                         <dd> Boolean</dd>
2325                                 
2326                                 </dl>
2327                         
2328                         
2329                         
2330
2331                     
2332                     
2333                      
2334                     </div>                    
2335                 </div>
2336
2337             </td>
2338             <td class="msource">
2339                 
2340                         <a href="./Roo.form.BasicForm.html#constructor" roo:cls="Roo.form.BasicForm.html#constructor">Roo.form.BasicForm</a>
2341                 &nbsp;
2342             </td>
2343         </tr>
2344         
2345           
2346           <tr class="method-row config-row-alt0 expandable">
2347             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2348            
2349            
2350             <td class="sig">
2351                 <a id="Roo.form.BasicForm-method-load"   name=".load"></a>
2352                 <div class="fixedFont">
2353                         <span class="attributes"></span><b class="itemname">load</b>
2354                                 
2355                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>) 
2356                         
2357                                 
2358                                          : 
2359                                         
2360                                                 
2361                                                 BasicForm
2362                                         
2363                                         
2364                                         
2365                                 
2366                         
2367                 </div>
2368                 <div class="mdesc">
2369                 
2370                    <div class="short">Shortcut to do a load action.</div> 
2371                  
2372                  
2373                  
2374                     <div class="long">
2375                         
2376                                 Shortcut to do a load action.
2377                     
2378                                 
2379                         
2380                         
2381                         
2382                         
2383                                 <dl class="detailList">
2384                                 <dt class="heading">Parameters:</dt>
2385                                 
2386                                         <dt>
2387                                                 <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>
2388                                                 
2389                                         </dt>
2390                                         <dd>The options to pass to the action (see {<b>link</b> <b>doAction</b>} for details)</dd>
2391                                 
2392                                 </dl>
2393                         
2394                         
2395                         
2396                         
2397                         
2398                                 <dl class="detailList">
2399                                 <dt class="heading">Returns:</dt>
2400                                 
2401                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
2402                                 
2403                                 </dl>
2404                         
2405                         
2406                         
2407
2408                     
2409                     
2410                      
2411                     </div>                    
2412                 </div>
2413
2414             </td>
2415             <td class="msource">
2416                 
2417                         <a href="./Roo.form.BasicForm.html#constructor" roo:cls="Roo.form.BasicForm.html#constructor">Roo.form.BasicForm</a>
2418                 &nbsp;
2419             </td>
2420         </tr>
2421         
2422           
2423           <tr class="method-row config-row-alt1 expandable">
2424             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2425            
2426            
2427             <td class="sig">
2428                 <a id="Roo.form.BasicForm-method-loadRecord"   name=".loadRecord"></a>
2429                 <div class="fixedFont">
2430                         <span class="attributes"></span><b class="itemname">loadRecord</b>
2431                                 
2432                                  (Record <B><i>record</i></B>) 
2433                         
2434                                 
2435                                          : 
2436                                         
2437                                                 
2438                                                 BasicForm
2439                                         
2440                                         
2441                                         
2442                                 
2443                         
2444                 </div>
2445                 <div class="mdesc">
2446                 
2447                    <div class="short">Loads an Roo.data.Record into this form.</div> 
2448                  
2449                  
2450                  
2451                     <div class="long">
2452                         
2453                                 Loads an Roo.data.Record into this form.
2454                     
2455                                 
2456                         
2457                         
2458                         
2459                         
2460                                 <dl class="detailList">
2461                                 <dt class="heading">Parameters:</dt>
2462                                 
2463                                         <dt>
2464                                                 <span class="fixedFont">Record</span>  <b>record</b>
2465                                                 
2466                                         </dt>
2467                                         <dd>The record to load</dd>
2468                                 
2469                                 </dl>
2470                         
2471                         
2472                         
2473                         
2474                         
2475                                 <dl class="detailList">
2476                                 <dt class="heading">Returns:</dt>
2477                                 
2478                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
2479                                 
2480                                 </dl>
2481                         
2482                         
2483                         
2484
2485                     
2486                     
2487                      
2488                     </div>                    
2489                 </div>
2490
2491             </td>
2492             <td class="msource">
2493                 
2494                         <a href="./Roo.form.BasicForm.html#constructor" roo:cls="Roo.form.BasicForm.html#constructor">Roo.form.BasicForm</a>
2495                 &nbsp;
2496             </td>
2497         </tr>
2498         
2499           
2500           <tr class="method-row config-row-alt0 expandable">
2501             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2502            
2503            
2504             <td class="sig">
2505                 <a id="Roo.form.BasicForm-method-markInvalid"   name=".markInvalid"></a>
2506                 <div class="fixedFont">
2507                         <span class="attributes"></span><b class="itemname">markInvalid</b>
2508                                 
2509                                  (<a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>/Object <B><i>errors</i></B>) 
2510                         
2511                                 
2512                                          : 
2513                                         
2514                                                 
2515                                                 BasicForm
2516                                         
2517                                         
2518                                         
2519                                 
2520                         
2521                 </div>
2522                 <div class="mdesc">
2523                 
2524                    <div class="short">Mark fields in this form invalid in bulk.</div> 
2525                  
2526                  
2527                  
2528                     <div class="long">
2529                         
2530                                 Mark fields in this form invalid in bulk.
2531                     
2532                                 
2533                         
2534                         
2535                         
2536                         
2537                                 <dl class="detailList">
2538                                 <dt class="heading">Parameters:</dt>
2539                                 
2540                                         <dt>
2541                                                 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>/Object</span>  <b>errors</b>
2542                                                 
2543                                         </dt>
2544                                         <dd>Either an array in the form [{id:'fieldId', msg:'The message'},...] or an object hash of {id: msg, id2: msg2}</dd>
2545                                 
2546                                 </dl>
2547                         
2548                         
2549                         
2550                         
2551                         
2552                                 <dl class="detailList">
2553                                 <dt class="heading">Returns:</dt>
2554                                 
2555                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
2556                                 
2557                                 </dl>
2558                         
2559                         
2560                         
2561
2562                     
2563                     
2564                      
2565                     </div>                    
2566                 </div>
2567
2568             </td>
2569             <td class="msource">
2570                 
2571                         <a href="./Roo.form.BasicForm.html#constructor" roo:cls="Roo.form.BasicForm.html#constructor">Roo.form.BasicForm</a>
2572                 &nbsp;
2573             </td>
2574         </tr>
2575         
2576           
2577           <tr class="method-row config-row-alt1 expandable">
2578             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2579            
2580            
2581             <td class="sig">
2582                 <a id="Roo.util.Observable-method-on"   name=".on"></a>
2583                 <div class="fixedFont">
2584                         <span class="attributes"></span><b class="itemname">on</b>
2585                                 
2586                                  (<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>) 
2587                         
2588                                 
2589                         
2590                 </div>
2591                 <div class="mdesc">
2592                 
2593                    <div class="short">Appends an event handler to this element (shorthand for addListener)</div> 
2594                  
2595                  
2596                  
2597                     <div class="long">
2598                         
2599                                 Appends an event handler to this element (shorthand for addListener)
2600                     
2601                                 
2602                         
2603                         
2604                         
2605                         
2606                                 <dl class="detailList">
2607                                 <dt class="heading">Parameters:</dt>
2608                                 
2609                                         <dt>
2610                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
2611                                                 
2612                                         </dt>
2613                                         <dd>The type of event to listen for</dd>
2614                                 
2615                                         <dt>
2616                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
2617                                                 
2618                                         </dt>
2619                                         <dd>The method the event invokes</dd>
2620                                 
2621                                         <dt>
2622                                                 <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>
2623                                                 
2624                                         </dt>
2625                                         <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
2626                                 
2627                                         <dt>
2628                                                 <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>
2629                                                 
2630                                         </dt>
2631                                         <dd>(optional)</dd>
2632                                 
2633                                 </dl>
2634                         
2635                         
2636                         
2637                         
2638                         
2639                         
2640                         
2641
2642                     
2643                     
2644                      
2645                     </div>                    
2646                 </div>
2647
2648             </td>
2649             <td class="msource">
2650                 
2651                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2652                 &nbsp;
2653             </td>
2654         </tr>
2655         
2656           
2657           <tr class="method-row config-row-alt0 expandable">
2658             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2659            
2660            
2661             <td class="sig">
2662                 <a id="Roo.util.Observable-method-purgeListeners"   name=".purgeListeners"></a>
2663                 <div class="fixedFont">
2664                         <span class="attributes"></span><b class="itemname">purgeListeners</b>
2665                                 
2666                                  () 
2667                         
2668                                 
2669                         
2670                 </div>
2671                 <div class="mdesc">
2672                 
2673                    <div class="short">Removes all listeners for this object</div> 
2674                  
2675                  
2676                  
2677                     <div class="long">
2678                         
2679                                 Removes all listeners for this object
2680                     
2681                                 
2682                         
2683                         
2684                         
2685                         
2686                         
2687                         
2688                         
2689                         
2690                         
2691                         
2692
2693                     
2694                     
2695                      
2696                     </div>                    
2697                 </div>
2698
2699             </td>
2700             <td class="msource">
2701                 
2702                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2703                 &nbsp;
2704             </td>
2705         </tr>
2706         
2707           
2708           <tr class="method-row config-row-alt1 expandable">
2709             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2710            
2711            
2712             <td class="sig">
2713                 <a id="Roo.form.BasicForm-method-remove"   name=".remove"></a>
2714                 <div class="fixedFont">
2715                         <span class="attributes"></span><b class="itemname">remove</b>
2716                                 
2717                                  (Field <B><i>field</i></B>) 
2718                         
2719                                 
2720                                          : 
2721                                         
2722                                                 
2723                                                 BasicForm
2724                                         
2725                                         
2726                                         
2727                                 
2728                         
2729                 </div>
2730                 <div class="mdesc">
2731                 
2732                    <div class="short">Removes a field from the items collection (does NOT remove its markup).</div> 
2733                  
2734                  
2735                  
2736                     <div class="long">
2737                         
2738                                 Removes a field from the items collection (does NOT remove its markup).
2739                     
2740                                 
2741                         
2742                         
2743                         
2744                         
2745                                 <dl class="detailList">
2746                                 <dt class="heading">Parameters:</dt>
2747                                 
2748                                         <dt>
2749                                                 <span class="fixedFont">Field</span>  <b>field</b>
2750                                                 
2751                                         </dt>
2752                                         <dd></dd>
2753                                 
2754                                 </dl>
2755                         
2756                         
2757                         
2758                         
2759                         
2760                                 <dl class="detailList">
2761                                 <dt class="heading">Returns:</dt>
2762                                 
2763                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
2764                                 
2765                                 </dl>
2766                         
2767                         
2768                         
2769
2770                     
2771                     
2772                      
2773                     </div>                    
2774                 </div>
2775
2776             </td>
2777             <td class="msource">
2778                 
2779                         <a href="./Roo.form.BasicForm.html#constructor" roo:cls="Roo.form.BasicForm.html#constructor">Roo.form.BasicForm</a>
2780                 &nbsp;
2781             </td>
2782         </tr>
2783         
2784           
2785           <tr class="method-row config-row-alt0 expandable">
2786             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2787            
2788            
2789             <td class="sig">
2790                 <a id="Roo.util.Observable-method-removeListener"   name=".removeListener"></a>
2791                 <div class="fixedFont">
2792                         <span class="attributes"></span><b class="itemname">removeListener</b>
2793                                 
2794                                  (<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>) 
2795                         
2796                                 
2797                         
2798                 </div>
2799                 <div class="mdesc">
2800                 
2801                    <div class="short">Removes a listener</div> 
2802                  
2803                  
2804                  
2805                     <div class="long">
2806                         
2807                                 Removes a listener
2808                     
2809                                 
2810                         
2811                         
2812                         
2813                         
2814                                 <dl class="detailList">
2815                                 <dt class="heading">Parameters:</dt>
2816                                 
2817                                         <dt>
2818                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
2819                                                 
2820                                         </dt>
2821                                         <dd>The type of event to listen for</dd>
2822                                 
2823                                         <dt>
2824                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
2825                                                 
2826                                         </dt>
2827                                         <dd>The handler to remove</dd>
2828                                 
2829                                         <dt>
2830                                                 <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>
2831                                                 
2832                                         </dt>
2833                                         <dd>(optional) The scope (this object) for the handler</dd>
2834                                 
2835                                 </dl>
2836                         
2837                         
2838                         
2839                         
2840                         
2841                         
2842                         
2843
2844                     
2845                     
2846                      
2847                     </div>                    
2848                 </div>
2849
2850             </td>
2851             <td class="msource">
2852                 
2853                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2854                 &nbsp;
2855             </td>
2856         </tr>
2857         
2858           
2859           <tr class="method-row config-row-alt1 expandable notInherited">
2860             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2861            
2862            
2863             <td class="sig">
2864                 <a id="Roo.form.Form-method-render"   name=".render"></a>
2865                 <div class="fixedFont">
2866                         <span class="attributes"></span><b class="itemname">render</b>
2867                                 
2868                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>container</i></B>) 
2869                         
2870                                 
2871                                          : 
2872                                         
2873                                                 
2874                                                 Form
2875                                         
2876                                         
2877                                         
2878                                 
2879                         
2880                 </div>
2881                 <div class="mdesc">
2882                 
2883                    <div class="short">Render this form into the passed container.</div> 
2884                  
2885                  
2886                  
2887                     <div class="long">
2888                         
2889                                 Render this form into the passed container. This should only be called once!
2890                     
2891                                 
2892                         
2893                         
2894                         
2895                         
2896                                 <dl class="detailList">
2897                                 <dt class="heading">Parameters:</dt>
2898                                 
2899                                         <dt>
2900                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span>  <b>container</b>
2901                                                 
2902                                         </dt>
2903                                         <dd>The element this component should be rendered into</dd>
2904                                 
2905                                 </dl>
2906                         
2907                         
2908                         
2909                         
2910                         
2911                                 <dl class="detailList">
2912                                 <dt class="heading">Returns:</dt>
2913                                 
2914                                         <dd><span class="fixedFont">Form</span>  this</dd>
2915                                 
2916                                 </dl>
2917                         
2918                         
2919                         
2920
2921                     
2922                     
2923                      
2924                     </div>                    
2925                 </div>
2926
2927             </td>
2928             <td class="msource">
2929                 
2930                         Roo.form.Form
2931                 &nbsp;
2932             </td>
2933         </tr>
2934         
2935           
2936           <tr class="method-row config-row-alt0 expandable">
2937             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2938            
2939            
2940             <td class="sig">
2941                 <a id="Roo.form.BasicForm-method-reset"   name=".reset"></a>
2942                 <div class="fixedFont">
2943                         <span class="attributes"></span><b class="itemname">reset</b>
2944                                 
2945                                  () 
2946                         
2947                                 
2948                                          : 
2949                                         
2950                                                 
2951                                                 BasicForm
2952                                         
2953                                         
2954                                         
2955                                 
2956                         
2957                 </div>
2958                 <div class="mdesc">
2959                 
2960                    <div class="short">Resets this form.</div> 
2961                  
2962                  
2963                  
2964                     <div class="long">
2965                         
2966                                 Resets this form.
2967                     
2968                                 
2969                         
2970                         
2971                         
2972                         
2973                         
2974                         
2975                         
2976                         
2977                                 <dl class="detailList">
2978                                 <dt class="heading">Returns:</dt>
2979                                 
2980                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
2981                                 
2982                                 </dl>
2983                         
2984                         
2985                         
2986
2987                     
2988                     
2989                      
2990                     </div>                    
2991                 </div>
2992
2993             </td>
2994             <td class="msource">
2995                 
2996                         <a href="./Roo.form.BasicForm.html#constructor" roo:cls="Roo.form.BasicForm.html#constructor">Roo.form.BasicForm</a>
2997                 &nbsp;
2998             </td>
2999         </tr>
3000         
3001           
3002           <tr class="method-row config-row-alt1 expandable">
3003             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
3004            
3005            
3006             <td class="sig">
3007                 <a id="Roo.form.BasicForm-method-setValues"   name=".setValues"></a>
3008                 <div class="fixedFont">
3009                         <span class="attributes"></span><b class="itemname">setValues</b>
3010                                 
3011                                  (<a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>/Object <B><i>values</i></B>) 
3012                         
3013                                 
3014                                          : 
3015                                         
3016                                                 
3017                                                 BasicForm
3018                                         
3019                                         
3020                                         
3021                                 
3022                         
3023                 </div>
3024                 <div class="mdesc">
3025                 
3026                    <div class="short">Set values for fields in this form in bulk.</div> 
3027                  
3028                  
3029                  
3030                     <div class="long">
3031                         
3032                                 Set values for fields in this form in bulk.
3033                     
3034                                 
3035                         
3036                         
3037                         
3038                         
3039                                 <dl class="detailList">
3040                                 <dt class="heading">Parameters:</dt>
3041                                 
3042                                         <dt>
3043                                                 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>/Object</span>  <b>values</b>
3044                                                 
3045                                         </dt>
3046                                         <dd>Either an array in the form [{id:'fieldId', value:'foo'},...] or an object hash of {id: value, id2: value2}</dd>
3047                                 
3048                                 </dl>
3049                         
3050                         
3051                         
3052                         
3053                         
3054                                 <dl class="detailList">
3055                                 <dt class="heading">Returns:</dt>
3056                                 
3057                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
3058                                 
3059                                 </dl>
3060                         
3061                         
3062                         
3063
3064                     
3065                     
3066                      
3067                     </div>                    
3068                 </div>
3069
3070             </td>
3071             <td class="msource">
3072                 
3073                         <a href="./Roo.form.BasicForm.html#constructor" roo:cls="Roo.form.BasicForm.html#constructor">Roo.form.BasicForm</a>
3074                 &nbsp;
3075             </td>
3076         </tr>
3077         
3078           
3079           <tr class="method-row config-row-alt0 expandable notInherited">
3080             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
3081            
3082            
3083             <td class="sig">
3084                 <a id="Roo.form.Form-method-start"   name=".start"></a>
3085                 <div class="fixedFont">
3086                         <span class="attributes"></span><b class="itemname">start</b>
3087                                 
3088                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>container</i></B>) 
3089                         
3090                                 
3091                                          : 
3092                                         
3093                                                 
3094                                                 Form
3095                                         
3096                                         
3097                                         
3098                                 
3099                         
3100                 </div>
3101                 <div class="mdesc">
3102                 
3103                    <div class="short">Opens the passed container in the layout stack.</div> 
3104                  
3105                  
3106                  
3107                     <div class="long">
3108                         
3109                                 Opens the passed container in the layout stack. The container can be any {<b>link</b> Roo.form.Layout} or subclass.
3110                     
3111                                 
3112                         
3113                         
3114                         
3115                         
3116                                 <dl class="detailList">
3117                                 <dt class="heading">Parameters:</dt>
3118                                 
3119                                         <dt>
3120                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>container</b>
3121                                                 
3122                                         </dt>
3123                                         <dd>A Roo.form.Layout or subclass of Layout</dd>
3124                                 
3125                                 </dl>
3126                         
3127                         
3128                         
3129                         
3130                         
3131                                 <dl class="detailList">
3132                                 <dt class="heading">Returns:</dt>
3133                                 
3134                                         <dd><span class="fixedFont">Form</span>  this</dd>
3135                                 
3136                                 </dl>
3137                         
3138                         
3139                         
3140
3141                     
3142                     
3143                      
3144                     </div>                    
3145                 </div>
3146
3147             </td>
3148             <td class="msource">
3149                 
3150                         Roo.form.Form
3151                 &nbsp;
3152             </td>
3153         </tr>
3154         
3155           
3156           <tr class="method-row config-row-alt1 expandable notInherited">
3157             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
3158            
3159            
3160             <td class="sig">
3161                 <a id="Roo.form.Form-method-startMonitoring"   name=".startMonitoring"></a>
3162                 <div class="fixedFont">
3163                         <span class="attributes"></span><b class="itemname">startMonitoring</b>
3164                                 
3165                                  () 
3166                         
3167                                 
3168                         
3169                 </div>
3170                 <div class="mdesc">
3171                 
3172                    <div class="short">Starts monitoring of the valid state of this form.</div> 
3173                  
3174                  
3175                  
3176                     <div class="long">
3177                         
3178                                 Starts monitoring of the valid state of this form. Usually this is done by passing the config<br/>option "monitorValid"
3179                     
3180                                 
3181                         
3182                         
3183                         
3184                         
3185                         
3186                         
3187                         
3188                         
3189                         
3190                         
3191
3192                     
3193                     
3194                      
3195                     </div>                    
3196                 </div>
3197
3198             </td>
3199             <td class="msource">
3200                 
3201                         Roo.form.Form
3202                 &nbsp;
3203             </td>
3204         </tr>
3205         
3206           
3207           <tr class="method-row config-row-alt0 expandable notInherited">
3208             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
3209            
3210            
3211             <td class="sig">
3212                 <a id="Roo.form.Form-method-stopMonitoring"   name=".stopMonitoring"></a>
3213                 <div class="fixedFont">
3214                         <span class="attributes"></span><b class="itemname">stopMonitoring</b>
3215                                 
3216                                  () 
3217                         
3218                                 
3219                         
3220                 </div>
3221                 <div class="mdesc">
3222                 
3223                    <div class="short">Stops monitoring of the valid state of this form</div> 
3224                  
3225                  
3226                  
3227                     <div class="long">
3228                         
3229                                 Stops monitoring of the valid state of this form
3230                     
3231                                 
3232                         
3233                         
3234                         
3235                         
3236                         
3237                         
3238                         
3239                         
3240                         
3241                         
3242
3243                     
3244                     
3245                      
3246                     </div>                    
3247                 </div>
3248
3249             </td>
3250             <td class="msource">
3251                 
3252                         Roo.form.Form
3253                 &nbsp;
3254             </td>
3255         </tr>
3256         
3257           
3258           <tr class="method-row config-row-alt1 expandable">
3259             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
3260            
3261            
3262             <td class="sig">
3263                 <a id="Roo.form.BasicForm-method-submit"   name=".submit"></a>
3264                 <div class="fixedFont">
3265                         <span class="attributes"></span><b class="itemname">submit</b>
3266                                 
3267                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>) 
3268                         
3269                                 
3270                                          : 
3271                                         
3272                                                 
3273                                                 BasicForm
3274                                         
3275                                         
3276                                         
3277                                 
3278                         
3279                 </div>
3280                 <div class="mdesc">
3281                 
3282                    <div class="short">Shortcut to do a submit action.</div> 
3283                  
3284                  
3285                  
3286                     <div class="long">
3287                         
3288                                 Shortcut to do a submit action.
3289                     
3290                                 
3291                         
3292                         
3293                         
3294                         
3295                                 <dl class="detailList">
3296                                 <dt class="heading">Parameters:</dt>
3297                                 
3298                                         <dt>
3299                                                 <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>
3300                                                 
3301                                         </dt>
3302                                         <dd>The options to pass to the action (see {<b>link</b> <b>doAction</b>} for details)</dd>
3303                                 
3304                                 </dl>
3305                         
3306                         
3307                         
3308                         
3309                         
3310                                 <dl class="detailList">
3311                                 <dt class="heading">Returns:</dt>
3312                                 
3313                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
3314                                 
3315                                 </dl>
3316                         
3317                         
3318                         
3319
3320                     
3321                     
3322                      
3323                     </div>                    
3324                 </div>
3325
3326             </td>
3327             <td class="msource">
3328                 
3329                         <a href="./Roo.form.BasicForm.html#constructor" roo:cls="Roo.form.BasicForm.html#constructor">Roo.form.BasicForm</a>
3330                 &nbsp;
3331             </td>
3332         </tr>
3333         
3334           
3335           <tr class="method-row config-row-alt0 expandable">
3336             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
3337            
3338            
3339             <td class="sig">
3340                 <a id="Roo.util.Observable-method-un"   name=".un"></a>
3341                 <div class="fixedFont">
3342                         <span class="attributes"></span><b class="itemname">un</b>
3343                                 
3344                                  (<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>) 
3345                         
3346                                 
3347                         
3348                 </div>
3349                 <div class="mdesc">
3350                 
3351                    <div class="short">Removes a listener (shorthand for removeListener)</div> 
3352                  
3353                  
3354                  
3355                     <div class="long">
3356                         
3357                                 Removes a listener (shorthand for removeListener)
3358                     
3359                                 
3360                         
3361                         
3362                         
3363                         
3364                                 <dl class="detailList">
3365                                 <dt class="heading">Parameters:</dt>
3366                                 
3367                                         <dt>
3368                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
3369                                                 
3370                                         </dt>
3371                                         <dd>The type of event to listen for</dd>
3372                                 
3373                                         <dt>
3374                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
3375                                                 
3376                                         </dt>
3377                                         <dd>The handler to remove</dd>
3378                                 
3379                                         <dt>
3380                                                 <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>
3381                                                 
3382                                         </dt>
3383                                         <dd>(optional) The scope (this object) for the handler</dd>
3384                                 
3385                                 </dl>
3386                         
3387                         
3388                         
3389                         
3390                         
3391                         
3392                         
3393
3394                     
3395                     
3396                      
3397                     </div>                    
3398                 </div>
3399
3400             </td>
3401             <td class="msource">
3402                 
3403                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3404                 &nbsp;
3405             </td>
3406         </tr>
3407         
3408           
3409           <tr class="method-row config-row-alt1 expandable">
3410             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
3411            
3412            
3413             <td class="sig">
3414                 <a id="Roo.form.BasicForm-method-updateRecord"   name=".updateRecord"></a>
3415                 <div class="fixedFont">
3416                         <span class="attributes"></span><b class="itemname">updateRecord</b>
3417                                 
3418                                  (Record <B><i>record</i></B>) 
3419                         
3420                                 
3421                                          : 
3422                                         
3423                                                 
3424                                                 BasicForm
3425                                         
3426                                         
3427                                         
3428                                 
3429                         
3430                 </div>
3431                 <div class="mdesc">
3432                 
3433                    <div class="short">Persists the values in this form into the passed Roo.data.Record object in a beginEdit/endEdit block.</div> 
3434                  
3435                  
3436                  
3437                     <div class="long">
3438                         
3439                                 Persists the values in this form into the passed Roo.data.Record object in a beginEdit/endEdit block.
3440                     
3441                                 
3442                         
3443                         
3444                         
3445                         
3446                                 <dl class="detailList">
3447                                 <dt class="heading">Parameters:</dt>
3448                                 
3449                                         <dt>
3450                                                 <span class="fixedFont">Record</span>  <b>record</b>
3451                                                 
3452                                         </dt>
3453                                         <dd>The record to edit</dd>
3454                                 
3455                                 </dl>
3456                         
3457                         
3458                         
3459                         
3460                         
3461                                 <dl class="detailList">
3462                                 <dt class="heading">Returns:</dt>
3463                                 
3464                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
3465                                 
3466                                 </dl>
3467                         
3468                         
3469                         
3470
3471                     
3472                     
3473                      
3474                     </div>                    
3475                 </div>
3476
3477             </td>
3478             <td class="msource">
3479                 
3480                         <a href="./Roo.form.BasicForm.html#constructor" roo:cls="Roo.form.BasicForm.html#constructor">Roo.form.BasicForm</a>
3481                 &nbsp;
3482             </td>
3483         </tr>
3484         
3485                                                        
3486     </table>
3487
3488   
3489   <!-- ============================== events summary / details ======================== -->
3490   
3491   
3492   <a id="Roo.form.Form-events"></a>
3493     
3494   
3495         
3496    
3497   
3498     
3499     
3500     
3501       <table cellspacing="0" class="member-table">
3502                 <caption>Events</caption>
3503               <thead>
3504                 <tr>
3505                     <th class="sig-header" colspan="2">Event</th>            
3506                     <th class="msource-header">Defined By</th>
3507
3508                 </tr>
3509               </thead>  
3510         
3511         
3512          
3513         
3514         
3515           <tr class="method-row expandable config-row-alt0">
3516             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
3517             
3518             <td class="sig">
3519                 <a id="Roo.form.BasicForm-event-*actioncomplete"></a>
3520                 
3521                <div class="fixedFont">
3522                 <b class="itemname">actioncomplete</b> (Form <B><i>this</i></B>, Action <B><i>action</i></B>) 
3523                 
3524                 </div>
3525
3526                 <div class="mdesc">
3527
3528                    <div class="short">Fires when an action is completed.
3529                    
3530                 </div> 
3531                     
3532                     <div class="long">
3533                     
3534                         Fires when an action is completed.
3535                     
3536                         
3537                         
3538                 
3539                         
3540                                 <dl class="detailList">
3541                                 <dt class="heading">Parameters:</dt>
3542                                 
3543                                         <dt>
3544                                                 <span class="fixedFont">Form</span> <b>this</b>
3545                                                 
3546                                         </dt>
3547                                         <dd></dd>
3548                                 
3549                                         <dt>
3550                                                 <span class="fixedFont">Action</span> <b>action</b>
3551                                                 
3552                                         </dt>
3553                                         <dd>The action that completed</dd>
3554                                 
3555                                 </dl>
3556                         
3557                         
3558                         
3559                         
3560                         
3561                         
3562                         
3563
3564                     
3565                     
3566                      
3567                     </div>                    
3568                 </div>
3569
3570             </td>
3571             <td class="msource">
3572                 <a href="./Roo.form.BasicForm.html#constructor" roo:cls="Roo.form.BasicForm.html#constructor">Roo.form.BasicForm</a>
3573             </td>
3574         </tr>
3575         
3576           <tr class="method-row expandable config-row-alt1">
3577             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
3578             
3579             <td class="sig">
3580                 <a id="Roo.form.BasicForm-event-*actionfailed"></a>
3581                 
3582                <div class="fixedFont">
3583                 <b class="itemname">actionfailed</b> (Form <B><i>this</i></B>, Action <B><i>action</i></B>) 
3584                 
3585                 </div>
3586
3587                 <div class="mdesc">
3588
3589                    <div class="short">Fires when an action fails.
3590                    
3591                 </div> 
3592                     
3593                     <div class="long">
3594                     
3595                         Fires when an action fails.
3596                     
3597                         
3598                         
3599                 
3600                         
3601                                 <dl class="detailList">
3602                                 <dt class="heading">Parameters:</dt>
3603                                 
3604                                         <dt>
3605                                                 <span class="fixedFont">Form</span> <b>this</b>
3606                                                 
3607                                         </dt>
3608                                         <dd></dd>
3609                                 
3610                                         <dt>
3611                                                 <span class="fixedFont">Action</span> <b>action</b>
3612                                                 
3613                                         </dt>
3614                                         <dd>The action that failed</dd>
3615                                 
3616                                 </dl>
3617                         
3618                         
3619                         
3620                         
3621                         
3622                         
3623                         
3624
3625                     
3626                     
3627                      
3628                     </div>                    
3629                 </div>
3630
3631             </td>
3632             <td class="msource">
3633                 <a href="./Roo.form.BasicForm.html#constructor" roo:cls="Roo.form.BasicForm.html#constructor">Roo.form.BasicForm</a>
3634             </td>
3635         </tr>
3636         
3637           <tr class="method-row expandable config-row-alt0">
3638             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
3639             
3640             <td class="sig">
3641                 <a id="Roo.form.BasicForm-event-*beforeaction"></a>
3642                 
3643                <div class="fixedFont">
3644                 <b class="itemname">beforeaction</b> (Form <B><i>this</i></B>, Action <B><i>action</i></B>) 
3645                 
3646                 </div>
3647
3648                 <div class="mdesc">
3649
3650                    <div class="short">Fires before any action is performed.
3651                    
3652                 </div> 
3653                     
3654                     <div class="long">
3655                     
3656                         Fires before any action is performed. Return false to cancel the action.
3657                     
3658                         
3659                         
3660                 
3661                         
3662                                 <dl class="detailList">
3663                                 <dt class="heading">Parameters:</dt>
3664                                 
3665                                         <dt>
3666                                                 <span class="fixedFont">Form</span> <b>this</b>
3667                                                 
3668                                         </dt>
3669                                         <dd></dd>
3670                                 
3671                                         <dt>
3672                                                 <span class="fixedFont">Action</span> <b>action</b>
3673                                                 
3674                                         </dt>
3675                                         <dd>The action to be performed</dd>
3676                                 
3677                                 </dl>
3678                         
3679                         
3680                         
3681                         
3682                         
3683                         
3684                         
3685
3686                     
3687                     
3688                      
3689                     </div>                    
3690                 </div>
3691
3692             </td>
3693             <td class="msource">
3694                 <a href="./Roo.form.BasicForm.html#constructor" roo:cls="Roo.form.BasicForm.html#constructor">Roo.form.BasicForm</a>
3695             </td>
3696         </tr>
3697         
3698           <tr class="method-row expandable config-row-alt1 notInherited">
3699             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
3700             
3701             <td class="sig">
3702                 <a id="Roo.form.Form-event-*clientvalidation"></a>
3703                 
3704                <div class="fixedFont">
3705                 <b class="itemname">clientvalidation</b> (Form <B><i>this</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>valid</i></B>) 
3706                 
3707                 </div>
3708
3709                 <div class="mdesc">
3710
3711                    <div class="short">If the monitorValid config option is true, this event fires repetitively to notify of valid state
3712                    
3713                 </div> 
3714                     
3715                     <div class="long">
3716                     
3717                         If the monitorValid config option is true, this event fires repetitively to notify of valid state
3718                     
3719                         
3720                         
3721                 
3722                         
3723                                 <dl class="detailList">
3724                                 <dt class="heading">Parameters:</dt>
3725                                 
3726                                         <dt>
3727                                                 <span class="fixedFont">Form</span> <b>this</b>
3728                                                 
3729                                         </dt>
3730                                         <dd></dd>
3731                                 
3732                                         <dt>
3733                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>valid</b>
3734                                                 
3735                                         </dt>
3736                                         <dd>true if the form has passed client-side validation</dd>
3737                                 
3738                                 </dl>
3739                         
3740                         
3741                         
3742                         
3743                         
3744                         
3745                         
3746
3747                     
3748                     
3749                      
3750                     </div>                    
3751                 </div>
3752
3753             </td>
3754             <td class="msource">
3755                 Roo.form.Form
3756             </td>
3757         </tr>
3758         
3759           <tr class="method-row expandable config-row-alt0 notInherited">
3760             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
3761             
3762             <td class="sig">
3763                 <a id="Roo.form.Form-event-*rendered"></a>
3764                 
3765                <div class="fixedFont">
3766                 <b class="itemname">rendered</b> (<a href="./Roo.form.Form.html#constructor" roo:cls="Roo.form.Form.html#constructor">Roo.form.Form</a> <B><i>form</i></B>) 
3767                 
3768                 </div>
3769
3770                 <div class="mdesc">
3771
3772                    <div class="short">Fires when the form is rendered
3773                    
3774                 </div> 
3775                     
3776                     <div class="long">
3777                     
3778                         Fires when the form is rendered
3779                     
3780                         
3781                         
3782                 
3783                         
3784                                 <dl class="detailList">
3785                                 <dt class="heading">Parameters:</dt>
3786                                 
3787                                         <dt>
3788                                                 <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>
3789                                                 
3790                                         </dt>
3791                                         <dd></dd>
3792                                 
3793                                 </dl>
3794                         
3795                         
3796                         
3797                         
3798                         
3799                         
3800                         
3801
3802                     
3803                     
3804                      
3805                     </div>                    
3806                 </div>
3807
3808             </td>
3809             <td class="msource">
3810                 Roo.form.Form
3811             </td>
3812         </tr>
3813         
3814                                                        
3815     </table>
3816
3817   
3818   
3819   
3820  
3821 <!-- ============================== footer ================================= -->
3822                 <div class="fineprint" style="clear:both">
3823                         
3824                         Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a>  on Tue Jul 27 2010 11:05:08 GMT+0800 (HKT)
3825                         Based on 
3826                         <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>  
3827                 </div>
3828         </body>
3829 </html>