Hi,
I would keep a reference to the tree in an instance variable:
this.myTree = new qx.ui.tree.Tree("Contacts");
Somewhere else in code you would try to reach this reference:
...
myOtherWindow.myTree.setHtmlProperty("id","list");
...
greetings,
Dimitri
ruben gonzalvez wrote:
>
> Hi all,
>
> I've the next code in qooxdoo:
>
> var t = new qx.ui.tree.Tree("Contacts");
> t.setHtmlProperty("id","list");
>
> and I want access to its methos and properties from another .js:
>
> document.getElementById('list')....
>
> but I can't...
>
> I've tried walk the DOM tree but only I've get is the next tree:
>
> node
> |_ element
> |_____htmlelement
> |_________htmldivelement
>
> Anyone know how can I acces to attributes and methods tree?
>
> Thanks in advance,
>
> Ruben
>
--
View this message in context:
http://www.nabble.com/qx.ui.tree.tree-help%21-tf3977128.html#a11292974
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel