Hi,

2013/7/24 MartinWittemann [via qooxdoo] <
[email protected]>
>
>
> Overriding one of the generated methods usually breaks all others. If we
> override the setter, the getter will always return wrong values because the
> generated setter can not be used anymore. If you want to fix that in your
> custom setter, you have to access the internal flags used by the property
> system. Still, you would have to implement all by yourself e.g. the checks,
> the events and so on. We do have the apply methods for exactly that use
> case.
> But the same is true for the getter or any other generated method. They
> only work together as a combination. So you would have to override every
> single one to make it work. But if you do so, there is no need for a
> property anymore. Thats why we think its more error prone to allow that
> feature which has never there before.
>
> Regards,
> Martin
>
>
I don't understand, do you mean that we can't now overwrite getter, setter,
resetter for qooxdoo properties in defer ? If so it's a huge change. We
massively use this on our apps, we have no way to migrate to 3.0 without
this.

You say "there is no need for a property anymore" but that's wrong, we need
this to allow binding, to iterate over properties, etc.
If there is no need of property, there is no need of binding, and why not
'there is no need of qooxdoo' ;-)
If our "customs" properties are — from an external point of view— working
exactly like native properties why should that be a problem ?

Exemple of what we do :
http://pastebin.com/6f7HXFcR

David


-- 
> --
> OXYS.net - David Charbonnier
> Tél. +33 9 72 11 11 00 - Port. +33 6 60 30 46 19
>




--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Overriding-generated-properties-v3-0-tp7584189p7584194.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to