> Author: jleroux
> Date: Thu Apr 8 10:19:38 2010
> New Revision: 931854
>
> URL:
http://svn.apache.org/viewvc?rev=931854&view=rev> Log:
> Closes "Using Widgets html form templates in FTL files" (
https://issues.apache.org/jira/browse/OFBIZ-3541) - OFBIZ-3541
>
> This concerns the lookups which are now rendered the same in ftl files and widget forms
>
> Modified:
> ofbiz/trunk/applications/product/webapp/catalog/find/keywordsearchbox.ftl
>
> Modified: ofbiz/trunk/applications/product/webapp/catalog/find/keywordsearchbox.ftl
> URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/find/keywordsearchbox.ftl?rev=931854&r1=931853&r2=931854&view=diff> ==============================================================================
> --- ofbiz/trunk/applications/product/webapp/catalog/find/keywordsearchbox.ftl (original)
> +++ ofbiz/trunk/applications/product/webapp/catalog/find/keywordsearchbox.ftl Thu Apr 8 10:19:38 2010
> @@ -70,10 +69,9 @@ under the License.
> </form>
> <form name="productjumpform" id="productJumpForm" method="post" action="<@ofbizUrl>EditProduct</@ofbizUrl>">
> <fieldset>
> - <input type="text" name="productId" id="productJumpFormProductId" size="10" maxlength="20" value="${requestParameters.productId?if_exists}" />
> <input type="hidden" name="viewSize" value="20" />
> <input type="hidden" name="viewIndex" value="1" />
> - <a href="javascript:call_fieldlookup2($('productJumpFormProductId'),'LookupProduct');"><img src='/images/fieldlookup.gif' width='15' height='14' alt="${uiLabelMap.CommonClickHereForFieldLookup}" /></a>
> + <@htmlTemplate.lookupField value="${requestParameters.productId?if_exists}" formName="productjumpform" name="productId" id="productJumpFormProductId" fieldFormName="LookupProductCategory"/>
> <select name="DUMMYPAGE" id="dummyPage" onchange="submitProductJump()">
> <option value="<@ofbizUrl>EditProduct</@ofbizUrl>">-${uiLabelMap.ProductProductJump}-</option>
> <option value="<@ofbizUrl>EditProductQuickAdmin</@ofbizUrl>">${uiLabelMap.ProductQuickAdmin}</option>
>