shale-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torsten Krah (JIRA)" <>
Subject [jira] Commented: (SHALE-437) Setting Locale on ViewRoot to an EL Expression is broken
Date Thu, 19 Apr 2007 15:33:43 GMT


Torsten Krah commented on SHALE-437:

I also did an "output" to the view, which value the ViewRoot got and 
which value the EL expression has:

The UIViewRoot Locale stays always the same, although the

<h:outputText value="#{myLocaleSessionBean.myLocale}" /> changes 
everytime i click on my "en" and "de" link which invokes a method which 
sets the actualLocale to german or english.




private Locale myLocale;
  public Locale getMyLocale() {
    return this.myLocale;
  // setter there too

  public void langEN() {
    this.myLocale = Locale.ENGLISH;
  public void langDE() {
    this.myLocale = Locale.GERMAN;

Should be correct - but does not work.


> Setting Locale on ViewRoot to an EL Expression is broken
> --------------------------------------------------------
>                 Key: SHALE-437
>                 URL:
>             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
> 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.

View raw message