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/04/11 13:54:12 UTC

[XRTS] overhaul of the NumberConverter messages (their details)

HEllo,

currently we have something like:
The value "{1}" is not a valid currency value.

or
The value "{1}" is not a valid percentage value.

as the detail message for the FacesMessage. The DateTimeConverter is
much "nicer" to the user. It is providing an example, using the
"right" format/pattern.

I'd like to add something like that to the NumberConverter as well.

Thanks,
MAtthias

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

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

Re: [XRTS] overhaul of the NumberConverter messages (their details)

Posted by Adam Winer <aw...@gmail.com>.
Me too.  The only downside is that these examples
are a performance hit (a significant one, last time
I profiled inputDate).  NumberConverter is probably
more lightweight than DateConverter.

-- Adam


On 4/11/07, Jeanne Waldman <je...@oracle.com> wrote:
> That sounds great to me.
> - Jeanne
>
> Martin Marinschek wrote:
> > Well, that's certainly a good idea!
> >
> > regards,
> >
> > Martin
> >
> > On 4/11/07, Matthias Wessendorf <ma...@apache.org> wrote:
> >> HEllo,
> >>
> >> currently we have something like:
> >> The value "{1}" is not a valid currency value.
> >>
> >> or
> >> The value "{1}" is not a valid percentage value.
> >>
> >> as the detail message for the FacesMessage. The DateTimeConverter is
> >> much "nicer" to the user. It is providing an example, using the
> >> "right" format/pattern.
> >>
> >> I'd like to add something like that to the NumberConverter as well.
> >>
> >> Thanks,
> >> MAtthias
> >>
> >> --
> >> Matthias Wessendorf
> >> http://tinyurl.com/fmywh
> >>
> >> further stuff:
> >> blog: http://jroller.com/page/mwessendorf
> >> mail: mwessendorf-at-gmail-dot-com
> >>
> >
> >
>

Re: [XRTS] overhaul of the NumberConverter messages (their details)

Posted by Jeanne Waldman <je...@oracle.com>.
That sounds great to me.
- Jeanne

Martin Marinschek wrote:
> Well, that's certainly a good idea!
>
> regards,
>
> Martin
>
> On 4/11/07, Matthias Wessendorf <ma...@apache.org> wrote:
>> HEllo,
>>
>> currently we have something like:
>> The value "{1}" is not a valid currency value.
>>
>> or
>> The value "{1}" is not a valid percentage value.
>>
>> as the detail message for the FacesMessage. The DateTimeConverter is
>> much "nicer" to the user. It is providing an example, using the
>> "right" format/pattern.
>>
>> I'd like to add something like that to the NumberConverter as well.
>>
>> Thanks,
>> MAtthias
>>
>> -- 
>> Matthias Wessendorf
>> http://tinyurl.com/fmywh
>>
>> further stuff:
>> blog: http://jroller.com/page/mwessendorf
>> mail: mwessendorf-at-gmail-dot-com
>>
>
>

Re: [XRTS] overhaul of the NumberConverter messages (their details)

Posted by Martin Marinschek <ma...@gmail.com>.
Well, that's certainly a good idea!

regards,

Martin

On 4/11/07, Matthias Wessendorf <ma...@apache.org> wrote:
> HEllo,
>
> currently we have something like:
> The value "{1}" is not a valid currency value.
>
> or
> The value "{1}" is not a valid percentage value.
>
> as the detail message for the FacesMessage. The DateTimeConverter is
> much "nicer" to the user. It is providing an example, using the
> "right" format/pattern.
>
> I'd like to add something like that to the NumberConverter as well.
>
> Thanks,
> MAtthias
>
> --
> Matthias Wessendorf
> http://tinyurl.com/fmywh
>
> further stuff:
> blog: http://jroller.com/page/mwessendorf
> mail: mwessendorf-at-gmail-dot-com
>


-- 

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces