[
http://www.stripesframework.org/jira/browse/STS-749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12120#comment-12120
]
Iwao AVE! commented on STS-749:
-------------------------------
Custom locale picker should work as documented.
Could you post a minimum webapp to reproduce the problem?
> <fmt:formatDate /> wrong locale when using Layouts and custom LocalePicker
> --------------------------------------------------------------------------
>
> Key: STS-749
> URL: http://www.stripesframework.org/jira/browse/STS-749
> Project: Stripes
> Issue Type: Bug
> Components: Formatting
> Environment: Win 7, Java 6, Resin 3.1.10
> Reporter: Christian Yttesen
> Fix For: Release 1.5.5
>
>
> Reading the Stripes documentation about localization:
> <<
> Secondly, you should rarely have a need to use the <fmt:setLocale.../> tag.
> Because of Stripes' strategy of using a filter and a request wrapper, all
> components in your application, including the JSTL tags, will always get the
> right locale when they call request.getLocale().
> >>
> Using the Layout template mechanism I cannot get <fmt:formatDate /> to use
> the locale returned by my custom LocalePicker - it seems to always use the
> browsers preferred locale.
> If I include <fmt:setLocale value="${pageContext.request.locale}" /> on my
> page it works fine. But reading the above documentation makes me wonder why
> thats required?
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development