You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by de...@apache.org on 2017/11/11 06:14:20 UTC

svn commit: r1814922 - /ofbiz/ofbiz-framework/trunk/themes/common/template/macro/HtmlTreeMacroLibrary.ftl

Author: deepak
Date: Sat Nov 11 06:14:20 2017
New Revision: 1814922

URL: http://svn.apache.org/viewvc?rev=1814922&view=rev
Log:
Improved: Set the default value for Html Tree Macro Library.(OFBIZ-7988)
Thanks Renuka Srishti for your contribution

Modified:
    ofbiz/ofbiz-framework/trunk/themes/common/template/macro/HtmlTreeMacroLibrary.ftl

Modified: ofbiz/ofbiz-framework/trunk/themes/common/template/macro/HtmlTreeMacroLibrary.ftl
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/themes/common/template/macro/HtmlTreeMacroLibrary.ftl?rev=1814922&r1=1814921&r2=1814922&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/themes/common/template/macro/HtmlTreeMacroLibrary.ftl (original)
+++ ofbiz/ofbiz-framework/trunk/themes/common/template/macro/HtmlTreeMacroLibrary.ftl Sat Nov 11 06:14:20 2017
@@ -17,17 +17,17 @@ specific language governing permissions
 under the License.
 -->
 
-<#macro renderNodeBegin style>
+<#macro renderNodeBegin style="">
 <#if style?has_content><ul class="${style}"></#if>
 <li><#rt/>
 </#macro>
 
-<#macro renderLastElement style>
+<#macro renderLastElement style="">
 <ul<#if style?has_content> class="${style}"</#if>>
 <#rt/>
 </#macro>
   
-<#macro renderNodeEnd processChildren isRootNode>
+<#macro renderNodeEnd processChildren="" isRootNode="">
 <#if processChildren?has_content && processChildren>
 </ul><#lt/>
 </#if>
@@ -37,9 +37,9 @@ under the License.
 </#if> 
 </#macro>
  
-<#macro renderLabel id style labelText>
+<#macro renderLabel id="" style="" labelText="">
 <span<#if id?has_content> id="${id}"</#if><#if style?has_content> class="${style}"</#if>><#rt/>
-<#if id?has_content>{labelText}</#if><#rt/>
+<#if labelText?has_content>${labelText}</#if><#rt/>
 </span>    
 </#macro>
 
@@ -47,7 +47,7 @@ under the License.
 <!-- ${boundaryType}  ${widgetType}  ${widgetName} -->
 </#macro>
 
-<#macro renderLink id style name title targetWindow linkUrl linkText imgStr>
+<#macro renderLink id="" style="" name="" title="" targetWindow="" linkUrl="" linkText="" imgStr="">
 <a<#if id?has_content> id="${id}"</#if><#rt/>
 <#if style?has_content> class="${style}"</#if><#rt/>
 <#if name?has_content> name="${name}"</#if><#rt/>
@@ -56,7 +56,7 @@ under the License.
 <#if imgStr?has_content>${imgStr}<#elseif linkText?has_content/>${linkText}<#else>&nbsp;</#if></a><#rt/>
 </#macro>
 
-<#macro renderImage src id style wid hgt border alt urlString>
+<#macro renderImage src="" id="" style="" wid="" hgt="" border="" alt="" urlString="">
 <#if src?has_content>
 <img <#if id?has_content>id="${id}"</#if><#if style?has_content> class="${style}"</#if><#if wid?has_content> width="${wid}"</#if><#if hgt?has_content> height="${hgt}"</#if><#if border?has_content> border="${border}"</#if> alt="<#if alt?has_content>${alt}</#if>" src="${urlString}" /><#rt/>
 </#if>