I am wondering about best practices in struts for
internationalization of dates and numbers.  Formatting
is not too hard, but parsing and validation is trickier.
We must simultaneously handle different formats for
different users, so any validation or parsing has to
take into account the user's locale.

Date formats include mm/dd/yyyy and dd/mm/yyyy.
Number formats include 12,345.6 and 12.345,6
(these are US and German respectively).

Also, for some things, like money, we want to enforce
a fixed number of decimal places while other numbers
should display however many decimal places they have.
Some numbers are internal-use integers (always hidden)
that should not be formatted.

Examples or tutorials would be very appreciated.

Thanks,
Dan


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to