Well this is my quick implementation (in constructor):

            var domEl = this.getContentElement()
            
            // in order to keep things in sync this element is created
            // here and it's not appended to the dom. It's only
            // appended when the domEl appears. 
            var readyDomEl = new qx.html.Element();
            domEl.addListener("appear", function(){
                domEl.add(readyDomEl);
            });


the "this" is a qx.ui.container.Composite instance.



--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/The-correct-use-of-getDomElement-tp6993052p7582838.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to