What does the content of json.txt look like? Cam you provide a sample? And
are you sure that the file is in the root of the domain you are hitting?
Jim
On Nov 17, 2007 7:30 AM, Aytek Debreli <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm have just started using Qooxdoo and i am not pretty informed about
> Javascript and AJAX.
> What i want to do is goes like this:
>
> There's an xml2json converter somewhere running and it
> converts XML's and write them in a file. i reach that file with
>
> var json = new
> qx.io.remote.Request("json.txt","GET",qx.util.Mime.JSON);
>
> no problem there , its is Application/json object ...
> but when i do : " json.info()" it says object is null..
>
> At the http://qooxdoo.org/documentation/0.7/remote_io#simple_example
> page in the suported types section it says : text/json is directly
> evaluated so i tried
>
> new qx.io.remote.Request("json.txt","GET","text/json");
>
> it gives me:
>
> 1069852 DEBUG: qx.io.remote.Request[]: Current stack trace at
> qx.log.MLogging:printStackTrace://127.0.1.1/php2JSON/script/qx.js at
> http://127.0.1.1/php2JSON/script/qx.js:1994 at
> http://127.0.1.1/php2JSON/script/qx.js:2005 at
> qx.io.remote.Request:constructor://127.0.1.1/php2JSON/script/qx.js at
> qx.io.remote.Request:constructor
> wrapper://127.0.1.1/php2JSON/script/qx.js at javascript: with
> (__scope__.vars) { with (__scope__.api) { with (__scope__.userVars) {
> with (window) {try {__scope__.callback(eval(__scope__.expr));} catch
> (exc) {__scope__.callback(exc, true);}}}}}:1 at javascript: with
> (__scope__.vars) { with (__scope__.api) { with (__scope__.userVars) {
> with (window) {try {__scope__.callback(eval(__scope__.expr));} catch
> (exc) {__scope__.callback(exc, true);}}}}}:1
>
> What i have to do ?
> Kind Regards
> Aytek Debreli
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel