struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Lipscombe <>
Subject inputting numbers with html:text fields and internationalisation
Date Wed, 13 Jun 2007 08:56:38 GMT

We have an internationalised site using struts 1.3.8.
Outputting currency and numbers with the bean:write tag works well.

The problem comes when the user is inputting numbers and currency via an html:text field.

Ideally it would be nice if the conversion to US/UK format was handled automatically so any

subsequent parsing and arithmetic would work.

It occurs to me that this must be a generic issue.
Is there a standard solution for handling input of numbers and currency in non-US format?
If so what is it?

If the conversion is not automatic is it best handled in javascript or in the action/actionform?

Thanks - Adam

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message