Hi List,
I'd like my users to be able to input data in their respective locale.
For example in most european countries you use the ',' to seperate the
decimal places from the integer part of a number.
For a quick workaround I'm using a patched version of Tapestry wich adds
a Locale parameter to Translator's parseClient and toClient methods,
but I don't want to apply this patch to every release of Tapestry.
One solution could be to write my own translators that have a setter for
the current user's locale and instantiate them on every page where they
are needed but this feels kind of cumbersome to me especially if you
want to use BeanEditForm to edit some entity whith fields that should
accept localized valus. In that case I also have to do a lot of changes
to my templates in order to tell BeanEditForm to use my own translators
instead of Tapestry's own.
How do you solve that?
Uli
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]