Hi, if you want to override a mixin method, you have to extend the class that includes the mixin. I'm not sure if that's correct in an OO sense, but that's how it's always been in qooxdoo.
Regards, Daniel On 31.01.2014 10:55, benco wrote: > Hi, > > I'm creating a new widget that includes the qx.ui.form.MModelProperty Mixin. > Now, I'd like to overwrite then empty method protected _applyModel but it's > not allowed by the framework (an error is thrown at runtime) and I must then > extend the original Mixin or deal with changeModel event to use my own > "_applyModel2" method... > > But the empty _applyModel method is then completely useless. > > Is it normal ? In a OO-centric view, overwriting methods of included Mixins > should be normally possible or not (the concept of abstract mixin don't > exist if I'm right...) ? > > Best regards, > > BenoƮt. > > > > -- > View this message in context: > http://qooxdoo.678.n2.nabble.com/Overwitting-a-Mixin-member-inside-a-Class-using-it-should-be-allowed-or-not-tp7585261.html > Sent from the qooxdoo mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > WatchGuard Dimension instantly turns raw network data into actionable > security intelligence. It gives you real-time visual feedback on key > security issues and trends. Skip the complicated setup - simply import > a virtual appliance and go from zero to informed in seconds. > http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk > _______________________________________________ > qooxdoo-devel mailing list > qooxdoo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > ------------------------------------------------------------------------------ WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel