Diego Cibils schrieb:
I've run into this problem and I cant figure out a nice & clean way to
solve it.
This is the situation:
On my main QxDocument there are plenty of QxWidgets. I'm inside a js
"class" and don't have a reference of the widget I want to set the text to.
So, in plain HTML I could do some "document.all(id)" and get a
reference. Is there anything similar in qooxdoo ?
But QxWidgets don't have any Id/name property afaik. how could be this
done ?
I am not sure what exactly do you want.
With "don't have a reference of the widget" this you probably mean the
element or dom node. If you are inside your widget your widget is simply
"this". If you want to get the element of your widget (only if created),
try this.getElement().
There is currently no global registry of qooxdoo widgets. One entry on
our TODO list is to support IDs for qooxdoo objects and register them
somewhere globally.
Sebastian
Diego.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel