svn commit: r834748 - /ofbiz/trunk/framework/widget/templates/htmlScreenMacroLibrary.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r834748 - /ofbiz/trunk/framework/widget/templates/htmlScreenMacroLibrary.ftl

apatel-2
Author: apatel
Date: Wed Nov 11 03:13:35 2009
New Revision: 834748

URL: http://svn.apache.org/viewvc?rev=834748&view=rev
Log:
use has_content to check if text parameter has any value

Modified:
    ofbiz/trunk/framework/widget/templates/htmlScreenMacroLibrary.ftl

Modified: ofbiz/trunk/framework/widget/templates/htmlScreenMacroLibrary.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/templates/htmlScreenMacroLibrary.ftl?rev=834748&r1=834747&r2=834748&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/templates/htmlScreenMacroLibrary.ftl (original)
+++ ofbiz/trunk/framework/widget/templates/htmlScreenMacroLibrary.ftl Wed Nov 11 03:13:35 2009
@@ -63,7 +63,7 @@
 <#macro renderHorizontalSeparator id style><hr<#if id?has_content> id="${id}"</#if><#if style?has_content> class="${style}"</#if>/></#macro>
 
 <#macro renderLabel text id style>
-  <#if text?exists>
+  <#if text?has_content>
     <#-- Label is considered block level element in screen widget. There is not reason to render text outside of any html element. Use of style element has set pattern and we'll use style
        to determine appropriate html element to use -->
     <#if style?has_content>