You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by as...@apache.org on 2016/06/04 09:19:16 UTC

svn commit: r1746796 - /ofbiz/trunk/applications/product/template/category/EditCategoryParties.ftl

Author: ashish
Date: Sat Jun  4 09:19:16 2016
New Revision: 1746796

URL: http://svn.apache.org/viewvc?rev=1746796&view=rev
Log:
Applied patch from jira issue - OFBIZ-7176 - Add lookup for party when associating party to category.
Thanks Ravi for the contribution.

Modified:
    ofbiz/trunk/applications/product/template/category/EditCategoryParties.ftl

Modified: ofbiz/trunk/applications/product/template/category/EditCategoryParties.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/template/category/EditCategoryParties.ftl?rev=1746796&r1=1746795&r2=1746796&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/template/category/EditCategoryParties.ftl (original)
+++ ofbiz/trunk/applications/product/template/category/EditCategoryParties.ftl Sat Jun  4 09:19:16 2016
@@ -86,7 +86,7 @@ under the License.
                     <td>
                         <form method="post" action="<@o...@ofbizUrl>" style="margin: 0;" name="addNewForm">
                             <input type="hidden" name="productCategoryId" value="${productCategoryId}" />
-                            <input type="text" size="20" maxlength="20" name="partyId" value="" />
+                            <@htmlTemplate.lookupField value="${parameters.partyId!}"  formName="addNewForm" name="partyId" id="partyId" fieldFormName="LookupPartyName"/>
                             <select name="roleTypeId" size="1">
                             <#list roleTypes as roleType>
                                 <option value="${(roleType.roleTypeId)!}" <#if roleType.roleTypeId.equals("_NA_")> selected="selected"</#if>>${(roleType.get("description",locale))!}</option>