View Full Version : xml form sample not working in local copy
Carel
21 Jun 2007, 7:12 AM
I could not get a local clone of examples/form/xml-form.html workig
and
finally downloaded the last beta to see if a fresh install and run the example from there would work but to my surprise it did not
I only get the example to do its thing when running it from http:/extjs.com/
HTH,
Carel
Hi Carel,
You don't really say what is not working, but I'll guess that it doesn't load in the data from xml-form.xml?
Open xml-form.js and change the line:
fs.load({url:'xml-form.xml', waitMsg:'Loading'});
fs.load({url:'xml-form.xml', method:'GET', waitMsg:'Loading'});
The first instance uses POST by default which can cause problems - spotted this in the debug console of FF.
tryanDLS
21 Jun 2007, 7:27 AM
You also have to be running from a webserver, not Explorer.
Carel
22 Jun 2007, 4:02 AM
Hi all,
adding method:'GET' solved that, thank you very much.
Now I am going to play a little with the combination of jayrock and extjs, a combination that I like a lot for different reasons.
Thanks again,
Carel
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.