You have to wait for the widget's appear event. The DOM element doesn't 
get created until then:

var widget = new qx.ui.core.Widget();
widget.addListener("appear", function() {
   var el = widget.getContentElement().getDomElement();
   alert(el);
}, this);




On 05/31/2011 07:05 PM, smisobnline wrote:
> i try this
>
>
> var widget = new qx.ui.core.Widget();
> var el = widget.getContentElement().getDomElement();
> alert(el);
>
> The ContentElement() is avaiable but the
>
> .getDomElement()
>
> returns alwys null.
>
> What can be my error?


------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to