You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2009/04/22 20:36:47 UTC
[jira] Closed: (TAP5-658) Optimizations for custom persistent
locale implementations
[ https://issues.apache.org/jira/browse/TAP5-658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship closed TAP5-658.
-------------------------------------
Resolution: Won't Fix
Assignee: Howard M. Lewis Ship
I still don't see the point in invoking LocalizationSetter is you know the desired Locale; just call ThreadLocale.setLocale().
> Optimizations for custom persistent locale implementations
> ----------------------------------------------------------
>
> Key: TAP5-658
> URL: https://issues.apache.org/jira/browse/TAP5-658
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.1.0.4
> Reporter: Andy Blower
> Assignee: Howard M. Lewis Ship
> Priority: Minor
>
> I was wondering if having a method in LocalizationSetter that allows a Locale to be passed would be a good idea. This would remove the conversion to String and back again which occurs for every request if you are actually storing a locale with a custom persistent locale implementation.
> The other slight annoyance I have with this area of T5 is that PersistentLocale.set() being constantly called by the LocalizationSetter for each request, this doesn't fit in with the old way that the PersistentLocale service was used. I think that only executing persistentLocale.set(locale); (line 113) if ENCODE_LOCALE_INTO_PATH is true would be a nice little improvement/optimization.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.