You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by cc...@apache.org on 2015/06/07 21:41:48 UTC
svn commit: r1684066 -
/ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl
Author: ccarlow
Date: Sun Jun 7 19:41:47 2015
New Revision: 1684066
URL: http://svn.apache.org/r1684066
Log:
Fixing this error caused by id parameter not being assigned to default value for OFBIZ-6403:
FreeMarker template error: When calling macro "makeHyperlinkString", required parameter "id" (parameter #12) was not specified.
https://issues.apache.org/jira/browse/OFBIZ-6403
Modified:
ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl
Modified: ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl?rev=1684066&r1=1684065&r2=1684066&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl (original)
+++ ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl Sun Jun 7 19:41:47 2015
@@ -849,7 +849,7 @@ Parameter: tabindex, String, optional -
<#if confirmation?has_content> onclick="return confirm('${confirmation?js_string}')"</#if>>
<#if imgSrc?has_content><img src="${imgSrc}" alt=""/></#if>${description}</a>
</#macro>
-<#macro makeHyperlinkString linkStyle hiddenFormName event action imgSrc title alternate linkUrl targetWindow description confirmation id>
+<#macro makeHyperlinkString linkStyle hiddenFormName event action imgSrc title alternate linkUrl targetWindow description confirmation id="">
<a <#if linkStyle?has_content>class="${linkStyle}"</#if>
href="${linkUrl}"<#if targetWindow?has_content> target="${targetWindow}"</#if>
<#if action?has_content && event?has_content> ${event}="${action}"</#if>