Hi,

This is very diffcult issue in struts. First you have to set your locale
correctly. Second you have to use in the jsp the correct calls for number
formatting. The struts docummenattion explains this point in FAQ (I hold in
mind so). Alternatively you can write your own converter for BigDecimal.
I would prefer the first way.

Regards
Eduard

2010/3/30 Juanjo C <jjcuadr...@gmail.com>

> Any idea?
>
> 2007/10/23 Pedro Herrera <pedro_herr...@hotmail.com>
>
> >
> > Hi,
> >   I have a currency input field (BigDecimal). In my location the decimal
> > point is comma, eg, 10,00(==10.00) must be permitted.  Struts is throwing
> a
> > message error : Invalid field value for field "valor".
> >
> >
> > Thanks
> >
> > Herrera
> >
> >
> > --
> > View this message in context:
> >
> http://www.nabble.com/-s2--number-format-s%3Atextfield-tag-tf4680318.html#a13373598
> > Sent from the Struts - User mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> > For additional commands, e-mail: user-h...@struts.apache.org
> >
> >
>

Reply via email to