From b69664a9d650000ff6be3e7d9e48b2e8213d24ce Mon Sep 17 00:00:00 2001 From: "David E. Jones" Date: Thu, 9 Sep 2010 04:35:26 +0000 Subject: [PATCH] Fixed two issues: renderDisplayField macro was missing the title attribute, implemented the multi-position single forms, for a maximum position of 2 anyway git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995313 13f79535-47bb-0310-9956-ffa450edef68 --- framework/widget/templates/foFormMacroLibrary.ftl | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/framework/widget/templates/foFormMacroLibrary.ftl b/framework/widget/templates/foFormMacroLibrary.ftl index a86af46b42..686dd7500e 100644 --- a/framework/widget/templates/foFormMacroLibrary.ftl +++ b/framework/widget/templates/foFormMacroLibrary.ftl @@ -43,7 +43,7 @@ under the License. <#macro renderField text><#if text?exists>${text} -<#macro renderDisplayField type imageLocation idName description class alert inPlaceEditorId="" inPlaceEditorUrl="" inPlaceEditorParams=""> +<#macro renderDisplayField type imageLocation idName description title class alert inPlaceEditorId="" inPlaceEditorUrl="" inPlaceEditorParams=""> <@makeBlock class description /> <#macro renderHyperlinkField> @@ -102,8 +102,7 @@ under the License. <#macro renderFormatItemRowFormCellOpen style> <#macro renderFormatItemRowFormCellClose> -<#-- TODO: multi columns (position attribute) in single forms are still not implemented --> -<#macro renderFormatSingleWrapperOpen formName style> +<#macro renderFormatSingleWrapperOpen formName style> <#macro renderFormatSingleWrapperClose formName> <#macro renderFormatFieldRowOpen> @@ -111,7 +110,7 @@ under the License. <#macro renderFormatFieldRowTitleCellOpen style> <#macro renderFormatFieldRowTitleCellClose> <#macro renderFormatFieldRowSpacerCell> -<#macro renderFormatFieldRowWidgetCellOpen positionSpan style> +<#macro renderFormatFieldRowWidgetCellOpen positionSpan style>number-columns-spanned="${positionSpan}"> <#macro renderFormatFieldRowWidgetCellClose> <#macro renderFormatEmptySpace>