In your module class, if you add:

public static void
contributeApplicationDefaults(MappedConfiguration<String, String>
config) {
    config.add(SymbolConstants.SUPPORTED_LOCALES, "en");
}

then T5 should only support English, meaning only full stops should be
used as decimal separators. See
org.apache.tapestry5.services.LocalizationSetter for more details.

Steve.

--
Steve Eynon
-------------------------------
"If at first you don't succeed,
   so much for skydiving!"



On 14 August 2012 06:41, arterzatij <arterza...@gmail.com> wrote:
> Hi,
>
> Currently I tested with 'en' locale and it works well, so bigdecimal is not
> the problem. But when I changed to 'es' locale (I live in Mexico), it gets
> the decimal separator as ',' ,on my regional settings of OS and browser are
> configured to handle '.' as decimal separator. Any suggestions?
>
> Thanks!
>
>
>
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/BigDecimal-on-Tapestry-pages-tp5714260p5715370.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to