On Wed, Aug 6, 2008 at 3:56 PM, Ian Monroe <[EMAIL PROTECTED]> wrote:
> I'm porting the start of my little app to 0.8-beta1, on the suggestion
> of this list to take advantage of the new layouting system.
>
> Problems:
> *this.debug() no longer works, it used to put messages in the Firebug
> console. I know the code has been executed because Firebug does show a
> couple of requests being completed. I tried turning off Firebug to see
> if the popup would come up instead, but that didn't work.
>
I believe you're hitting a generator problem. The generator doesn't pull in
the log appender class automatically right now. (I posted a bug about this
a day or two ago.) To get the appender to load you just need to reference
it. You don't need to actually do anything with the reference; you just
need something in your application that causes it to load. Add this near
the top of main():
// Referencing the appender is necessary to get it to load.
var appender = qx.log.appender.Native;
then your debug statements should start to display.
>
> *Firefox locks up and does one of those "Unresponsive Script" warnings
> after a few seconds.
I highly suspect that's a completely different issue. You're doing
something somewhat unusual, in that you're issuing a new Request inside of a
different Request's callback. That may cause you problems. Why don't you
try doing the secondary request via a timeout (qx.event.Timer.once would be
appropriate). You can use a timeout value of 0 so it occurs immediately
upon completion of the current user code execution, but at least that way
it's not tied up in the callback of the first request.
Cheers,
Derrell
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel