From e48310e533ff7f55a69acee8167d5ed265be4e67 Mon Sep 17 00:00:00 2001 From: Christian Carlow Date: Sun, 7 Jun 2015 19:41:47 +0000 Subject: [PATCH] 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 git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684066 13f79535-47bb-0310-9956-ffa450edef68 --- framework/widget/templates/htmlFormMacroLibrary.ftl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/widget/templates/htmlFormMacroLibrary.ftl b/framework/widget/templates/htmlFormMacroLibrary.ftl index 8e20aa46cf..4f3fa12456 100644 --- a/framework/widget/templates/htmlFormMacroLibrary.ftl +++ b/framework/widget/templates/htmlFormMacroLibrary.ftl @@ -849,7 +849,7 @@ Parameter: tabindex, String, optional - HTML tabindex number. <#if confirmation?has_content> onclick="return confirm('${confirmation?js_string}')"> <#if imgSrc?has_content>${description} -<#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=""> class="${linkStyle}" href="${linkUrl}"<#if targetWindow?has_content> target="${targetWindow}" <#if action?has_content && event?has_content> ${event}="${action}"