Author: jleroux
Date: Wed Oct 3 09:25:19 2012
New Revision: 1393367
URL: http://svn.apache.org/viewvc?rev=1393367&view=rev
Log:
Moves throwRequestHandlerExceptionOnMissingLocalRequest from general.properties
to requestHandler.properties
Added:
ofbiz/trunk/framework/webapp/config/requestHandler.properties (with props)
Modified:
ofbiz/trunk/framework/common/config/general.properties
ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java
Modified: ofbiz/trunk/framework/common/config/general.properties
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/config/general.properties?rev=1393367&r1=1393366&r2=1393367&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/config/general.properties (original)
+++ ofbiz/trunk/framework/common/config/general.properties Wed Oct 3 09:25:19
2012
@@ -143,6 +143,3 @@ multitenant=N
# -- Y if you use a cluster. Most of the time this should not be needed.
Setting distributed-cache-clear-enabled="true" is enough
# -- to guarantee no sequenceIds duplicates. See OFBIZ-2353 for details
cluster=N
-
-# -- N if you want to use external requests (not in available in current
controller), see OFBIZ-5037
-throwRequestHandlerExceptionOnMissingLocalRequest=Y
\ No newline at end of file
Added: ofbiz/trunk/framework/webapp/config/requestHandler.properties
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webapp/config/requestHandler.properties?rev=1393367&view=auto
==============================================================================
--- ofbiz/trunk/framework/webapp/config/requestHandler.properties (added)
+++ ofbiz/trunk/framework/webapp/config/requestHandler.properties Wed Oct 3
09:25:19 2012
@@ -0,0 +1,2 @@
+# -- N if you want to use external requests (not in available in current
controller), see OFBIZ-5037
+throwRequestHandlerExceptionOnMissingLocalRequest=Y
\ No newline at end of file
Propchange: ofbiz/trunk/framework/webapp/config/requestHandler.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/trunk/framework/webapp/config/requestHandler.properties
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange: ofbiz/trunk/framework/webapp/config/requestHandler.properties
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified:
ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java?rev=1393367&r1=1393366&r2=1393367&view=diff
==============================================================================
---
ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java
(original)
+++
ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java
Wed Oct 3 09:25:19 2012
@@ -67,7 +67,7 @@ public class RequestHandler {
public static final String module = RequestHandler.class.getName();
private static final Boolean
THROW_REQUEST_HANDLER_EXCEPTION_ON_MISSING_LOCAL_REQUEST =
- UtilProperties.propertyValueEqualsIgnoreCase("general.properties",
"throwRequestHandlerExceptionOnMissingLocalRequest", "Y");
+
UtilProperties.propertyValueEqualsIgnoreCase("requestHandler.properties",
"throwRequestHandlerExceptionOnMissingLocalRequest", "Y");
public static RequestHandler getRequestHandler(ServletContext
servletContext) {
RequestHandler rh = (RequestHandler)
servletContext.getAttribute("_REQUEST_HANDLER_");