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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 >> > >