Or, if your DIV is on the main page, outside of the qooxdoo system, then you can create the appender right up front and that works just fine.
Thanks for the pointers Marco.
Jim
On 9/22/06, Marco Emiliozzi <[EMAIL PROTECTED]> wrote:
Take a look here:
http://qooxdoo.org/documentation/user_manual/the_logging_system
A snippet from the page:
[…]
By default all log messages are logged to a WindowLogger.
If you want all log messages to be logged into a div element having the id
logging-div somewhere in your page, add the following code at the beginning
of your application:
// First remove the existing WindowLogger
qx.dev.log.Logger.ROOT_LOGGER.removeAllAppenders();
// Then add the DivAppender
var divAppender = new qx.dev.log.DivAppender("logging-div");
qx.dev.log.Logger.ROOT_LOGGER.addAppender(divAppender);
[…]
You can try this: create an qx.ui.embed.HtmlEmbed object, set the html
property of the object to something like <div id="logging-div"/> and put it
in your window. Then try the above way to put your logs in a div.
________________________________________
Da: [EMAIL PROTECTED]
[mailto: [EMAIL PROTECTED]] Per conto di Jim Hunter
Inviato: giovedì 21 settembre 2006 22.44
A: qooxdoo Development
Oggetto: [qooxdoo-devel] Fwd: Custom log window
I sent this out a few days ago but din't get a nibble. Anyone have any ideas
on this?
---------- Forwarded message ----------
From: Jim Hunter < [EMAIL PROTECTED]>
Date: Sep 19, 2006 12:24 PM
Subject: Custom log window
To: qooxdoo Development <[email protected] >
I have searched the archives and didn't see anything that helped me here. I
would like to put all the log messages into a managed window inside my
application (qx.ui.window.Window). I tried to create a new window and pass
both it's name and a reference to it to qx.dev.log.WindowAppender but in
both cases it still created it's own popup window. What is the syntax to
send the messages to my own window and not the popup one?
Thanks,
Jim
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
