docs/symbols
[roojs1] / docs / symbols / Roo.form.BasicForm.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
3
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
6         <head>
7                 <meta http-equiv="content-type" content="text/html; charset=undefined" />
8                 <meta name="generator" content="JsDoc Toolkit" />
9                 
10                 
11                 <title>JsDoc Reference - Roo.form.BasicForm</title>
12                 
13                 
14         <link rel="stylesheet" type="text/css" href="../../css/roojs.css" />            
15         <link rel="stylesheet" type="text/css" href="../default.css" />
16         
17         
18         <script type="text/javascript" src="../page.js">
19         
20         </script>
21          
22                 
23         </head>
24
25         <body onload="RooDocsPage.onload();">
26          
27         
28 <div class="body-wrap">
29
30     <!-- ============================== links to methods. ================================= --> 
31
32     <div class="top-tools">
33     <!--
34         <a class="inner-link" href="#Roo.form.BasicForm-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35         <a class="inner-link" href="#Roo.form.BasicForm-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36         <a class="inner-link" href="#Roo.form.BasicForm-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37         <a class="inner-link" href="#Roo.form.BasicForm-configs"><img src="resources/s.gif" class="item-icon icon-config">Config Options</a>
38         <a class="bookmark" href="NEED_TO_CREATE_DIRECT_LINK_HREF"><img src="resources/s.gif" class="item-icon icon-fav">Direct Link</a>
39         -->
40     </div>
41
42     
43 <!-- ============================== inheritance Block. ================================= -->    
44         
45                 <div class="inheritance res-block">
46                    <pre class="res-block-inner"><a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
47 <img src="../../images/default/s.gif" height="1"  width="20"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.form.BasicForm 
48
49                    </pre>
50                 </div>
51        
52 <!-- ============================== class title / details ============================ -->
53     
54     
55     <h1 class="classTitle">
56                                 
57                                 Class Roo.form.BasicForm
58                         </h1>
59                         
60     <table cellspacing="0" class="class-summary-table">
61         
62                 <tr><td class="label">Package:</td><td class="hd-info">Roo.form</td></tr>
63         
64         <tr><td class="label">Defined In:</td><td class="hd-info">
65                         
66                                         <a href="./src/Roo_form_BasicForm.js.html">Roo/form/BasicForm.js</a>.
67                         
68         </td></tr>
69         <tr><td class="label">Class:</td><td class="hd-info">BasicForm</td></tr>
70         
71         
72         
73         
74                 <tr><td class="label">Extends:</td><td class="hd-info">
75                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
76         
77                 </td></tr>    
78         
79         
80     </table>
81
82     
83 <!-- ============================== class summary ========================== -->                        
84     <div class="description">
85         Supplies the functionality to do "actions" on forms and initialize Roo.form.Field types on existing markup.
86     </div>
87
88         
89 <!-- ============================== Class comment block... ========================== -->                                       
90
91 <div class="comments">
92         <b>Class Comments / Notes</B> =>  
93         <u onclick="parent.CommentDialog.showCommentId = 'Roo.form.BasicForm';">[Add Your comment/notes about this class]</u>
94         <br/>
95         <iframe frameborder="0"  id="comments-Roo.form" style="border: none;width:100%;" 
96                 src="/blog.php/GtkDjsComments/Roo.form.BasicForm.html"></iframe>
97 </div>
98         
99
100                 
101 <!-- ============================== config options ========================== -->                                               
102                  
103     
104     
105                 
106     <div class="hr"></div>
107     <a id="Roo.form.BasicForm-configs"></a>
108                 
109     
110      
111     
112         
113       <table cellspacing="0" class="member-table">   
114       <caption>Config Options (Usually are also Properties)</caption>
115     
116         
117         <tr>
118             <th class="sig-header" colspan="2">Options</th>
119             
120             <th class="msource-header">Defined By</th>
121         </tr>
122         
123         
124         
125         
126         
127                 <tr class="config-row expandable config-row-alt0 notInherited">
128                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
129                     <td class="sig">
130
131                         <a id="Roo.form.BasicForm-cfg-baseParams" name=".baseParams"></a>
132                         <div class="fixedFont">
133                                 <b  class="itemname">baseParams</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
134                                 
135                                 
136                         </div>
137                   
138                         <div class="mdesc">
139                             <div class="short">Parameters to pass with all requests.</div> 
140                         </div>
141                         
142                         <div class="mdesc">
143                             <div class="long">Parameters to pass with all requests. e.g. baseParams: {id: '123', foo: 'bar'}.</div> 
144                         </div>
145                         
146                         
147
148                     </td>
149                     <td class="msource">
150                         
151                         Roo.form.BasicForm
152                                 
153                     </td>
154                 </tr>
155         
156         
157                 <tr class="config-row expandable config-row-alt1 notInherited">
158                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
159                     <td class="sig">
160
161                         <a id="Roo.form.BasicForm-cfg-errorReader" name=".errorReader"></a>
162                         <div class="fixedFont">
163                                 <b  class="itemname">errorReader</b> : DataReader
164                                 
165                                 
166                         </div>
167                   
168                         <div class="mdesc">
169                             <div class="short">An Roo.data.DataReader (e.g.</div> 
170                         </div>
171                         
172                         <div class="mdesc">
173                             <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> 
174                         </div>
175                         
176                         
177
178                     </td>
179                     <td class="msource">
180                         
181                         Roo.form.BasicForm
182                                 
183                     </td>
184                 </tr>
185         
186         
187                 <tr class="config-row expandable config-row-alt0 notInherited">
188                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
189                     <td class="sig">
190
191                         <a id="Roo.form.BasicForm-cfg-fileUpload" name=".fileUpload"></a>
192                         <div class="fixedFont">
193                                 <b  class="itemname">fileUpload</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
194                                 
195                                 
196                         </div>
197                   
198                         <div class="mdesc">
199                             <div class="short">Set to true if this form is a file upload.</div> 
200                         </div>
201                         
202                         <div class="mdesc">
203                             <div class="long">Set to true if this form is a file upload.</div> 
204                         </div>
205                         
206                         
207
208                     </td>
209                     <td class="msource">
210                         
211                         Roo.form.BasicForm
212                                 
213                     </td>
214                 </tr>
215         
216         
217                 <tr class="config-row expandable config-row-alt1 notInherited">
218                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
219                     <td class="sig">
220
221                         <a id="Roo.form.BasicForm-cfg-method" name=".method"></a>
222                         <div class="fixedFont">
223                                 <b  class="itemname">method</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
224                                 
225                                 
226                         </div>
227                   
228                         <div class="mdesc">
229                             <div class="short">The request method to use (GET or POST) for form actions if one isn't supplied in the action options.</div> 
230                         </div>
231                         
232                         <div class="mdesc">
233                             <div class="long">The request method to use (GET or POST) for form actions if one isn't supplied in the action options.</div> 
234                         </div>
235                         
236                         
237
238                     </td>
239                     <td class="msource">
240                         
241                         Roo.form.BasicForm
242                                 
243                     </td>
244                 </tr>
245         
246         
247                 <tr class="config-row expandable config-row-alt0 notInherited">
248                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
249                     <td class="sig">
250
251                         <a id="Roo.form.BasicForm-cfg-reader" name=".reader"></a>
252                         <div class="fixedFont">
253                                 <b  class="itemname">reader</b> : DataReader
254                                 
255                                 
256                         </div>
257                   
258                         <div class="mdesc">
259                             <div class="short">An Roo.data.DataReader (e.g.</div> 
260                         </div>
261                         
262                         <div class="mdesc">
263                             <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> 
264                         </div>
265                         
266                         
267
268                     </td>
269                     <td class="msource">
270                         
271                         Roo.form.BasicForm
272                                 
273                     </td>
274                 </tr>
275         
276         
277                 <tr class="config-row expandable config-row-alt1 notInherited">
278                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
279                     <td class="sig">
280
281                         <a id="Roo.form.BasicForm-cfg-timeout" name=".timeout"></a>
282                         <div class="fixedFont">
283                                 <b  class="itemname">timeout</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
284                                 
285                                 
286                         </div>
287                   
288                         <div class="mdesc">
289                             <div class="short">Timeout for form actions in seconds (default is 30 seconds).</div> 
290                         </div>
291                         
292                         <div class="mdesc">
293                             <div class="long">Timeout for form actions in seconds (default is 30 seconds).</div> 
294                         </div>
295                         
296                         
297
298                     </td>
299                     <td class="msource">
300                         
301                         Roo.form.BasicForm
302                                 
303                     </td>
304                 </tr>
305         
306         
307                 <tr class="config-row expandable config-row-alt0 notInherited">
308                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
309                     <td class="sig">
310
311                         <a id="Roo.form.BasicForm-cfg-trackResetOnLoad" name=".trackResetOnLoad"></a>
312                         <div class="fixedFont">
313                                 <b  class="itemname">trackResetOnLoad</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
314                                 
315                                 
316                         </div>
317                   
318                         <div class="mdesc">
319                             <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> 
320                         </div>
321                         
322                         <div class="mdesc">
323                             <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> 
324                         </div>
325                         
326                         
327
328                     </td>
329                     <td class="msource">
330                         
331                         Roo.form.BasicForm
332                                 
333                     </td>
334                 </tr>
335         
336         
337                 <tr class="config-row expandable config-row-alt1 notInherited">
338                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
339                     <td class="sig">
340
341                         <a id="Roo.form.BasicForm-cfg-url" name=".url"></a>
342                         <div class="fixedFont">
343                                 <b  class="itemname">url</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
344                                 
345                                 
346                         </div>
347                   
348                         <div class="mdesc">
349                             <div class="short">The URL to use for form actions if one isn't supplied in the action options.</div> 
350                         </div>
351                         
352                         <div class="mdesc">
353                             <div class="long">The URL to use for form actions if one isn't supplied in the action options.</div> 
354                         </div>
355                         
356                         
357
358                     </td>
359                     <td class="msource">
360                         
361                         Roo.form.BasicForm
362                                 
363                     </td>
364                 </tr>
365         
366         
367     </table>
368                 
369   
370   
371   
372   
373   
374   
375   
376   
377   <!-- ============================== public properties ==================== -->        
378   
379   
380   
381     <a id="Roo.form.BasicForm-props"></a>      
382     
383     
384
385     
386     
387      <table cellspacing="0" class="member-table">
388       <caption class="Empty">Public Properties - Has None</caption>
389      </table>
390     
391     
392      
393     
394   <!-- ============================== methods summary / details ======================== -->
395   
396   
397   <a id="Roo.form.BasicForm-methods"></a>
398         <!-- constructor?? -->
399         
400         <!-- static's first 
401         
402         
403         -->
404         
405         <!-- then dynamics first -->
406         
407   
408   
409     
410     
411     
412       <table cellspacing="0" class="member-table">
413       <caption>Public Methods</caption>
414         <tr>
415             <th class="sig-header" colspan="2">Method</th>            
416             <th class="msource-header">Defined By</th>
417
418         </tr>
419         
420         
421         
422          
423         
424         
425           
426           <tr class="method-row config-row-alt0 expandable notInherited">
427             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
428            
429            
430             <td class="sig">
431                 <a id="Roo.form-method-BasicForm"   name=".BasicForm"></a>
432                 <div class="fixedFont">
433                         <span class="attributes">new <B>Roo.form.</B></span><b class="itemname">BasicForm</b>
434                                 
435                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element <B><i>el</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>) 
436                         
437                                 
438                         
439                 </div>
440                 <div class="mdesc">
441                 
442                  
443                         <div class="short">Create a new Roo.form.BasicForm</div> 
444                  
445                  
446                     <div class="long">
447                         
448                         
449                         
450                                 Create a new Roo.form.BasicForm
451                         
452                         
453                                 <dl class="detailList">
454                                 <dt class="heading">Parameters:</dt>
455                                 
456                                         <dt>
457                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span>  <b>el</b>
458                                                 
459                                         </dt>
460                                         <dd>The form element or its id</dd>
461                                 
462                                         <dt>
463                                                 <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>
464                                                 
465                                         </dt>
466                                         <dd>Configuration options</dd>
467                                 
468                                 </dl>
469                         
470                         
471                         
472                         
473                         
474                         
475                         
476
477                     
478                     
479                      
480                     </div>                    
481                 </div>
482
483             </td>
484             <td class="msource">
485                 &nbsp;
486             </td>
487         </tr>
488         
489           
490           <tr class="method-row config-row-alt1 expandable notInherited">
491             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
492            
493            
494             <td class="sig">
495                 <a id="Roo.form.BasicForm-method-add"   name=".add"></a>
496                 <div class="fixedFont">
497                         <span class="attributes"></span><b class="itemname">add</b>
498                                 
499                                  (Field <B><i>field1</i></B>, Field <B><i>field2</i></B>, Field <B><i>etc</i></B>) 
500                         
501                                 
502                                          : 
503                                         
504                                                 
505                                                 BasicForm
506                                         
507                                         
508                                         
509                                 
510                         
511                 </div>
512                 <div class="mdesc">
513                 
514                    <div class="short">Add Roo.form components to this form.</div> 
515                  
516                  
517                  
518                     <div class="long">
519                         
520                                 Add Roo.form components to this form.
521                     
522                                 
523                         
524                         
525                         
526                         
527                                 <dl class="detailList">
528                                 <dt class="heading">Parameters:</dt>
529                                 
530                                         <dt>
531                                                 <span class="fixedFont">Field</span>  <b>field1</b>
532                                                 
533                                         </dt>
534                                         <dd></dd>
535                                 
536                                         <dt>
537                                                 <span class="fixedFont">Field</span>  <b>field2</b>
538                                                 
539                                         </dt>
540                                         <dd>(optional)</dd>
541                                 
542                                         <dt>
543                                                 <span class="fixedFont">Field</span>  <b>etc</b>
544                                                 
545                                         </dt>
546                                         <dd>(optional)</dd>
547                                 
548                                 </dl>
549                         
550                         
551                         
552                         
553                         
554                                 <dl class="detailList">
555                                 <dt class="heading">Returns:</dt>
556                                 
557                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
558                                 
559                                 </dl>
560                         
561                         
562                         
563
564                     
565                     
566                      
567                     </div>                    
568                 </div>
569
570             </td>
571             <td class="msource">
572                 
573                         Roo.form.BasicForm
574                 &nbsp;
575             </td>
576         </tr>
577         
578           
579           <tr class="method-row config-row-alt0 expandable notInherited">
580             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
581            
582            
583             <td class="sig">
584                 <a id="Roo.form.BasicForm-method-applyIfToFields"   name=".applyIfToFields"></a>
585                 <div class="fixedFont">
586                         <span class="attributes"></span><b class="itemname">applyIfToFields</b>
587                                 
588                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>values</i></B>) 
589                         
590                                 
591                                          : 
592                                         
593                                                 
594                                                 BasicForm
595                                         
596                                         
597                                         
598                                 
599                         
600                 </div>
601                 <div class="mdesc">
602                 
603                    <div class="short">Calls {<b>link</b> Ext<b>applyIf</b>} for all field in this form with the passed object.</div> 
604                  
605                  
606                  
607                     <div class="long">
608                         
609                                 Calls {<b>link</b> Ext<b>applyIf</b>} for all field in this form with the passed object.
610                     
611                                 
612                         
613                         
614                         
615                         
616                                 <dl class="detailList">
617                                 <dt class="heading">Parameters:</dt>
618                                 
619                                         <dt>
620                                                 <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>
621                                                 
622                                         </dt>
623                                         <dd></dd>
624                                 
625                                 </dl>
626                         
627                         
628                         
629                         
630                         
631                                 <dl class="detailList">
632                                 <dt class="heading">Returns:</dt>
633                                 
634                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
635                                 
636                                 </dl>
637                         
638                         
639                         
640
641                     
642                     
643                      
644                     </div>                    
645                 </div>
646
647             </td>
648             <td class="msource">
649                 
650                         Roo.form.BasicForm
651                 &nbsp;
652             </td>
653         </tr>
654         
655           
656           <tr class="method-row config-row-alt1 expandable notInherited">
657             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
658            
659            
660             <td class="sig">
661                 <a id="Roo.form.BasicForm-method-applyToFields"   name=".applyToFields"></a>
662                 <div class="fixedFont">
663                         <span class="attributes"></span><b class="itemname">applyToFields</b>
664                                 
665                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>values</i></B>) 
666                         
667                                 
668                                          : 
669                                         
670                                                 
671                                                 BasicForm
672                                         
673                                         
674                                         
675                                 
676                         
677                 </div>
678                 <div class="mdesc">
679                 
680                    <div class="short">Calls {<b>link</b> Ext<b>apply</b>} for all fields in this form with the passed object.</div> 
681                  
682                  
683                  
684                     <div class="long">
685                         
686                                 Calls {<b>link</b> Ext<b>apply</b>} for all fields in this form with the passed object.
687                     
688                                 
689                         
690                         
691                         
692                         
693                                 <dl class="detailList">
694                                 <dt class="heading">Parameters:</dt>
695                                 
696                                         <dt>
697                                                 <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>
698                                                 
699                                         </dt>
700                                         <dd></dd>
701                                 
702                                 </dl>
703                         
704                         
705                         
706                         
707                         
708                                 <dl class="detailList">
709                                 <dt class="heading">Returns:</dt>
710                                 
711                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
712                                 
713                                 </dl>
714                         
715                         
716                         
717
718                     
719                     
720                      
721                     </div>                    
722                 </div>
723
724             </td>
725             <td class="msource">
726                 
727                         Roo.form.BasicForm
728                 &nbsp;
729             </td>
730         </tr>
731         
732           
733           <tr class="method-row config-row-alt0 expandable notInherited">
734             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
735            
736            
737             <td class="sig">
738                 <a id="Roo.form.BasicForm-method-clearInvalid"   name=".clearInvalid"></a>
739                 <div class="fixedFont">
740                         <span class="attributes"></span><b class="itemname">clearInvalid</b>
741                                 
742                                  () 
743                         
744                                 
745                                          : 
746                                         
747                                                 
748                                                 BasicForm
749                                         
750                                         
751                                         
752                                 
753                         
754                 </div>
755                 <div class="mdesc">
756                 
757                    <div class="short">Clears all invalid messages in this form.</div> 
758                  
759                  
760                  
761                     <div class="long">
762                         
763                                 Clears all invalid messages in this form.
764                     
765                                 
766                         
767                         
768                         
769                         
770                         
771                         
772                         
773                         
774                                 <dl class="detailList">
775                                 <dt class="heading">Returns:</dt>
776                                 
777                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
778                                 
779                                 </dl>
780                         
781                         
782                         
783
784                     
785                     
786                      
787                     </div>                    
788                 </div>
789
790             </td>
791             <td class="msource">
792                 
793                         Roo.form.BasicForm
794                 &nbsp;
795             </td>
796         </tr>
797         
798           
799           <tr class="method-row config-row-alt1 expandable notInherited">
800             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
801            
802            
803             <td class="sig">
804                 <a id="Roo.form.BasicForm-method-doAction"   name=".doAction"></a>
805                 <div class="fixedFont">
806                         <span class="attributes"></span><b class="itemname">doAction</b>
807                                 
808                                  (<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>) 
809                         
810                                 
811                                          : 
812                                         
813                                                 
814                                                 BasicForm
815                                         
816                                         
817                                         
818                                 
819                         
820                 </div>
821                 <div class="mdesc">
822                 
823                    <div class="short">Performs a predefined action (submit or load) or custom actions you define on this form.</div> 
824                  
825                  
826                  
827                     <div class="long">
828                         
829                                 Performs a predefined action (submit or load) or custom actions you define on this form.
830                     
831                                 
832                         
833                         
834                         
835                         
836                                 <dl class="detailList">
837                                 <dt class="heading">Parameters:</dt>
838                                 
839                                         <dt>
840                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>actionName</b>
841                                                 
842                                         </dt>
843                                         <dd>The name of the action type</dd>
844                                 
845                                         <dt>
846                                                 <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>
847                                                 
848                                         </dt>
849                                         <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>
850                                 
851                                 </dl>
852                         
853                         
854                         
855                         
856                         
857                                 <dl class="detailList">
858                                 <dt class="heading">Returns:</dt>
859                                 
860                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
861                                 
862                                 </dl>
863                         
864                         
865                         
866
867                     
868                     
869                      
870                     </div>                    
871                 </div>
872
873             </td>
874             <td class="msource">
875                 
876                         Roo.form.BasicForm
877                 &nbsp;
878             </td>
879         </tr>
880         
881           
882           <tr class="method-row config-row-alt0 expandable notInherited">
883             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
884            
885            
886             <td class="sig">
887                 <a id="Roo.form.BasicForm-method-findField"   name=".findField"></a>
888                 <div class="fixedFont">
889                         <span class="attributes"></span><b class="itemname">findField</b>
890                                 
891                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>id</i></B>) 
892                         
893                                 
894                                          : 
895                                         
896                                                 
897                                                 
898                                         
899                                         
900                                         
901                                 
902                         
903                 </div>
904                 <div class="mdesc">
905                 
906                    <div class="short">Find a Roo.form.Field in this form by id, dataIndex, name or hiddenName</div> 
907                  
908                  
909                  
910                     <div class="long">
911                         
912                                 Find a Roo.form.Field in this form by id, dataIndex, name or hiddenName
913                     
914                                 
915                         
916                         
917                         
918                         
919                                 <dl class="detailList">
920                                 <dt class="heading">Parameters:</dt>
921                                 
922                                         <dt>
923                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>id</b>
924                                                 
925                                         </dt>
926                                         <dd>The value to search for</dd>
927                                 
928                                 </dl>
929                         
930                         
931                         
932                         
933                         
934                                 <dl class="detailList">
935                                 <dt class="heading">Returns:</dt>
936                                 
937                                         <dd> Field</dd>
938                                 
939                                 </dl>
940                         
941                         
942                         
943
944                     
945                     
946                      
947                     </div>                    
948                 </div>
949
950             </td>
951             <td class="msource">
952                 
953                         Roo.form.BasicForm
954                 &nbsp;
955             </td>
956         </tr>
957         
958           
959           <tr class="method-row config-row-alt1 expandable notInherited">
960             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
961            
962            
963             <td class="sig">
964                 <a id="Roo.form.BasicForm-method-getValues"   name=".getValues"></a>
965                 <div class="fixedFont">
966                         <span class="attributes"></span><b class="itemname">getValues</b>
967                                 
968                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>asString</i></B>) 
969                         
970                                 
971                                          : 
972                                         
973                                                 
974                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
975                                         
976                                         
977                                         
978                                 
979                         
980                 </div>
981                 <div class="mdesc">
982                 
983                    <div class="short">Returns the fields in this form as an object with key/value pairs.</div> 
984                  
985                  
986                  
987                     <div class="long">
988                         
989                                 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.
990                     
991                                 
992                         
993                         
994                         
995                         
996                                 <dl class="detailList">
997                                 <dt class="heading">Parameters:</dt>
998                                 
999                                         <dt>
1000                                                 <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>
1001                                                 
1002                                         </dt>
1003                                         <dd></dd>
1004                                 
1005                                 </dl>
1006                         
1007                         
1008                         
1009                         
1010                         
1011                                 <dl class="detailList">
1012                                 <dt class="heading">Returns:</dt>
1013                                 
1014                                         <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  </dd>
1015                                 
1016                                 </dl>
1017                         
1018                         
1019                         
1020
1021                     
1022                     
1023                      
1024                     </div>                    
1025                 </div>
1026
1027             </td>
1028             <td class="msource">
1029                 
1030                         Roo.form.BasicForm
1031                 &nbsp;
1032             </td>
1033         </tr>
1034         
1035           
1036           <tr class="method-row config-row-alt0 expandable notInherited">
1037             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1038            
1039            
1040             <td class="sig">
1041                 <a id="Roo.form.BasicForm-method-isDirty"   name=".isDirty"></a>
1042                 <div class="fixedFont">
1043                         <span class="attributes"></span><b class="itemname">isDirty</b>
1044                                 
1045                                  () 
1046                         
1047                                 
1048                                          : 
1049                                         
1050                                                 
1051                                                 
1052                                         
1053                                         
1054                                         
1055                                 
1056                         
1057                 </div>
1058                 <div class="mdesc">
1059                 
1060                    <div class="short">Returns true if any fields in this form have changed since their original load.</div> 
1061                  
1062                  
1063                  
1064                     <div class="long">
1065                         
1066                                 Returns true if any fields in this form have changed since their original load.
1067                     
1068                                 
1069                         
1070                         
1071                         
1072                         
1073                         
1074                         
1075                         
1076                         
1077                                 <dl class="detailList">
1078                                 <dt class="heading">Returns:</dt>
1079                                 
1080                                         <dd> Boolean</dd>
1081                                 
1082                                 </dl>
1083                         
1084                         
1085                         
1086
1087                     
1088                     
1089                      
1090                     </div>                    
1091                 </div>
1092
1093             </td>
1094             <td class="msource">
1095                 
1096                         Roo.form.BasicForm
1097                 &nbsp;
1098             </td>
1099         </tr>
1100         
1101           
1102           <tr class="method-row config-row-alt1 expandable notInherited">
1103             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1104            
1105            
1106             <td class="sig">
1107                 <a id="Roo.form.BasicForm-method-isValid"   name=".isValid"></a>
1108                 <div class="fixedFont">
1109                         <span class="attributes"></span><b class="itemname">isValid</b>
1110                                 
1111                                  () 
1112                         
1113                                 
1114                                          : 
1115                                         
1116                                                 
1117                                                 
1118                                         
1119                                         
1120                                         
1121                                 
1122                         
1123                 </div>
1124                 <div class="mdesc">
1125                 
1126                    <div class="short">Returns true if client-side validation on the form is successful.</div> 
1127                  
1128                  
1129                  
1130                     <div class="long">
1131                         
1132                                 Returns true if client-side validation on the form is successful.
1133                     
1134                                 
1135                         
1136                         
1137                         
1138                         
1139                         
1140                         
1141                         
1142                         
1143                                 <dl class="detailList">
1144                                 <dt class="heading">Returns:</dt>
1145                                 
1146                                         <dd> Boolean</dd>
1147                                 
1148                                 </dl>
1149                         
1150                         
1151                         
1152
1153                     
1154                     
1155                      
1156                     </div>                    
1157                 </div>
1158
1159             </td>
1160             <td class="msource">
1161                 
1162                         Roo.form.BasicForm
1163                 &nbsp;
1164             </td>
1165         </tr>
1166         
1167           
1168           <tr class="method-row config-row-alt0 expandable notInherited">
1169             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1170            
1171            
1172             <td class="sig">
1173                 <a id="Roo.form.BasicForm-method-load"   name=".load"></a>
1174                 <div class="fixedFont">
1175                         <span class="attributes"></span><b class="itemname">load</b>
1176                                 
1177                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>) 
1178                         
1179                                 
1180                                          : 
1181                                         
1182                                                 
1183                                                 BasicForm
1184                                         
1185                                         
1186                                         
1187                                 
1188                         
1189                 </div>
1190                 <div class="mdesc">
1191                 
1192                    <div class="short">Shortcut to do a load action.</div> 
1193                  
1194                  
1195                  
1196                     <div class="long">
1197                         
1198                                 Shortcut to do a load action.
1199                     
1200                                 
1201                         
1202                         
1203                         
1204                         
1205                                 <dl class="detailList">
1206                                 <dt class="heading">Parameters:</dt>
1207                                 
1208                                         <dt>
1209                                                 <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>
1210                                                 
1211                                         </dt>
1212                                         <dd>The options to pass to the action (see {<b>link</b> <b>doAction</b>} for details)</dd>
1213                                 
1214                                 </dl>
1215                         
1216                         
1217                         
1218                         
1219                         
1220                                 <dl class="detailList">
1221                                 <dt class="heading">Returns:</dt>
1222                                 
1223                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
1224                                 
1225                                 </dl>
1226                         
1227                         
1228                         
1229
1230                     
1231                     
1232                      
1233                     </div>                    
1234                 </div>
1235
1236             </td>
1237             <td class="msource">
1238                 
1239                         Roo.form.BasicForm
1240                 &nbsp;
1241             </td>
1242         </tr>
1243         
1244           
1245           <tr class="method-row config-row-alt1 expandable notInherited">
1246             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1247            
1248            
1249             <td class="sig">
1250                 <a id="Roo.form.BasicForm-method-loadRecord"   name=".loadRecord"></a>
1251                 <div class="fixedFont">
1252                         <span class="attributes"></span><b class="itemname">loadRecord</b>
1253                                 
1254                                  (Record <B><i>record</i></B>) 
1255                         
1256                                 
1257                                          : 
1258                                         
1259                                                 
1260                                                 BasicForm
1261                                         
1262                                         
1263                                         
1264                                 
1265                         
1266                 </div>
1267                 <div class="mdesc">
1268                 
1269                    <div class="short">Loads an Roo.data.Record into this form.</div> 
1270                  
1271                  
1272                  
1273                     <div class="long">
1274                         
1275                                 Loads an Roo.data.Record into this form.
1276                     
1277                                 
1278                         
1279                         
1280                         
1281                         
1282                                 <dl class="detailList">
1283                                 <dt class="heading">Parameters:</dt>
1284                                 
1285                                         <dt>
1286                                                 <span class="fixedFont">Record</span>  <b>record</b>
1287                                                 
1288                                         </dt>
1289                                         <dd>The record to load</dd>
1290                                 
1291                                 </dl>
1292                         
1293                         
1294                         
1295                         
1296                         
1297                                 <dl class="detailList">
1298                                 <dt class="heading">Returns:</dt>
1299                                 
1300                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
1301                                 
1302                                 </dl>
1303                         
1304                         
1305                         
1306
1307                     
1308                     
1309                      
1310                     </div>                    
1311                 </div>
1312
1313             </td>
1314             <td class="msource">
1315                 
1316                         Roo.form.BasicForm
1317                 &nbsp;
1318             </td>
1319         </tr>
1320         
1321           
1322           <tr class="method-row config-row-alt0 expandable notInherited">
1323             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1324            
1325            
1326             <td class="sig">
1327                 <a id="Roo.form.BasicForm-method-markInvalid"   name=".markInvalid"></a>
1328                 <div class="fixedFont">
1329                         <span class="attributes"></span><b class="itemname">markInvalid</b>
1330                                 
1331                                  (<a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>/Object <B><i>errors</i></B>) 
1332                         
1333                                 
1334                                          : 
1335                                         
1336                                                 
1337                                                 BasicForm
1338                                         
1339                                         
1340                                         
1341                                 
1342                         
1343                 </div>
1344                 <div class="mdesc">
1345                 
1346                    <div class="short">Mark fields in this form invalid in bulk.</div> 
1347                  
1348                  
1349                  
1350                     <div class="long">
1351                         
1352                                 Mark fields in this form invalid in bulk.
1353                     
1354                                 
1355                         
1356                         
1357                         
1358                         
1359                                 <dl class="detailList">
1360                                 <dt class="heading">Parameters:</dt>
1361                                 
1362                                         <dt>
1363                                                 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>/Object</span>  <b>errors</b>
1364                                                 
1365                                         </dt>
1366                                         <dd>Either an array in the form [{id:'fieldId', msg:'The message'},...] or an object hash of {id: msg, id2: msg2}</dd>
1367                                 
1368                                 </dl>
1369                         
1370                         
1371                         
1372                         
1373                         
1374                                 <dl class="detailList">
1375                                 <dt class="heading">Returns:</dt>
1376                                 
1377                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
1378                                 
1379                                 </dl>
1380                         
1381                         
1382                         
1383
1384                     
1385                     
1386                      
1387                     </div>                    
1388                 </div>
1389
1390             </td>
1391             <td class="msource">
1392                 
1393                         Roo.form.BasicForm
1394                 &nbsp;
1395             </td>
1396         </tr>
1397         
1398           
1399           <tr class="method-row config-row-alt1 expandable notInherited">
1400             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1401            
1402            
1403             <td class="sig">
1404                 <a id="Roo.form.BasicForm-method-remove"   name=".remove"></a>
1405                 <div class="fixedFont">
1406                         <span class="attributes"></span><b class="itemname">remove</b>
1407                                 
1408                                  (Field <B><i>field</i></B>) 
1409                         
1410                                 
1411                                          : 
1412                                         
1413                                                 
1414                                                 BasicForm
1415                                         
1416                                         
1417                                         
1418                                 
1419                         
1420                 </div>
1421                 <div class="mdesc">
1422                 
1423                    <div class="short">Removes a field from the items collection (does NOT remove its markup).</div> 
1424                  
1425                  
1426                  
1427                     <div class="long">
1428                         
1429                                 Removes a field from the items collection (does NOT remove its markup).
1430                     
1431                                 
1432                         
1433                         
1434                         
1435                         
1436                                 <dl class="detailList">
1437                                 <dt class="heading">Parameters:</dt>
1438                                 
1439                                         <dt>
1440                                                 <span class="fixedFont">Field</span>  <b>field</b>
1441                                                 
1442                                         </dt>
1443                                         <dd></dd>
1444                                 
1445                                 </dl>
1446                         
1447                         
1448                         
1449                         
1450                         
1451                                 <dl class="detailList">
1452                                 <dt class="heading">Returns:</dt>
1453                                 
1454                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
1455                                 
1456                                 </dl>
1457                         
1458                         
1459                         
1460
1461                     
1462                     
1463                      
1464                     </div>                    
1465                 </div>
1466
1467             </td>
1468             <td class="msource">
1469                 
1470                         Roo.form.BasicForm
1471                 &nbsp;
1472             </td>
1473         </tr>
1474         
1475           
1476           <tr class="method-row config-row-alt0 expandable notInherited">
1477             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1478            
1479            
1480             <td class="sig">
1481                 <a id="Roo.form.BasicForm-method-render"   name=".render"></a>
1482                 <div class="fixedFont">
1483                         <span class="attributes"></span><b class="itemname">render</b>
1484                                 
1485                                  () 
1486                         
1487                                 
1488                                          : 
1489                                         
1490                                                 
1491                                                 BasicForm
1492                                         
1493                                         
1494                                         
1495                                 
1496                         
1497                 </div>
1498                 <div class="mdesc">
1499                 
1500                    <div class="short">Looks at the fields in this form, checks them for an id attribute,<br/>and calls applyTo on the existing dom element with that id.</div> 
1501                  
1502                  
1503                  
1504                     <div class="long">
1505                         
1506                                 Looks at the fields in this form, checks them for an id attribute,<br/>and calls applyTo on the existing dom element with that id.
1507                     
1508                                 
1509                         
1510                         
1511                         
1512                         
1513                         
1514                         
1515                         
1516                         
1517                                 <dl class="detailList">
1518                                 <dt class="heading">Returns:</dt>
1519                                 
1520                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
1521                                 
1522                                 </dl>
1523                         
1524                         
1525                         
1526
1527                     
1528                     
1529                      
1530                     </div>                    
1531                 </div>
1532
1533             </td>
1534             <td class="msource">
1535                 
1536                         Roo.form.BasicForm
1537                 &nbsp;
1538             </td>
1539         </tr>
1540         
1541           
1542           <tr class="method-row config-row-alt1 expandable notInherited">
1543             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1544            
1545            
1546             <td class="sig">
1547                 <a id="Roo.form.BasicForm-method-reset"   name=".reset"></a>
1548                 <div class="fixedFont">
1549                         <span class="attributes"></span><b class="itemname">reset</b>
1550                                 
1551                                  () 
1552                         
1553                                 
1554                                          : 
1555                                         
1556                                                 
1557                                                 BasicForm
1558                                         
1559                                         
1560                                         
1561                                 
1562                         
1563                 </div>
1564                 <div class="mdesc">
1565                 
1566                    <div class="short">Resets this form.</div> 
1567                  
1568                  
1569                  
1570                     <div class="long">
1571                         
1572                                 Resets this form.
1573                     
1574                                 
1575                         
1576                         
1577                         
1578                         
1579                         
1580                         
1581                         
1582                         
1583                                 <dl class="detailList">
1584                                 <dt class="heading">Returns:</dt>
1585                                 
1586                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
1587                                 
1588                                 </dl>
1589                         
1590                         
1591                         
1592
1593                     
1594                     
1595                      
1596                     </div>                    
1597                 </div>
1598
1599             </td>
1600             <td class="msource">
1601                 
1602                         Roo.form.BasicForm
1603                 &nbsp;
1604             </td>
1605         </tr>
1606         
1607           
1608           <tr class="method-row config-row-alt0 expandable notInherited">
1609             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1610            
1611            
1612             <td class="sig">
1613                 <a id="Roo.form.BasicForm-method-setValues"   name=".setValues"></a>
1614                 <div class="fixedFont">
1615                         <span class="attributes"></span><b class="itemname">setValues</b>
1616                                 
1617                                  (<a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>/Object <B><i>values</i></B>) 
1618                         
1619                                 
1620                                          : 
1621                                         
1622                                                 
1623                                                 BasicForm
1624                                         
1625                                         
1626                                         
1627                                 
1628                         
1629                 </div>
1630                 <div class="mdesc">
1631                 
1632                    <div class="short">Set values for fields in this form in bulk.</div> 
1633                  
1634                  
1635                  
1636                     <div class="long">
1637                         
1638                                 Set values for fields in this form in bulk.
1639                     
1640                                 
1641                         
1642                         
1643                         
1644                         
1645                                 <dl class="detailList">
1646                                 <dt class="heading">Parameters:</dt>
1647                                 
1648                                         <dt>
1649                                                 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>/Object</span>  <b>values</b>
1650                                                 
1651                                         </dt>
1652                                         <dd>Either an array in the form [{id:'fieldId', value:'foo'},...] or an object hash of {id: value, id2: value2}</dd>
1653                                 
1654                                 </dl>
1655                         
1656                         
1657                         
1658                         
1659                         
1660                                 <dl class="detailList">
1661                                 <dt class="heading">Returns:</dt>
1662                                 
1663                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
1664                                 
1665                                 </dl>
1666                         
1667                         
1668                         
1669
1670                     
1671                     
1672                      
1673                     </div>                    
1674                 </div>
1675
1676             </td>
1677             <td class="msource">
1678                 
1679                         Roo.form.BasicForm
1680                 &nbsp;
1681             </td>
1682         </tr>
1683         
1684           
1685           <tr class="method-row config-row-alt1 expandable notInherited">
1686             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1687            
1688            
1689             <td class="sig">
1690                 <a id="Roo.form.BasicForm-method-submit"   name=".submit"></a>
1691                 <div class="fixedFont">
1692                         <span class="attributes"></span><b class="itemname">submit</b>
1693                                 
1694                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>) 
1695                         
1696                                 
1697                                          : 
1698                                         
1699                                                 
1700                                                 BasicForm
1701                                         
1702                                         
1703                                         
1704                                 
1705                         
1706                 </div>
1707                 <div class="mdesc">
1708                 
1709                    <div class="short">Shortcut to do a submit action.</div> 
1710                  
1711                  
1712                  
1713                     <div class="long">
1714                         
1715                                 Shortcut to do a submit action.
1716                     
1717                                 
1718                         
1719                         
1720                         
1721                         
1722                                 <dl class="detailList">
1723                                 <dt class="heading">Parameters:</dt>
1724                                 
1725                                         <dt>
1726                                                 <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>
1727                                                 
1728                                         </dt>
1729                                         <dd>The options to pass to the action (see {<b>link</b> <b>doAction</b>} for details)</dd>
1730                                 
1731                                 </dl>
1732                         
1733                         
1734                         
1735                         
1736                         
1737                                 <dl class="detailList">
1738                                 <dt class="heading">Returns:</dt>
1739                                 
1740                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
1741                                 
1742                                 </dl>
1743                         
1744                         
1745                         
1746
1747                     
1748                     
1749                      
1750                     </div>                    
1751                 </div>
1752
1753             </td>
1754             <td class="msource">
1755                 
1756                         Roo.form.BasicForm
1757                 &nbsp;
1758             </td>
1759         </tr>
1760         
1761           
1762           <tr class="method-row config-row-alt0 expandable notInherited">
1763             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1764            
1765            
1766             <td class="sig">
1767                 <a id="Roo.form.BasicForm-method-updateRecord"   name=".updateRecord"></a>
1768                 <div class="fixedFont">
1769                         <span class="attributes"></span><b class="itemname">updateRecord</b>
1770                                 
1771                                  (Record <B><i>record</i></B>) 
1772                         
1773                                 
1774                                          : 
1775                                         
1776                                                 
1777                                                 BasicForm
1778                                         
1779                                         
1780                                         
1781                                 
1782                         
1783                 </div>
1784                 <div class="mdesc">
1785                 
1786                    <div class="short">Persists the values in this form into the passed Roo.data.Record object in a beginEdit/endEdit block.</div> 
1787                  
1788                  
1789                  
1790                     <div class="long">
1791                         
1792                                 Persists the values in this form into the passed Roo.data.Record object in a beginEdit/endEdit block.
1793                     
1794                                 
1795                         
1796                         
1797                         
1798                         
1799                                 <dl class="detailList">
1800                                 <dt class="heading">Parameters:</dt>
1801                                 
1802                                         <dt>
1803                                                 <span class="fixedFont">Record</span>  <b>record</b>
1804                                                 
1805                                         </dt>
1806                                         <dd>The record to edit</dd>
1807                                 
1808                                 </dl>
1809                         
1810                         
1811                         
1812                         
1813                         
1814                                 <dl class="detailList">
1815                                 <dt class="heading">Returns:</dt>
1816                                 
1817                                         <dd><span class="fixedFont">BasicForm</span>  this</dd>
1818                                 
1819                                 </dl>
1820                         
1821                         
1822                         
1823
1824                     
1825                     
1826                      
1827                     </div>                    
1828                 </div>
1829
1830             </td>
1831             <td class="msource">
1832                 
1833                         Roo.form.BasicForm
1834                 &nbsp;
1835             </td>
1836         </tr>
1837         
1838                                                        
1839     </table>
1840
1841   
1842   <!-- ============================== events summary / details ======================== -->
1843   
1844   
1845   <a id="Roo.form.BasicForm-events"></a>
1846     
1847   
1848         
1849    
1850   
1851     
1852     
1853     
1854       <table cellspacing="0" class="member-table">
1855                 <caption>Events</caption>
1856               <thead>
1857                 <tr>
1858                     <th class="sig-header" colspan="2">Event</th>            
1859                     <th class="msource-header">Defined By</th>
1860
1861                 </tr>
1862               </thead>  
1863         
1864         
1865          
1866         
1867         
1868           <tr class="method-row expandable config-row-alt0 notInherited">
1869             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1870             
1871             <td class="sig">
1872                 <a id="Roo.form.BasicForm-event-*actioncomplete"></a>
1873                 
1874                <div class="fixedFont">
1875                 <b class="itemname">actioncomplete</b> (Form <B><i>this</i></B>, Action <B><i>action</i></B>) 
1876                 
1877                 </div>
1878
1879                 <div class="mdesc">
1880
1881                    <div class="short">Fires when an action is completed.
1882                    
1883                 </div> 
1884                     
1885                     <div class="long">
1886                     
1887                         Fires when an action is completed.
1888                     
1889                         
1890                         
1891                 
1892                         
1893                                 <dl class="detailList">
1894                                 <dt class="heading">Parameters:</dt>
1895                                 
1896                                         <dt>
1897                                                 <span class="fixedFont">Form</span> <b>this</b>
1898                                                 
1899                                         </dt>
1900                                         <dd></dd>
1901                                 
1902                                         <dt>
1903                                                 <span class="fixedFont">Action</span> <b>action</b>
1904                                                 
1905                                         </dt>
1906                                         <dd>The action that completed</dd>
1907                                 
1908                                 </dl>
1909                         
1910                         
1911                         
1912                         
1913                         
1914                         
1915                         
1916
1917                     
1918                     
1919                      
1920                     </div>                    
1921                 </div>
1922
1923             </td>
1924             <td class="msource">
1925                 Roo.form.BasicForm
1926             </td>
1927         </tr>
1928         
1929           <tr class="method-row expandable config-row-alt1 notInherited">
1930             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1931             
1932             <td class="sig">
1933                 <a id="Roo.form.BasicForm-event-*actionfailed"></a>
1934                 
1935                <div class="fixedFont">
1936                 <b class="itemname">actionfailed</b> (Form <B><i>this</i></B>, Action <B><i>action</i></B>) 
1937                 
1938                 </div>
1939
1940                 <div class="mdesc">
1941
1942                    <div class="short">Fires when an action fails.
1943                    
1944                 </div> 
1945                     
1946                     <div class="long">
1947                     
1948                         Fires when an action fails.
1949                     
1950                         
1951                         
1952                 
1953                         
1954                                 <dl class="detailList">
1955                                 <dt class="heading">Parameters:</dt>
1956                                 
1957                                         <dt>
1958                                                 <span class="fixedFont">Form</span> <b>this</b>
1959                                                 
1960                                         </dt>
1961                                         <dd></dd>
1962                                 
1963                                         <dt>
1964                                                 <span class="fixedFont">Action</span> <b>action</b>
1965                                                 
1966                                         </dt>
1967                                         <dd>The action that failed</dd>
1968                                 
1969                                 </dl>
1970                         
1971                         
1972                         
1973                         
1974                         
1975                         
1976                         
1977
1978                     
1979                     
1980                      
1981                     </div>                    
1982                 </div>
1983
1984             </td>
1985             <td class="msource">
1986                 Roo.form.BasicForm
1987             </td>
1988         </tr>
1989         
1990           <tr class="method-row expandable config-row-alt0 notInherited">
1991             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1992             
1993             <td class="sig">
1994                 <a id="Roo.form.BasicForm-event-*beforeaction"></a>
1995                 
1996                <div class="fixedFont">
1997                 <b class="itemname">beforeaction</b> (Form <B><i>this</i></B>, Action <B><i>action</i></B>) 
1998                 
1999                 </div>
2000
2001                 <div class="mdesc">
2002
2003                    <div class="short">Fires before any action is performed.
2004                    
2005                 </div> 
2006                     
2007                     <div class="long">
2008                     
2009                         Fires before any action is performed. Return false to cancel the action.
2010                     
2011                         
2012                         
2013                 
2014                         
2015                                 <dl class="detailList">
2016                                 <dt class="heading">Parameters:</dt>
2017                                 
2018                                         <dt>
2019                                                 <span class="fixedFont">Form</span> <b>this</b>
2020                                                 
2021                                         </dt>
2022                                         <dd></dd>
2023                                 
2024                                         <dt>
2025                                                 <span class="fixedFont">Action</span> <b>action</b>
2026                                                 
2027                                         </dt>
2028                                         <dd>The action to be performed</dd>
2029                                 
2030                                 </dl>
2031                         
2032                         
2033                         
2034                         
2035                         
2036                         
2037                         
2038
2039                     
2040                     
2041                      
2042                     </div>                    
2043                 </div>
2044
2045             </td>
2046             <td class="msource">
2047                 Roo.form.BasicForm
2048             </td>
2049         </tr>
2050         
2051                                                        
2052     </table>
2053
2054   
2055   
2056   
2057  
2058 <!-- ============================== footer ================================= -->
2059                 <div class="fineprint" style="clear:both">
2060                         
2061                         Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a>  on Fri Jul 16 2010 16:11:54 GMT+0800 (HKT)
2062                         Based on 
2063                         <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>  
2064                 </div>
2065         </body>
2066 </html>