Author: sichen
Date: Wed Jan 17 09:34:57 2007
New Revision: 497094
URL: http://svn.apache.org/viewvc?view=rev&rev=497094
Log:
OFBIZ-628: Revert product category lookup change in EditProduct form. This is
a dropdown of categories that the product is associated with, not a lookup.
Thanks to Guido Amarilla for pointing this out.
Modified:
ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml
Modified:
ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml?view=diff&rev=497094&r1=497093&r2=497094
==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml
(original)
+++ ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml
Wed Jan 17 09:34:57 2007
@@ -47,7 +47,14 @@
</entity-options>
</drop-down>
</field>
- <field name="primaryProductCategoryId"
title="${uiLabelMap.ProductPrimaryCategory}"><lookup
target-form-name="LookupProductCategory"></lookup></field>
+ <field name="primaryProductCategoryId"
title="${uiLabelMap.ProductPrimaryCategory}" widget-style="selectBox">
+ <drop-down allow-empty="true">
+ <entity-options entity-name="ProductCategoryAndMember"
key-field-name="productCategoryId" description="${description}
[${productCategoryId}]">
+ <entity-constraint name="productId"
env-name="product.productId"/>
+ <entity-order-by field-name="description"/>
+ </entity-options>
+ </drop-down>
+ </field>
<field name="internalName"
title="${uiLabelMap.ProductInternalName}"><text size="30"
maxlength="60"/></field>
<field name="brandName" title="${uiLabelMap.ProductBrandName}" ><text
size="30" maxlength="60"/></field>