I'm working with a QxTabView inserted into a QxInLine to work inside a
traditional DIV.

One of the QxTabViewButton is loaded with a traditional HTML TextField:
<INPUT type="text" id="txtField">.

After window.application.main = function(), I call a JS file with a
autocomplete algorithm:

InitQueryCode('txtField', 'div_txtField',
'qooxdooTab001.WebForm1.ReturnNames');

In this function, I used GetElementByID("txtField"), and I received a NULL -
the DOM was not finding the TextField.

I change the code:

setTimeout("InitQueryCode('txtNome', 'div_txtNome',
'qooxdooTab001.WebForm1.RetornaNomes')",5000);

And now GetElementByID return the correct object - txtField.

There?s some event in Qooxdoo where I can see if all the elements already
are "rendered" in the DOM?

-- 
View this message in context: 
http://www.nabble.com/Lack-of-Time-to-%22render%22-DOM-tf1870044.html#a5110956
Sent from the qooxdoo-devel forum at Nabble.com.


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to