If you extend already existing Qooxdoo classes it is no problem. If you
do not implement the dispose method, the data and object area will not
be removed and can as far as I know be used outside the scope. Qooxdoo
does not actually handle namespaces.

You can choose a simple class widget to see how it has been done. There
is also some documentation about the class inheritance tree.

Advice:
Encapsulate all methods in an extended Qooxdoo class. Other class
libraries can also work together with Qooxdoo, but they do not share
more info than at negotiation i.e. not common class tree, object tree
etc.

Kent

On Thu, 2006-03-23 at 09:14 +0100, Lumir Stol wrote:
> Hi all qooxdoo's! ;-)
> 
> Could anybody please push me to right way? I did create some object 
> which extends QxTarget and I want to let it live after temporary local 
> variable dies. So I did some experiments (I'm starting with qooxdoo) and 
> result is: my object is pushed into global QxObjectDataBase array, but 
> when I leave scope where this object was created, it is automatically 
> disposed.
> 
> So what do You propose I have to do? Do I have to use my own 
> QxXyzManager as standalone object and search it by internally by 
> hashCode of saved objects, or there is in qooxdoo some similar 
> manageable structure for such objects already? You know, I have this 
> thing working, but I will appreciate if some qooxdoo experienced 
> programmer could propably share with me his/her opinion 'how right 
> qooxdoo way looks'. If best solution is above mentioned, then I'm best 
> smart guy in the world, if You will consider my almost zero javascript 
> experiences ;-)
> 
> Thanks and have a nice day!
> 
> 
> -------------------------------------------------------
> 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