Author: jacopoc Date: Fri Sep 15 23:37:42 2006 New Revision: 446823 URL: http://svn.apache.org/viewvc?view=rev&rev=446823 Log: Added request definition to allow the locale switch in the Shark application. Thanks to Valentina Sirkova for the patch (OFBIZ-310).
Modified: incubator/ofbiz/trunk/framework/shark/webapp/shark/WEB-INF/controller.xml Modified: incubator/ofbiz/trunk/framework/shark/webapp/shark/WEB-INF/controller.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/shark/webapp/shark/WEB-INF/controller.xml?view=diff&rev=446823&r1=446822&r2=446823 ============================================================================== --- incubator/ofbiz/trunk/framework/shark/webapp/shark/WEB-INF/controller.xml (original) +++ incubator/ofbiz/trunk/framework/shark/webapp/shark/WEB-INF/controller.xml Fri Sep 15 23:37:42 2006 @@ -89,6 +89,12 @@ <response name="success" type="view" value="main"/> </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="repository"> <security https="true" auth="true"/> <response name="success" type="view" value="repository"/>