12 May 2009 5:38 PM #1
- Join Date
- Mar 2007
- Melbourne, Australia (aka GMT+10)
- Vote Rating
I'm still trying to get my head around why Ext.direct would ever return a textarea?
What's the rationale behind this with Ext.direct?
13 May 2009 3:39 AM #2
A form can get submitted as well as a normal Direct action.
Since a Form may contains a file to upload to a server and this cant be done via normal xhr a Iframe- bypass is used to simulate an xhr request.
Since an Iframe runs through the parsing engine of the browser a textarea is the only save place where you can put your json stuff in... Ext will than read out the response from the textarea for you.
13 May 2009 3:50 AM #3
13 May 2009 3:51 AM #4
13 May 2009 3:54 AM #5
13 May 2009 6:38 AM #6Aaron Conran
Sencha Architect Development Team