On Tue, Sep 8, 2009 at 03:04, panyasan <[email protected]> wrote:

>
> Hi Derrell,
>
> thank you, but I don't think this is a question of build or source. The
> 'this.info("done")' command is executed correctly. The offending
> "thisShouldThrowAnError()" command is what doesn't do anything in the
> handler code. When I move it outside the handler code and to the end of the
> playground code, like so:
>
> var request = new qx.io.remote.Request("http://localhost:8080/phpinfo.php
> ");
> // this must point to a really existing file
> request.addListener("completed",function(response){
>  this.info("done!");
> });
> request.send();
>  thisWillThrowAnError();
>
> The error is correcly alerted. I don't think there should be any different
> logging levels for event handling code and non-event handling code. And
> syntax errors should be caught regardless of source or build anyways. Do
> you
> see what I mean?
>
>
I get this (slightly reformatted due to copy/paste issues) in Firebug. Note
the last three lines: it says "done!" and then shows the error. Is this
different than you get?




017403 playground.Application[95]: Starting application ''
...                                         Native.js (line 55)
GET http://localhost/services/phpinfo.php?nocache=1252416039657 200 OK
53ms        XmlHttp.js (line 323)
017416 playground.Application[95]: Successfully
started.                                             Native.js (line 55)
017487 qx.io.remote.Request[bq]:
done!
Native.js (line 55)
thisWillThrowAnError is not defined
}\n
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to