> The remaining question is then, how to determine what locale to use?
> One possibility was to add an optional 'locale' attribute to 
> the table tag which would take a locale string like 'en_US', 
> or one of the values:
> - 'server' to take Locale.getDefault()
> - 'request' to take request.getLocale()
> 
> Now, what would be the default? To keep backward 
> compativility, it would be 'server'. On the other hand, I 
> would expect that it is almost always better to use the user 
> locale from the request.

I would expect that the request would always be the locale that is used.
It's hard to imagine a case where the server locale would be preferred
over the client locale.

Since it was never using anything but the server locale, I'm not too
worried about breaking old code by just using the user request for the
search order, but an announcement on the user list and in the release
notes should do the trick for anyone.  



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to