as I understood Christians code he does not add new properties and methods to object instances. He just add them to a already defined class. Please correct me if I'm wrong.
I'm doing the same thing with the current rev. Adding and modifying properties and methods (including modifiers) to a already defined class should be possible in the new properties implementation. For me there is no need to add or modify properties or methods of instantiated objects. Is this possible with the new properties implementation? Christian Boulanger schrieb: > Sebastian Werner schrieb: >> Hi Christian, >> >> please explain what are your exact use cases. Do you just add >> properties e.g. IDs etc. or do you even modify them? To you attach >> modifiers? Do you do this on instance level or on prototype level? >> >> Cheers, >> >> Sebastian >> >> > Hi Sebastian, have a look at the attached file. It is documented to be > self-explaining. As you will see, the whole idea depends on the > add-properties-at-runtime concept. I add behaviour to all widgets by > adding to the QxTarget and QxWidget prototypes, and then overriding > those behaviours on a per-widget basis also to their prototypes. > > Thanks, > > Christian > -- Mit freundlichen Grüßen Dietrich Streifert Visionet GmbH ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
