You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Jacques Le Roux <ja...@les7arts.com> on 2009/04/25 09:41:20 UTC

htmlScreenMacroLibrary

I got this error in log

freemarker.core.NonStringException: Error on line 99, column 124 in component://widget/templates/htmlScreenMacroLibrary.ftl
Expecting a string, date or number here, Expression collapsed is instead a freemarker.template.TemplateBooleanModel$2


 I think this patch fix it, is it right ?

Index: framework/widget/templates/htmlScreenMacroLibrary.ftl
===================================================================
--- framework/widget/templates/htmlScreenMacroLibrary.ftl (revision 768477)
+++ framework/widget/templates/htmlScreenMacroLibrary.ftl (working copy)
@@ -96,7 +96,7 @@
 <#if !collapsed>
 ${menuString}
 </#if>
-</ul><br class="clear" /></div><div <#if collapsibleAreaId?has_content> id="${collapsibleAreaId}" <#if collapsed> style="${collapsed}display: none;"</#if></#if><#if padded> class="screenlet-body"</#if>>
+</ul><br class="clear" /></div><div <#if collapsibleAreaId?has_content> id="${collapsibleAreaId}" <#if collapsed>style="display: none;"</#if></#if><#if padded> class="screenlet-body"</#if>>
 </#if>
 </#macro>
 <#macro renderScreenletSubWidget></#macro>

Jacques

PS: Did some tests, seems ok, I have finally commited the fix at r768490 , R9.04 r768492