You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-dev@incubator.apache.org by Matthias Wessendorf <ma...@apache.org> on 2007/03/13 14:15:21 UTC
[NumberConverter] percentage vs. percent
Hi,
the Trinidad NumberConverter, which is an extension of the
javax.faces.... NumberConverter doesn't allow type="percentage", which
is a value of the spec.
To me, "percent" sounds more natural as a value to choose, but
shouldn't we at least allow "percentage" as a valid value for the
<tr:convertNumber type="..." /> ?
Thx,
Matthias
--
Matthias Wessendorf
http://tinyurl.com/fmywh
further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com
Re: [NumberConverter] percentage vs. percent
Posted by Matthias Wessendorf <ma...@apache.org>.
yup
On 3/14/07, Adam Winer <aw...@gmail.com> wrote:
> Ah, OK. Well, that makes more sense - I was surprised
> that we'd picked a different constant. So, let's stay
> with "percent", of course.
>
> -- Adam
>
>
> On 3/14/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > looks like the TLD for the convertNumber is wrong.
> >
> > the javax.faces.... uses only "percent" (both RI and MyFaces)
> >
> > So, they should change the doc to not say types... percentage
> >
> > -M
> >
> > On 3/14/07, Adam Winer <aw...@gmail.com> wrote:
> > > Yes, definitely. We should allow both.
> > >
> > > -- Adam
> > >
> > >
> > >
> > > On 3/13/07, Gabrielle Crawford <ga...@oracle.com> wrote:
> > > > How strange. I think we should allow 'percentage' so that people can
> > > > switch from the spec one without confustion.
> > > >
> > > > Thanks,
> > > >
> > > > Gab
> > > >
> > > > On 3/13/2007 7:15 AM, Matthias Wessendorf wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > the Trinidad NumberConverter, which is an extension of the
> > > > > javax.faces.... NumberConverter doesn't allow type="percentage", which
> > > > > is a value of the spec.
> > > > >
> > > > > To me, "percent" sounds more natural as a value to choose, but
> > > > > shouldn't we at least allow "percentage" as a valid value for the
> > > > > <tr:convertNumber type="..." /> ?
> > > > >
> > > > > Thx,
> > > > > Matthias
> > > > >
> > > >
> > >
> >
> >
> > --
> > Matthias Wessendorf
> > http://tinyurl.com/fmywh
> >
> > further stuff:
> > blog: http://jroller.com/page/mwessendorf
> > mail: mwessendorf-at-gmail-dot-com
> >
>
--
Matthias Wessendorf
http://tinyurl.com/fmywh
further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com
Re: [NumberConverter] percentage vs. percent
Posted by Adam Winer <aw...@gmail.com>.
Ah, OK. Well, that makes more sense - I was surprised
that we'd picked a different constant. So, let's stay
with "percent", of course.
-- Adam
On 3/14/07, Matthias Wessendorf <ma...@apache.org> wrote:
> looks like the TLD for the convertNumber is wrong.
>
> the javax.faces.... uses only "percent" (both RI and MyFaces)
>
> So, they should change the doc to not say types... percentage
>
> -M
>
> On 3/14/07, Adam Winer <aw...@gmail.com> wrote:
> > Yes, definitely. We should allow both.
> >
> > -- Adam
> >
> >
> >
> > On 3/13/07, Gabrielle Crawford <ga...@oracle.com> wrote:
> > > How strange. I think we should allow 'percentage' so that people can
> > > switch from the spec one without confustion.
> > >
> > > Thanks,
> > >
> > > Gab
> > >
> > > On 3/13/2007 7:15 AM, Matthias Wessendorf wrote:
> > >
> > > > Hi,
> > > >
> > > > the Trinidad NumberConverter, which is an extension of the
> > > > javax.faces.... NumberConverter doesn't allow type="percentage", which
> > > > is a value of the spec.
> > > >
> > > > To me, "percent" sounds more natural as a value to choose, but
> > > > shouldn't we at least allow "percentage" as a valid value for the
> > > > <tr:convertNumber type="..." /> ?
> > > >
> > > > Thx,
> > > > Matthias
> > > >
> > >
> >
>
>
> --
> Matthias Wessendorf
> http://tinyurl.com/fmywh
>
> further stuff:
> blog: http://jroller.com/page/mwessendorf
> mail: mwessendorf-at-gmail-dot-com
>
Re: [NumberConverter] percentage vs. percent
Posted by Matthias Wessendorf <ma...@apache.org>.
looks like the TLD for the convertNumber is wrong.
the javax.faces.... uses only "percent" (both RI and MyFaces)
So, they should change the doc to not say types... percentage
-M
On 3/14/07, Adam Winer <aw...@gmail.com> wrote:
> Yes, definitely. We should allow both.
>
> -- Adam
>
>
>
> On 3/13/07, Gabrielle Crawford <ga...@oracle.com> wrote:
> > How strange. I think we should allow 'percentage' so that people can
> > switch from the spec one without confustion.
> >
> > Thanks,
> >
> > Gab
> >
> > On 3/13/2007 7:15 AM, Matthias Wessendorf wrote:
> >
> > > Hi,
> > >
> > > the Trinidad NumberConverter, which is an extension of the
> > > javax.faces.... NumberConverter doesn't allow type="percentage", which
> > > is a value of the spec.
> > >
> > > To me, "percent" sounds more natural as a value to choose, but
> > > shouldn't we at least allow "percentage" as a valid value for the
> > > <tr:convertNumber type="..." /> ?
> > >
> > > Thx,
> > > Matthias
> > >
> >
>
--
Matthias Wessendorf
http://tinyurl.com/fmywh
further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com
Re: [NumberConverter] percentage vs. percent
Posted by Adam Winer <aw...@gmail.com>.
Yes, definitely. We should allow both.
-- Adam
On 3/13/07, Gabrielle Crawford <ga...@oracle.com> wrote:
> How strange. I think we should allow 'percentage' so that people can
> switch from the spec one without confustion.
>
> Thanks,
>
> Gab
>
> On 3/13/2007 7:15 AM, Matthias Wessendorf wrote:
>
> > Hi,
> >
> > the Trinidad NumberConverter, which is an extension of the
> > javax.faces.... NumberConverter doesn't allow type="percentage", which
> > is a value of the spec.
> >
> > To me, "percent" sounds more natural as a value to choose, but
> > shouldn't we at least allow "percentage" as a valid value for the
> > <tr:convertNumber type="..." /> ?
> >
> > Thx,
> > Matthias
> >
>
Re: [NumberConverter] percentage vs. percent
Posted by Gabrielle Crawford <ga...@oracle.com>.
How strange. I think we should allow 'percentage' so that people can
switch from the spec one without confustion.
Thanks,
Gab
On 3/13/2007 7:15 AM, Matthias Wessendorf wrote:
> Hi,
>
> the Trinidad NumberConverter, which is an extension of the
> javax.faces.... NumberConverter doesn't allow type="percentage", which
> is a value of the spec.
>
> To me, "percent" sounds more natural as a value to choose, but
> shouldn't we at least allow "percentage" as a valid value for the
> <tr:convertNumber type="..." /> ?
>
> Thx,
> Matthias
>