You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Adam Lipscombe <ad...@expensys.com> on 2007/06/13 10:56:38 UTC

inputting numbers with html:text fields and internationalisation

Folks,


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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org