myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r1702480 - /myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/test/java/org/apache/myfaces/tobago/internal/config/AbstractTobagoTestBase.java
Date Fri, 11 Sep 2015 14:29:56 GMT
Author: lofwyr
Date: Fri Sep 11 14:29:56 2015
New Revision: 1702480

URL: http://svn.apache.org/r1702480
Log:
TOBAGO-1470: Tobago 3: Layout concept changed

Modified:
    myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/test/java/org/apache/myfaces/tobago/internal/config/AbstractTobagoTestBase.java

Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/test/java/org/apache/myfaces/tobago/internal/config/AbstractTobagoTestBase.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/test/java/org/apache/myfaces/tobago/internal/config/AbstractTobagoTestBase.java?rev=1702480&r1=1702479&r2=1702480&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/test/java/org/apache/myfaces/tobago/internal/config/AbstractTobagoTestBase.java
(original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/test/java/org/apache/myfaces/tobago/internal/config/AbstractTobagoTestBase.java
Fri Sep 11 14:29:56 2015
@@ -90,7 +90,7 @@ public abstract class AbstractTobagoTest
 
     final ClientProperties clientProperties = new ClientProperties();
     clientProperties.setTheme(one);
-    clientProperties.setLocale(Locale.ENGLISH);
+    facesContext.getViewRoot().setLocale(Locale.ENGLISH);
     session.setAttribute(ClientProperties.MANAGED_BEAN_NAME, clientProperties);
 
     // XXX is there a better way? Get it from Tobagos generated faces-config.xml?



Mime
View raw message