forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r452798 - /forrest/trunk/main/webapp/sitemap.xmap
Date Wed, 04 Oct 2006 08:51:08 GMT
Author: crossley
Date: Wed Oct  4 01:51:07 2006
New Revision: 452798

URL: http://svn.apache.org/viewvc?view=rev&rev=452798
Log:
Keep the chosen locale when switching between pages.
Changed the LocaleAction configuration in root sitemap.
Turned on locale negotiation in the LocaleMatcher.
Issue: FOR-936
Contributed by: Sjur Moshagen

Modified:
    forrest/trunk/main/webapp/sitemap.xmap

Modified: forrest/trunk/main/webapp/sitemap.xmap
URL: http://svn.apache.org/viewvc/forrest/trunk/main/webapp/sitemap.xmap?view=diff&rev=452798&r1=452797&r2=452798
==============================================================================
--- forrest/trunk/main/webapp/sitemap.xmap (original)
+++ forrest/trunk/main/webapp/sitemap.xmap Wed Oct  4 01:51:07 2006
@@ -229,7 +229,7 @@
         <default-locale language="en" country="US"/>
         <negotiate>true</negotiate>
         <use-locale>true</use-locale>
-        <use-locales>false</use-locales>
+        <use-locales>true</use-locales>
         <use-blank-locale>true</use-blank-locale>
         <locale-attribute>locale</locale-attribute>
       </map:matcher>
@@ -242,9 +242,9 @@
         <default-locale language="en" country="US"/>
         <use-locale>true</use-locale>
         <store-in-request>false</store-in-request>
-        <create-session>false</create-session>
-        <store-in-session>false</store-in-session>
-        <store-in-cookie>false</store-in-cookie>
+        <create-session>true</create-session>
+        <store-in-session>true</store-in-session>
+        <store-in-cookie>true</store-in-cookie>
         <locale-attribute>locale</locale-attribute>
       </map:action>
     </map:actions>



Mime
View raw message