Hi,
qooxdoo allows for pretty fine-grained control of DOM activities. That
works only for qooxdoo widgets, though. See the DOM events in
http://old.qooxdoo.org/documentation/widget-visibility#link11
Anyway, I would strongly suggest not to mix HTML and qooxdoo to the
extend you described in your example. Why not use a QxTextField instead
of your HTML text field? If the text field is part of the
QxTabViewButton itself (sounds strange), then you could define a new
class that derives from QxTabViewButton.
Maybe you could post a test file, so that other users could try to help you.
Bye,
Andreas
ACampelo wrote:
> 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?
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