On Fri, Jan 22, 2010 at 11:30, Peter Schneider <[email protected]>wrote:
> Why is it always that you get an idea just _after_ you posted your
> question? ;)
>
> For my "problem with privates" I will apply a patch:
>
> <code class=javascript>
> // Patch #1: Add getId() method to LocalizedString (qooxdoo 0.7.4 like)
> qx.Class.patch(qx.locale.LocalizedString,
> qx.Mixin.define("app.patch.MLocalizedString",
> {
> members :
> {
> getId : function () {
> return this.__messageId;
> }
> }
> })
> );
> </code>
>
Unfortunately that won't work in the "build" version. Mixins can't currently
touch private members (those with leading double underscores). It will work
fine in the source version, but then fail with the build version.
See the comments others have made for alternative solutions.
Derrell
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel