Ok, there are multiple reasons. One major argument is that type changes
would allow to switch types completely e.g. from check=String to
check=Number for example. Most people would tend to say that this is a
bad software design.
Another, more technical reason, is that all other changes than init
values require a separate setter/getter(...) pair which means that we
need to migrate the property defitition of the parent with the
overridden settings in the derived class. For example when you change
the "check", but want to keep the "nullable" and "init" values. You also
need a far more complex check if the this class needs an own
setter/getter pair. And there is also an overhead because you need to
generate more functions.
I think we would life the best to keep it with the current
implementation and the existing restrictions.
Sebastian
Dietrich Streifert schrieb:
> Hi Fabian,
>
> well the limitation is simple to change in Class.js, line 1188:
>
> if (key !== "init" && key !== "refine") {
>
> just remove the key !== "init" check ;-)
>
>
>
> Fabian Jakobs schrieb:
>> As far as I understand the new properties it is a limitation of the
>> implementation, which prevents us from supporting this. I think
>> Sebastian can tell you more about this but he won't be in office till
>> Monday.
>>
>> Best Fabian
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel