You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
450 KiB

2 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /*
  2. This file is part of Ext JS 3.4
  3. Copyright (c) 2011-2013 Sencha Inc
  4. Contact: http://www.sencha.com/contact
  5. GNU General Public License Usage
  6. This file may be used under the terms of the GNU General Public License version 3.0 as
  7. published by the Free Software Foundation and appearing in the file LICENSE included in the
  8. packaging of this file.
  9. Please review the following information to ensure the GNU General Public License version 3.0
  10. requirements will be met: http://www.gnu.org/copyleft/gpl.html.
  11. If you are unsure which license is appropriate for your use, please contact the sales department
  12. at http://www.sencha.com/contact.
  13. Build date: 2013-04-03 15:07:25
  14. */
  15. Ext.data.JsonP.Ext_form_FormPanel({"alternateClassNames":[],"aliases":{"widget":["form"]},"enum":null,"parentMixins":[],"tagname":"class","subclasses":[],"extends":"Ext.Panel","uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Hierarchy</h4><div class='subclass first-child'><a href='#!/api/Ext.util.Observable' rel='Ext.util.Observable' class='docClass'>Ext.util.Observable</a><div class='subclass '><a href='#!/api/Ext.Component' rel='Ext.Component' class='docClass'>Ext.Component</a><div class='subclass '><a href='#!/api/Ext.BoxComponent' rel='Ext.BoxComponent' class='docClass'>Ext.BoxComponent</a><div class='subclass '><a href='#!/api/Ext.Container' rel='Ext.Container' class='docClass'>Ext.Container</a><div class='subclass '><a href='#!/api/Ext.Panel' rel='Ext.Panel' class='docClass'>Ext.Panel</a><div class='subclass '><strong>Ext.form.FormPanel</strong></div></div></div></div></div></div><h4>Files</h4><div class='dependency'><a href='source/Form.html#Ext-form-FormPanel' target='_blank'>Form.js</a></div></pre><div class='doc-contents'><p>Standard form container.</p>\n\n\n\n\n<p><b><u>Layout</u></b></p>\n\n\n<p>By default, FormPanel is configured with <tt>layout:'form'</tt> to use an <a href=\"#!/api/Ext.layout.FormLayout\" rel=\"Ext.layout.FormLayout\" class=\"docClass\">Ext.layout.FormLayout</a>\nlayout manager, which styles and renders fields and labels correctly. When nesting additional Containers\nwithin a FormPanel, you should ensure that any descendant Containers which host input Fields use the\n<a href=\"#!/api/Ext.layout.FormLayout\" rel=\"Ext.layout.FormLayout\" class=\"docClass\">Ext.layout.FormLayout</a> layout manager.</p>\n\n\n\n\n<p><b><u>BasicForm</u></b></p>\n\n\n<p>Although <b>not listed</b> as configuration options of FormPanel, the FormPanel class accepts all\nof the config options required to configure its internal <a href=\"#!/api/Ext.form.BasicForm\" rel=\"Ext.form.BasicForm\" class=\"docClass\">Ext.form.BasicForm</a> for:\n<div class=\"mdetail-params\"><ul>\n<li><a href=\"#!/api/Ext.form.BasicForm-cfg-fileUpload\" rel=\"Ext.form.BasicForm-cfg-fileUpload\" class=\"docClass\">file uploads</a></li>\n<li>functionality for <a href=\"#!/api/Ext.form.BasicForm-method-doAction\" rel=\"Ext.form.BasicForm-method-doAction\" class=\"docClass\">loading, validating and submitting</a> the form</li>\n</ul></div>\n\n<p><b>Note</b>: If subclassing FormPanel, any configuration options for the BasicForm must be applied to\nthe <tt><b>initialConfig</b></tt> property of the FormPanel. Applying <a href=\"#!/api/Ext.form.BasicForm\" rel=\"Ext.form.BasicForm\" class=\"docClass\">BasicForm</a>\nconfiguration settings to <b><tt>this</tt></b> will <b>not</b> affect the BasicForm's configuration.</p>\n\n<p><b><u>Form Validation</u></b></p>\n<p>For information on form validation see the following:</p>\n<div class=\"mdetail-params\"><ul>\n<li><a href=\"#!/api/Ext.form.TextField\" rel=\"Ext.form.TextField\" class=\"docClass\">Ext.form.TextField</a></li>\n<li><a href=\"#!/api/Ext.form.VTypes\" rel=\"Ext.form.VTypes\" class=\"docClass\">Ext.form.VTypes</a></li>\n<li><a href=\"#!/api/Ext.form.BasicForm-method-doAction\" rel=\"Ext.form.BasicForm-method-doAction\" class=\"docClass\">BasicForm.doAction &lt;b&gt;clientValidation&lt;/b&gt; notes</a></li>\n<li><tt><a href=\"#!/api/Ext.form.FormPanel-cfg-monitorValid\" rel=\"Ext.form.FormPanel-cfg-monitorValid\" class=\"docClass\">monitorValid</a></tt></li>\n</ul></div>\n\n<p><b><u>Form Submission</u></b></p>\n<p>By default, Ext Forms are submitted through Ajax, using <a href=\"#!/api/Ext.form.Action\" rel=\"Ext.form.Action\" class=\"docClass\">Ext.form.Action</a>. To enable normal browser\nsubmission of the <a href=\"#!/api/Ext.form.BasicForm\" rel=\"Ext.form.BasicForm\" class=\"docClass\">BasicForm</a> contained in this FormPanel, see the\n<tt><b><a href=\"#!/api/Ext.form.BasicForm-cfg-standardSubmit\" rel=\"Ext.form.BasicForm-cfg-standardSubmit\" class=\"docClass\">standardSubmit</a></b></tt> option.</p>\n\n</p></div><div class='members'><div class='members-section'><div class='defined