Author: erwan
Date: Sun May 8 19:41:56 2011
New Revision: 1100797
URL:
http://svn.apache.org/viewvc?rev=1100797&view=revLog:
Missing portalPageId parameter when displaying the calendar
Modified:
ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/CreateUrlParam.groovy
Modified: ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/CreateUrlParam.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/CreateUrlParam.groovy?rev=1100797&r1=1100796&r2=1100797&view=diff==============================================================================
--- ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/CreateUrlParam.groovy (original)
+++ ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/CreateUrlParam.groovy Sun May 8 19:41:56 2011
@@ -66,4 +66,11 @@ if (urlParam) {
urlParam = "&" + urlParam;
}
+if (parameters.portalPageId) {
+ if (urlParam) {
+ urlParam = urlParam + "&";
+ }
+ urlParam = urlParam + "portalPageId=" + parameters.portalPageId;
+}
+
context.put("urlParam", urlParam);