Hi,

I would try to use the virtual infrastructure [1]. Using the virtual infrastructure has the advantage that only widgets/DOM elements for visible items are created.

Or you can use qx.ui.embed.Html [2] and add your content as HTML to it. You can find an example in the Inspector console implementation.

If you have further questions, please ask.

Cheers,
Chris

[1] http://demo.qooxdoo.org/1.4.1/apiviewer/#qx.ui.virtual
[2] http://demo.qooxdoo.org/current/apiviewer/#qx.ui.embed.Html

Am 04.07.2011 13:02, schrieb Seldaiendil D. Flourite:
Hi, I have a little problem with Qooxdoo, I've inherited from widget to create a component works like a command line terminal, it means you can type text on a input and it will be added to a log with the server response.

The problem is than with just a few lines (100 or 150) the time needed to add more HTML is double than when it started. The way I use to add HTML was first to create a *qx.ui.basic.Label* widget and do

    myLabel.setValue(myLabel.getValue() + html);


It was so slow so then I change to add a new label each time there is something to add

    var label = new qx.ui.basic.Label(html);

    label.setRich(true);
    myLog.add(label);


But it stil slow, is there any way I can access the DOM element to edit innerHTML property? if not which is the correct way to do this in Qooxdoo?

Thanks,

---
Seldaiendil
Web Developer
[email protected] <mailto:[email protected]>


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to