svn commit: r644588 - /ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r644588 - /ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml

hansbak-2
Author: hansbak
Date: Thu Apr  3 20:04:07 2008
New Revision: 644588

URL: http://svn.apache.org/viewvc?rev=644588&view=rev
Log:
show only feature interactions used on the product

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?rev=644588&r1=644587&r2=644588&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml (original)
+++ ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml Thu Apr  3 20:04:07 2008
@@ -1250,14 +1250,16 @@
         <field name="productId"><hidden/></field>
         <field name="productFeatureId" position="1">
             <drop-down allow-empty="true">
-                <entity-options description="${description} [${productFeatureId}]" entity-name="ProductFeature">
+                <entity-options description="${description} [${productFeatureId}]" entity-name="ProductFeatureAndAppl">
+                    <entity-constraint name="productId" env-name="parameters.productId"/>
                     <entity-order-by field-name="description"/>
                 </entity-options>
             </drop-down>
         </field>
         <field name="productFeatureIdTo" position="2">
             <drop-down allow-empty="true">
-                <entity-options description="${description} [${productFeatureId}]" entity-name="ProductFeature" key-field-name="productFeatureId">
+                <entity-options description="${description} [${productFeatureId}]" entity-name="ProductFeatureAndAppl" key-field-name="productFeatureId">
+                    <entity-constraint name="productId" env-name="parameters.productId"/>
                     <entity-order-by field-name="description"/>
                 </entity-options>
             </drop-down>