Re: [qooxdoo-devel] Possible issue with form fields inheritance
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
> 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
Re: [qooxdoo-devel] Possible issue with form fields inheritance
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
Re: [qooxdoo-devel] Possible issue with form fields inheritance
Hello, here is my extension of the spinner, i've also disabled mousewheel when spinner is not focused. Use from it whatever you want. http://pastebin.com/7Hae5SS2 I currently do not have virtualselectbox with readonly look, i'm just disabling it using enabled property. Cheers Mikee On Thu, Feb 7, 2013 at 7:32 PM, Benjamin Dreux wrote: > I've juste noticed that the virtualSelectBox has the same "issue" > Regards > > > 2013/2/7 Benjamin Dreux > >> 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 >> > > > > -- > 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
Re: [qooxdoo-devel] Possible issue with form fields inheritance
I've juste noticed that the virtualSelectBox has the same "issue" Regards 2013/2/7 Benjamin Dreux > 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 > -- 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
