Return-Path: Delivered-To: apmail-shale-issues-archive@locus.apache.org Received: (qmail 31710 invoked from network); 19 Apr 2007 16:30:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Apr 2007 16:30:08 -0000 Received: (qmail 58910 invoked by uid 500); 19 Apr 2007 16:30:11 -0000 Delivered-To: apmail-shale-issues-archive@shale.apache.org Received: (qmail 58852 invoked by uid 500); 19 Apr 2007 16:30:10 -0000 Mailing-List: contact issues-help@shale.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@shale.apache.org Delivered-To: mailing list issues@shale.apache.org Received: (qmail 58813 invoked by uid 99); 19 Apr 2007 16:30:10 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2007 09:30:10 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2007 09:30:03 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 49A4E714064 for ; Thu, 19 Apr 2007 09:29:43 -0700 (PDT) Message-ID: <17068140.1177000183295.JavaMail.jira@brutus> Date: Thu, 19 Apr 2007 09:29:43 -0700 (PDT) From: "Gary VanMatre (JIRA)" To: issues@shale.apache.org Subject: [jira] Commented: (SHALE-437) Setting Locale on ViewRoot to an EL Expression is broken In-Reply-To: <25364594.1176828163423.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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.