Hi thanks for your propositions.
I've also find a way to achieve this for the virtualSelectBox.
I extended the virtual box, added a readOnly property, and override the
open method.
When the readOnlyProperty is true, the open method does nothing, otherwise
it does the same as the regular VirtualSelectBox.

For the spinner, i did the same, override the apply method, if the readOnly
property is false, do nothing otherwise do the regular _applyMethod

But my question is much more about:
Why these fields doesn't inherit from abstractField?

And if it is not the intention, could we change this to have a better
concistency between different fields

Regards



2013/2/8 Daniel Wagner <[email protected]>

> Hi,
>
> the Spinner is a composite widget that uses a TextField child control
> (which extends AbstractField). If you want to configure it, you can call
>
> spinner.getChildControl("textfield")
>
> or you could extend Spinner and override _createChildControlImpl.
>
> Regards,
> Daniel
>
> On 02/07/2013 07:25 PM, Benjamin Dreux wrote:
> > Hi
> >
> > I'm wondering why the abstractFeild class is not in the inheritance  tree
> > of the spinner field. I've noticed it by the field readOnly which is not
> > present in the spinner.
> > Is this intended?
> >
> > Regards
> >
> > --
> > Benjamin Dreux
> > Analyste-Programmeur
> > Chaire de logiciel libre-Finance Social et solidaire
> > UQAM
> > Montréal
> >
> >
> >
> ------------------------------------------------------------------------------
> > Free Next-Gen Firewall Hardware Offer
> > Buy your Sophos next-gen firewall before the end March 2013
> > and get the hardware for free! Learn more.
> > http://p.sf.net/sfu/sophos-d2d-feb
> >
> >
> >
> > _______________________________________________
> > qooxdoo-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> >
>
>
> ------------------------------------------------------------------------------
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>



-- 
Benjamin Dreux
Analyste-Programmeur
Chaire de logiciel libre-Finance Social et solidaire
UQAM
Montréal
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to