Kent Olsson schrieb:
I think it would be useful if the _modifyVariable function would be
called also when the property is created by a defaultValue, as a change
takes place, from "nothing" to the defaultValue. Then afterwards it
could be called only at a value change.
The change must take place in the _createProperty() function in
QxExtend.js
What do you say Sebastian?
you have overseen the fact that modifiers will be executed on the
instance. you just can't handle functions for instances on the class
definition. If you need a defaultValue for a property which needs its
modifier it is IMHO the best to setup the value in the class constructor.
Sebastian
Kent
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel