Author: erwan
Date: Tue Feb 22 16:44:30 2011
New Revision: 1073398
URL:
http://svn.apache.org/viewvc?rev=1073398&view=revLog:
Make collapsibleAreaId unique so the right screenlet is collapsed when more than one screenlet in a portalPage
Modified:
ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/MacroScreenRenderer.java
Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/MacroScreenRenderer.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/MacroScreenRenderer.java?rev=1073398&r1=1073397&r2=1073398&view=diff==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/MacroScreenRenderer.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/MacroScreenRenderer.java Tue Feb 22 16:44:30 2011
@@ -634,7 +634,7 @@ public class MacroScreenRenderer impleme
parameters.put("title", title);
parameters.put("collapsible", collapsible);
parameters.put("saveCollapsed", screenlet.saveCollapsed());
- parameters.put("collapsibleAreaId", collapsibleAreaId);
+ parameters.put("collapsibleAreaId", screenlet.getId(context) + "_col");
parameters.put("expandToolTip", expandToolTip);
parameters.put("collapseToolTip", collapseToolTip);
parameters.put("fullUrlString", fullUrlString);