Author: jaz
Date: Fri Mar 7 12:21:09 2008
New Revision: 634802
URL:
http://svn.apache.org/viewvc?rev=634802&view=revLog:
updated streaming event to allow passing parameters in as path info (using UtilHttp.getParameterMap())
Modified:
ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataEvents.java
Modified: ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataEvents.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataEvents.java?rev=634802&r1=634801&r2=634802&view=diff==============================================================================
--- ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataEvents.java (original)
+++ ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataEvents.java Fri Mar 7 12:21:09 2008
@@ -65,7 +65,10 @@
GenericValue userLogin = (GenericValue) session.getAttribute("userLogin");
String userAgent = request.getHeader("User-Agent");
- String contentId = request.getParameter("contentId");
+
+ Map httpParams = UtilHttp.getParameterMap(request);
+ String contentId = (String) httpParams.get("contentId");
+ //String contentId = request.getParameter("contentId");
if (UtilValidate.isEmpty(contentId)) {
String errorMsg = "Required parameter contentId not found!";
Debug.logError(errorMsg, module);