-
12 May 2009 5:38 PM #1Sencha - Sales Team
- Join Date
- Mar 2007
- Location
- Melbourne, Australia (aka GMT+10)
- Posts
- 738
- Vote Rating
- 6
Some Questions
Some Questions
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?Check out SenchaWorld.com for articles, screencasts, conference videos and more.
Sencha Technical Training : Asia Pacific Region
Code Validation : JSLint | JSONLint | JSONPLint
-
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 #3Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,169
- Vote Rating
- 28
This is how i explain it in Ext JS In Action.
Originally Posted by http://manning.com/garcia

Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
13 May 2009 3:51 AM #4Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,169
- Vote Rating
- 28

Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
13 May 2009 3:54 AM #5Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,169
- Vote Rating
- 28

Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
13 May 2009 6:38 AM #6
Aaron Conran
@aconran
Sencha Architect Development Team






Reply With Quote