I think the widget id (hashcode) you're talking about is only useful for qooxdoo's internals. qooxdoo needs to keep track of the widgets especially for preventing memory leaks. I don't think the developer should ever have to do what you're asking. Instead, store a reference in a global variable. But to answer your question, you can't set the hashcode; take a look at QxObject and you'll see it's just an auto-incremented integer.

Izaak

On Fri, 24 Mar 2006 12:25:42 -0500, Christoph Dorn <[EMAIL PROTECTED]> wrote:


How do I set the ID attribute of a widget when I create it so I can fetch it with document.getElementById later or alternatively is there a qooxdoo way
of fetching references to widgets?

How can the ID be set using QxBuilder?

Thanks
Christoph



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel





-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to