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?
Thanks,
Christian
Derrell Lipman wrote:
>
> On Mon, Sep 7, 2009 at 18:18, panyasan <[email protected]> wrote:
>
>>
>> Works as far as preventing the timeout. Thanks! But still no error
>> message.
>> Is this by design? It seems to me that the errors should be reported just
>> as
>> in non-event handling code...
>>
>> The error is reported to me in the firebug console. I expect you're using
>> a
> "build" version of playground where only levels 'warning' and higher (or
> is
> it 'error' and higher?) are displayed. Try changing it from this.info() to
> info.warn() and see what you get... and look in the firebug console.
>
> Derrell
>
> ------------------------------------------------------------------------------
> 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
>
>
--
View this message in context:
http://www.nabble.com/qx.io.remote.*%3A-State%3A-timeout-tp25276953p25340844.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
------------------------------------------------------------------------------
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