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