Author: mwringe
Date: 2012-02-07 10:56:36 -0500 (Tue, 07 Feb 2012)
New Revision: 8412
Modified:
epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortlet.java
Log:
JBEPP-1503: need to also check the RequestContext parameters list for the resource-id when
handling portlet resources.
Modified:
epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortlet.java
===================================================================
---
epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortlet.java 2012-02-07
15:25:41 UTC (rev 8411)
+++
epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortlet.java 2012-02-07
15:56:36 UTC (rev 8412)
@@ -748,6 +748,10 @@
{
resourceInvocation.setResourceId(resourceId);
}
+ else if
(!ParameterValidation.isNullOrEmpty(prc.getRequestParameter(Constants.RESOURCE_ID_PARAMETER)))
+ {
+
resourceInvocation.setResourceId(prc.getRequestParameter(Constants.RESOURCE_ID_PARAMETER));
+ }
String cachability =
servletRequest.getParameter(Constants.CACHELEVEL_PARAMETER);
if (!ParameterValidation.isNullOrEmpty(cachability))