This can be removed, the same is done in renderLookupField macro in htmlFormMacroLibrary.ftl which is included above and called just below
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1562401 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -29,23 +29,11 @@ under the License.
|
||||
<#if (!id?has_content)>
|
||||
<#local id = Static["org.ofbiz.base.util.UtilHttp"].getNextUniqueId(request) />
|
||||
</#if>
|
||||
<#if (!ajaxUrl?has_content)>
|
||||
<#local ajaxUrl = requestAttributes._REQUEST_HANDLER_.makeLink(request, response, fieldFormName)/>
|
||||
<#local ajaxUrl = id + "," + ajaxUrl + ",ajaxLookup=Y" />
|
||||
</#if>
|
||||
<#if (!showDescription?has_content)>
|
||||
<#local showDescription = Static["org.ofbiz.base.util.UtilProperties"].getPropertyValue("widget.properties", "widget.lookup.showDescription", "N")>
|
||||
<#if "Y" == showDescription>
|
||||
<#local showDescription = "true" />
|
||||
<#else>
|
||||
<#local showDescription = "false" />
|
||||
</#if>
|
||||
</#if>
|
||||
<#if "true" == readonly>
|
||||
<#local readonly = true/>
|
||||
<#else>
|
||||
<#local readonly = false />
|
||||
</#if>
|
||||
<#if "true" == readonly>
|
||||
<#local readonly = true/>
|
||||
<#else>
|
||||
<#local readonly = false />
|
||||
</#if>
|
||||
<@renderLookupField name formName fieldFormName className alert value size maxlength id event action readonly autocomplete descriptionFieldName targetParameterIter imgSrc ajaxUrl ajaxEnabled presentation width height position fadeBackground clearText showDescription initiallyCollapsed/>
|
||||
</#macro>
|
||||
|
||||
@@ -75,4 +63,4 @@ under the License.
|
||||
</#if>
|
||||
</#if>
|
||||
<@renderNextPrev paginateStyle paginateFirstStyle viewIndex highIndex listSize viewSize ajaxEnabled javaScriptEnabled ajaxFirstUrl firstUrl uiLabelMap.CommonFirst paginatePreviousStyle ajaxPreviousUrl previousUrl uiLabelMap.CommonPrevious uiLabelMap.CommonPage ajaxSelectUrl selectUrl ajaxSelectSizeUrl selectSizeUrl commonDisplaying paginateNextStyle ajaxNextUrl nextUrl uiLabelMap.CommonNext paginateLastStyle ajaxLastUrl lastUrl uiLabelMap.CommonLast uiLabelMap.CommonItemsPerPage/>
|
||||
</#macro>
|
||||
</#macro>
|
||||
|
||||
Reference in New Issue
Block a user