You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2014/01/29 12:12:50 UTC

svn commit: r1562401 - /ofbiz/trunk/framework/common/webcommon/includes/htmlTemplate.ftl

Author: jleroux
Date: Wed Jan 29 11:12:50 2014
New Revision: 1562401

URL: http://svn.apache.org/r1562401
Log:
This can be removed, the same is done in renderLookupField macro in htmlFormMacroLibrary.ftl which is included above and called just below

Modified:
    ofbiz/trunk/framework/common/webcommon/includes/htmlTemplate.ftl

Modified: ofbiz/trunk/framework/common/webcommon/includes/htmlTemplate.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/webcommon/includes/htmlTemplate.ftl?rev=1562401&r1=1562400&r2=1562401&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/webcommon/includes/htmlTemplate.ftl (original)
+++ ofbiz/trunk/framework/common/webcommon/includes/htmlTemplate.ftl Wed Jan 29 11:12:50 2014
@@ -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>
\ No newline at end of file
+</#macro>