惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

J
Java Code Geeks
GbyAI
GbyAI
Google DeepMind News
Google DeepMind News
Jina AI
Jina AI
B
Blog
aimingoo的专栏
aimingoo的专栏
酷 壳 – CoolShell
酷 壳 – CoolShell
T
The Blog of Author Tim Ferriss
Last Week in AI
Last Week in AI
月光博客
月光博客
H
Help Net Security
V
Visual Studio Blog
量子位
A
About on SuperTechFans
博客园 - Franky
人人都是产品经理
人人都是产品经理
N
Netflix TechBlog - Medium
云风的 BLOG
云风的 BLOG
雷峰网
雷峰网
Martin Fowler
Martin Fowler
Microsoft Security Blog
Microsoft Security Blog
博客园 - 叶小钗
P
Proofpoint News Feed
MongoDB | Blog
MongoDB | Blog

博客园 - lzb

预排序遍历树算法 新思创:政务办公系统解决方案 OA系统权限分配实现方案【再转】 关于权限设计的探讨 工作流管理系统 Ext-Menu-action禁用 Ext-Menu-日期控件过长 Ext-TabPanel-插件 Google-首页效果图-源代码 Ext-Layout Ext-tree Ext-Grid-HttpProxy-分页 JAVASCRIPT-全面理解javascript的Arguments,caller,callee,call,apply JAVASCRIPT-继承 Core/Ext.js 转自JS堂 Core/Ext.extend 从继承说起 转自JS堂 修改Eclipse文本文件默认编码 Javascript 原型和继承(Prototypes and Inheritance) Ext-Xml-Grid-汉化、加载
What is the basic thing to keep in mind about forms
lzb · 2008-11-25 · via 博客园 - lzb

What is the basic thing to keep in mind about forms?

  • A BasicForm is not a layout managing Container. It exists solely to manage a collection of Ext.form.Field objects. Those Fields need to be rendered.
  • You need to add Fields to an Ext.form.FormPanel which is a Container which manages child Components, rendering them and sizing them where configured.
  • A FormPanel owns a BasicForm which is used to perform submissions and loads.
  • In order to render Fields correctly with labels, the container they are in (no matter what kind of Panel it is) must have layout:'form'. This is because it is the layout manager that actually renders child items. Only the FormLayout class knows how to render form Fields with all their extra wrappings.