Hi,

On 07/30/2012 06:30 PM, totty wrote:
> *The error thrown is:*
> Uncaught TypeError: Cannot call method 'appendChild' of null
> production.js:203
> qx.Bootstrap.define.statics.getVml production.js:203

What does getVml do? The error message is caused by trying to append a 
DOM element to a parent that doesn't exist. It's possible that this is a 
timing issue that isn't apparent in the source version because it takes 
longer to load so the parent element is created before getVml does its 
thing.

In a widget context, this sort of problem is usually solved by wrapping 
the code that calls appendChild in an "appear" listener to make sure it 
isn't executed until the widget's DOM elements are created.

Regards,
Daniel

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to