I think the best is to build your own managing system. I don't think it's a good idea to make your application code depending on such internal logic like the one of QxObjectDataBase. Have you ever played with QxManager?

Sebastian


Lumir Stol schrieb:
Sebastian wrote:
Yes, you may be able to use a instance of QxManager for this

Hi Sebastian!

First of all: thanks for Your reply and ever many thanks for Your great work.

My problem is: class myObject (which inherits from QxTarget - I want to use listeners in myObjectInstance) is created in listener of other object, but because class myObject do not inherits from QxWidget, I think I am not able to call anything.add(myObjectInstance) at all. So now it looks like this: until this listener (where myObjectInstance is created) function runs, myObjectInstance exists in QxDataBase, but when listener ends it's work, myObjectInstance disappear from QxObjectDataBase. I think it is because this object is not added into some object which inherits from QxParent, but it is IMHO supposed to end with error (myObjectInstance is not decendent of QxWidget).

I'm definitely not JavaScript programmer, I just feel good in qooxdoo code, You know ;-) Once more: my JS skills ale almost zero, but in this time it looks to me like in QxObjectDataBase persists only this object, which class extends QxWidget AND which is already added to some object which class extends QxParent. Is this true?

Could please some qooxdoo-familiar programmer (let's do not disturb project leader himself) answer to me how can I make QxObject decendent stay alive in QxObjectDataBase even if this object is not QxWidget decendent? I can write some example which will demonstrate this, if my above poor English is not clear enough ;-)

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