Hi Mikhail,

__modelSelection is a private variable and shouldn't be used your subclass
in any form. When using the build version those vars are converted to
something else and are not accessible anymore.

It's ok to use protected variables (those with just one underline in it) or
its getters like .getModelSelection().

On Mon, Oct 4, 2010 at 6:37 PM, thron7 <[email protected]>wrote:

> > Hello!
> >
> > I have qx.ui.form.SelectBox class extended in my app and I do some stuff
> > with __modelSelection field of it. In source version everything works
> > fine, but in build version it says that it "can't call property of
> > undefined".
>
> Mikhail,
>
> in the source version, which console messages do you get? Chances are
> there are warnings that hint at the problem which manifests itself in the
> build version. You have to use some browser console like Firebug. If you
> don't have access to one of those, try the qooxdoo built-in console by
> hitting F7.
>
> T.
>
>
> >
> > I wonder what might be the problem in this case.
> >
> > Best regards, Mikhail Novikov
> >
> ------------------------------------------------------------------------------
> > Virtualization is moving to the mainstream and overtaking non-virtualized
> > environment for deploying applications. Does it make network security
> > easier or more difficult to achieve? Read this whitepaper to separate the
> > two and get a better understanding.
> >
> http://p.sf.net/sfu/hp-phase2-d2d_______________________________________________
> > qooxdoo-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> >
>
>
>
>
> ------------------------------------------------------------------------------
> Virtualization is moving to the mainstream and overtaking non-virtualized
> environment for deploying applications. Does it make network security
> easier or more difficult to achieve? Read this whitepaper to separate the
> two and get a better understanding.
> http://p.sf.net/sfu/hp-phase2-d2d
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to