[
https://issues.apache.org/struts/browse/SHALE-437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40852
]
Gary VanMatre commented on SHALE-437:
-------------------------------------
Couple more questions:
1. Are use using clay with JSP or full XML/HTML views?
2. Can you verify that the "getMyLocale" method is getting invoked in the
backing bean (not by the outputText binding). The reason I ask is if you look
at the logic for the getLocale of the view root [1], it skips the value binding
if the private variable has a value.
[1]
http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/java/javax/faces/component/UIViewRoot.java?view=markup
> Setting Locale on ViewRoot to an EL Expression is broken
> --------------------------------------------------------
>
> Key: SHALE-437
> URL: https://issues.apache.org/struts/browse/SHALE-437
> Project: Shale
> Issue Type: Bug
> Components: Clay
> Affects Versions: 1.0.4, 1.1.0-SNAPSHOT
> Environment: JDK 1.[56], Tomcat [56]
> Reporter: Torsten Krah
>
> The improvement is is resolved there
> https://issues.apache.org/struts/browse/SHALE-331.
> Cant modify it to reopen it as a "bug" - so i open a new one.
> Like i told on the list, the locale binding is broken for EL expressions.
> Looking at the code i saw the binding expression is set to the ShaleViewRoot.
> But i can change the result of the expression to another locale - the locale
> of the ViewRoot still says the same.
> Torsten
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.