Yesterday I posted my first mail in this mailing list but looks I did some
mistake. I post it again:
I am new to qooxdoo and even not an expert in jsvascript
I am creating a qooxdoo class (MyClass) and want that its one instance
(myObjN) should add a listener to some other already created instances
(myObjA, myObjC,...) of the same class.
Or is there any way to get map/array of handles of all existing objects on
some class
An ugly way to accomplish the requirement is by using eval function but I am
looking for some better way
defineClass(MyClass){
constructor{
...
},
properties: {
...
},
members:{
...
setDependency: function(objectLiteralList){ //Necessarily a string array of
object handle literals
for (var i=0; i<objectList.length; i++){
// Add listeners to the objects haveing same handle literals as in array
objectLiteralList
eval(objectList[i]).addListener(...);
}
}
...
}
}
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel