[Converter] improvements ?

From: Matthias Wessendorf <>
Date: Mon, 7 Apr 2008 17:42:57 +0200


when having this:
<h:inputText value="#{bean.myDoubleValue}" ... /> the *default*
double_converter is used,
which doesn't honor the underlying locale.

Sure, you can always nest a <f:convertNumber /> to honor the locale,
but... should we make it
a default ?

I think it would be very convenient to always use the NumberConverter
for numeric values...

I doubt that an internationalized application will really use
<h:inputText value="someDouble" />.

Instead they do stuff like:
<h:inputText value="someDouble" ...>
  <f:convertNumber ... />

any thoughts?

Matthias Wessendorf
further stuff:
mail: matzew-at-apache-dot-org