PDA

View Full Version : How could I use an Ext.form.FormPanel inside a form ?



djlin2000
14 Feb 2011, 3:11 PM
Dear Sir,

How could I use an Ext.form.FormPanel inside a form ? The reason I want to use a FormPanel is that I could submit all fields by formPanel.getForm().getEl() and send all fields out to the server. My questions are:
(1) I was told that I could have a panel (inside the outside form) with "contentEl" to point to my Ext.form.FormPanel. Is this feasible ?
(2) If (1) is not feasible, is there any method I could use to submit all fields inside a Ext.Panel (with form layout) ?

Please advise me. Thanks.