use a numberConverter

the buildin doubleConverter does
(javax.faces.convert.DoubleCoinverte)

Double.valueOf(string)

the string needs to contain a "." instead of ","

-M

On 2/21/07, Michał 'Gandalf' Stawicki <[EMAIL PROTECTED]> wrote:
Hello,

is there a way to make f:validateDoubleRange validate ',' (comma)
instead of '.' (dot) as decimal separator? I have already set f:view
locale and did

        FacesContext fc = FacesContext.getCurrentInstance();
        fc.getViewRoot().setLocale(new Locale("pl", "PL"));

am I missing something, or does validator only accept '.'?

Regards,
michael

--
[EMAIL PROTECTED]
http://stawicki.jasliska.pl
GG: 3691111
JID: [EMAIL PROTECTED]



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

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

Reply via email to