Author: jleroux
Date: Fri Apr 4 08:00:04 2014 New Revision: 1584552 URL: http://svn.apache.org/r1584552 Log: Complete r1583026, sequel of "Focus input(dropdown list) when click on label in widget form" https://issues.apache.org/jira/browse/OFBIZ-5594. Thanks to Wei Zhang's report Modified: ofbiz/trunk/framework/widget/templates/csvFormMacroLibrary.ftl ofbiz/trunk/framework/widget/templates/foFormMacroLibrary.ftl ofbiz/trunk/framework/widget/templates/textFormMacroLibrary.ftl ofbiz/trunk/framework/widget/templates/xmlFormMacroLibrary.ftl Modified: ofbiz/trunk/framework/widget/templates/csvFormMacroLibrary.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/templates/csvFormMacroLibrary.ftl?rev=1584552&r1=1584551&r2=1584552&view=diff ============================================================================== --- ofbiz/trunk/framework/widget/templates/csvFormMacroLibrary.ftl (original) +++ ofbiz/trunk/framework/widget/templates/csvFormMacroLibrary.ftl Fri Apr 4 08:00:04 2014 @@ -50,7 +50,7 @@ under the License. <#macro renderHiddenField name value id event action></#macro> <#macro renderIgnoredField></#macro> -<#macro renderFieldTitle style title id="" fieldHelpText=""><@renderField title />,</#macro> +<#macro renderFieldTitle style title id="" fieldHelpText="" for=""><@renderField title />,</#macro> <#macro renderSingleFormFieldTitle></#macro> <#macro renderFormOpen linkUrl formType targetWindow containerId containerStyle autocomplete name useRowSubmit></#macro> Modified: ofbiz/trunk/framework/widget/templates/foFormMacroLibrary.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/templates/foFormMacroLibrary.ftl?rev=1584552&r1=1584551&r2=1584552&view=diff ============================================================================== --- ofbiz/trunk/framework/widget/templates/foFormMacroLibrary.ftl (original) +++ ofbiz/trunk/framework/widget/templates/foFormMacroLibrary.ftl Fri Apr 4 08:00:04 2014 @@ -73,7 +73,7 @@ under the License. <#macro renderHiddenField name value id event action></#macro> <#macro renderIgnoredField></#macro> -<#macro renderFieldTitle style title id fieldHelpText="">${title?default("")?replace(" ", " ")}</#macro> +<#macro renderFieldTitle style title id fieldHelpText="" for="">${title?default("")?replace(" ", " ")}</#macro> <#macro renderSingleFormFieldTitle title>${title?default("")}</#macro> <#macro renderFormOpen linkUrl formType targetWindow containerId containerStyle autocomplete name viewIndexField viewSizeField viewIndex viewSize useRowSubmit></#macro> Modified: ofbiz/trunk/framework/widget/templates/textFormMacroLibrary.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/templates/textFormMacroLibrary.ftl?rev=1584552&r1=1584551&r2=1584552&view=diff ============================================================================== --- ofbiz/trunk/framework/widget/templates/textFormMacroLibrary.ftl (original) +++ ofbiz/trunk/framework/widget/templates/textFormMacroLibrary.ftl Fri Apr 4 08:00:04 2014 @@ -50,7 +50,7 @@ under the License. <#macro renderHiddenField name value id event action></#macro> <#macro renderIgnoredField></#macro> -<#macro renderFieldTitle style title id fieldHelpText=""><@renderField title /></#macro> +<#macro renderFieldTitle style title id fieldHelpText="" for=""><@renderField title /></#macro> <#macro renderSingleFormFieldTitle></#macro> <#macro renderFormOpen linkUrl formType targetWindow containerId containerStyle autocomplete name useRowSubmit></#macro> @@ -116,4 +116,4 @@ under the License. <#macro renderSortField style title linkUrl ajaxEnabled tooltip=""><@renderFieldTitle style title /></#macro> <#macro formatBoundaryComment boundaryType widgetType widgetName></#macro> <#macro makeHiddenFormLinkAnchor linkStyle hiddenFormName event action imgSrc description><@renderField description /></#macro> -<#macro makeHyperlinkString linkStyle hiddenFormName event action imgSrc alternate linkUrl targetWindow description><@renderField description /></#macro> \ No newline at end of file +<#macro makeHyperlinkString linkStyle hiddenFormName event action imgSrc alternate linkUrl targetWindow description><@renderField description /></#macro> Modified: ofbiz/trunk/framework/widget/templates/xmlFormMacroLibrary.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/templates/xmlFormMacroLibrary.ftl?rev=1584552&r1=1584551&r2=1584552&view=diff ============================================================================== --- ofbiz/trunk/framework/widget/templates/xmlFormMacroLibrary.ftl (original) +++ ofbiz/trunk/framework/widget/templates/xmlFormMacroLibrary.ftl Fri Apr 4 08:00:04 2014 @@ -58,7 +58,7 @@ under the License. <#macro renderHiddenField name value id event action></#macro> <#macro renderIgnoredField></#macro> -<#macro renderFieldTitle style title id fieldHelpText=""></#macro> +<#macro renderFieldTitle style title id fieldHelpText="" for=""></#macro> <#macro renderSingleFormFieldTitle title></#macro> <#macro renderFormOpen linkUrl formType targetWindow containerId containerStyle autocomplete name viewIndexField viewSizeField viewIndex viewSize useRowSubmit></#macro> |
Free forum by Nabble | Edit this page |