You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Scott Gray <sc...@hotwaxmedia.com> on 2010/05/05 02:42:27 UTC
Re: svn commit: r931854 [1/2] - in /ofbiz/trunk: applications/content/webapp/content/cms/ applications/content/webapp/content/survey/ applications/humanres/webapp/humanres/humanres/ applications/manufacturing/webapp/manufacturing/bom/ applications/manufact...
Hi Jacques,
As per Sharan's report on the user list, you've incorrectly changed the productId lookup target from LookupProduct to LookupProductCategory.
Regards
Scott
HotWax Media
http://www.hotwaxmedia.com
On 8/04/2010, at 10:19 PM, jleroux@apache.org wrote:
> 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="<@o...@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="<@o...@ofbizUrl>">-${uiLabelMap.ProductProductJump}-</option>
> <option value="<@o...@ofbizUrl>">${uiLabelMap.ProductQuickAdmin}</option>
>