yeah, I came over it yesterday :-)

On 3/14/07, Zdeněk Sochor <[EMAIL PROTECTED]> wrote:
Only tlddoc is faulty - API is fine.
And this error goes through ALL 1.x versions.

Matthias Wessendorf napsal(a):

> Yeah,
> I checked the code of the RI NumberConverter and MyFaces.
> Since both pass the TCK, percent is fine.
>
> Question is: Why is the RI doc wrong ? :)
>
> On 3/14/07, Zdeněk Sochor <[EMAIL PROTECTED]> wrote:
>
>> Hi,
>>   according to JSF 1.1 spec (section 9.4.4) percent is right one.
>>
>> Regards,
>>   Zdenek
>>
>> Matthias Wessendorf napsal(a):
>>
>> > The tlddoc for the NumberConverter type says:
>> >
>> > Specifies how the number string will be formatted and parsed. Valid
>> > values are "number", "currency", and "percentage". Default value is
>> > "number".
>> >
>> > but, in the code there is a check for "percent" instead:
>> >  else if (_type.equals("percent"))
>> >        {
>> >            return NumberFormat.getPercentInstance(lokale);
>> >        }
>> >
>> > am I missing something? I was thinking to actually see the usage of
>> > "percentage" ...
>> >
>> > Thx,
>> > Matthias
>> >
>>
>>
>
>




--
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Reply via email to