When using a partialView that is injected into my page, is it valid to have a formpanel on the partial page which submits via the xxx.getForm().submit()? Or would this type of behaviour only work on ASPX pages?
Printable View
When using a partialView that is injected into my page, is it valid to have a formpanel on the partial page which submits via the xxx.getForm().submit()? Or would this type of behaviour only work on ASPX pages?
Hi,
Each FormPanel creates internally a separate BasicForm instance.
And the BasicForm's submit method submits only its data.
So, I think, you can use a FormPanel in a partial view and then submit its data.
See also
http://docs.sencha.com/ext-js/3-4/#!...form.FormPanel
http://docs.sencha.com/ext-js/3-4/#!...form.BasicForm
http://docs.sencha.com/ext-js/3-4/#!...-method-submit
Thank you, I got it working no problems.