svn commit: r465669 - in /incubator/ofbiz/trunk: applications/content/webapp/content/WEB-INF/controller.xml framework/example/webapp/example/WEB-INF/controller.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r465669 - in /incubator/ofbiz/trunk: applications/content/webapp/content/WEB-INF/controller.xml framework/example/webapp/example/WEB-INF/controller.xml

jonesde
Author: jonesde
Date: Thu Oct 19 09:10:54 2006
New Revision: 465669

URL: http://svn.apache.org/viewvc?view=rev&rev=465669
Log:
Appled patch from Bilgin Ibryam to fix missing controller entries for setSessionLocale; ASF Jira #OFBIZ-390

Modified:
    incubator/ofbiz/trunk/applications/content/webapp/content/WEB-INF/controller.xml
    incubator/ofbiz/trunk/framework/example/webapp/example/WEB-INF/controller.xml

Modified: incubator/ofbiz/trunk/applications/content/webapp/content/WEB-INF/controller.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/content/webapp/content/WEB-INF/controller.xml?view=diff&rev=465669&r1=465668&r2=465669
==============================================================================
--- incubator/ofbiz/trunk/applications/content/webapp/content/WEB-INF/controller.xml (original)
+++ incubator/ofbiz/trunk/applications/content/webapp/content/WEB-INF/controller.xml Thu Oct 19 09:10:54 2006
@@ -75,6 +75,12 @@
         <response name="success" type="request" value="/view"/>
         <response name="error" type="view" value="error"/>
     </request-map>
+    <request-map uri="setSessionLocale">
+        <security https="true" auth="false"/>
+        <event type="java" path="org.ofbiz.common.CommonEvents" invoke="setSessionLocale"/>
+        <response name="success" type="view" value="main"/>
+        <response name="error" type="view" value="main"/>
+    </request-map>
 
     <request-map uri="main"><security https="true" auth="true"/><response name="success" type="view" value="FindWebSite"/></request-map>
     

Modified: incubator/ofbiz/trunk/framework/example/webapp/example/WEB-INF/controller.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/example/webapp/example/WEB-INF/controller.xml?view=diff&rev=465669&r1=465668&r2=465669
==============================================================================
--- incubator/ofbiz/trunk/framework/example/webapp/example/WEB-INF/controller.xml (original)
+++ incubator/ofbiz/trunk/framework/example/webapp/example/WEB-INF/controller.xml Thu Oct 19 09:10:54 2006
@@ -85,6 +85,12 @@
         <response name="success" type="view" value="main"/>
         <response name="error" type="view" value="error"/>
     </request-map>
+    <request-map uri="setSessionLocale">
+        <security https="true" auth="false"/>
+        <event type="java" path="org.ofbiz.common.CommonEvents" invoke="setSessionLocale"/>
+        <response name="success" type="view" value="main"/>
+        <response name="error" type="view" value="main"/>
+    </request-map>
     
     <request-map uri="main">
         <security https="true" auth="true"/>