[OFBiz] SVN: r7801 - trunk/applications/product/widget/catalog

sichen@svn.ofbiz.org sichen at svn.ofbiz.org
Thu Jun 15 18:29:21 CDT 2006


Author: sichen
Date: 2006-06-15 18:29:15 -0500 (Thu, 15 Jun 2006)
New Revision: 7801

Modified:
   trunk/applications/product/widget/catalog/CategoryScreens.xml
Log:
fixed bug where category attribute list was not constrained to the selected category

Modified: trunk/applications/product/widget/catalog/CategoryScreens.xml
===================================================================
--- trunk/applications/product/widget/catalog/CategoryScreens.xml	2006-06-15 21:30:03 UTC (rev 7800)
+++ trunk/applications/product/widget/catalog/CategoryScreens.xml	2006-06-15 23:29:15 UTC (rev 7801)
@@ -348,7 +348,9 @@
                 <set field="labelTitleProperty" value="CategoryAttributes"/>
                 <set field="productCategoryId" from-field="parameters.productCategoryId"/>
                 <entity-one entity-name="ProductCategory" value-name="productCategory"/>
-                <entity-condition entity-name="ProductCategoryAttribute" list-name="categoryAttributes"/>
+                <entity-condition entity-name="ProductCategoryAttribute" list-name="categoryAttributes">
+                    <condition-expr field-name="productCategoryId" env-name="productCategoryId"/>
+                </entity-condition>
             </actions>
             <widgets>
                 <decorator-screen name="CommonCategoryDecorator">



More information about the Svn mailing list