Author: jleroux
Date: Tue Aug 24 21:03:53 2010
New Revision: 988728
URL:
http://svn.apache.org/viewvc?rev=988728&view=revLog:
No functional changes only better description of getAssociatedProductsList service
Modified:
ofbiz/trunk/applications/product/script/org/ofbiz/product/category/CategoryServices.xml
ofbiz/trunk/applications/product/servicedef/services_view.xml
Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/category/CategoryServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/category/CategoryServices.xml?rev=988728&r1=988727&r2=988728&view=diff==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/category/CategoryServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/category/CategoryServices.xml Tue Aug 24 21:03:53 2010
@@ -82,6 +82,7 @@ under the License.
<check-errors/>
<entity-one entity-name="ProductCategory" value-field="lookedUpValue"/>
+ <log level="always" message="parameters=======================${parameters}"></log>
<!-- save this value before overwriting it so we can compare it later -->
<!-- <field-to-field field-name="primaryParentCategoryId" map-name="lookedUpValue" to-map-name="saveIdMap"/> -->
<set-nonpk-fields map="parameters" value-field="lookedUpValue"/>
@@ -842,7 +843,7 @@ under the License.
</simple-method>
<!-- To help dynamically populate a products dropdown given a product category id from a change in another dropdown, possibly sorted on sequenceNum -->
- <simple-method method-name="getAssociatedProductsList" short-description="Set the product options for selected product category" login-required="false">
+ <simple-method method-name="getAssociatedProductsList" short-description="Set the product options for selected product category, mostly used by getDependentDropdownValues.js" login-required="false">
<set field="parameters.categoryId" from-field="parameters.productCategoryId"/>
<set-service-fields service-name="getProductCategoryMembers" map="parameters" to-map="getProductCategoryMembersMap"/>
<call-service service-name="getProductCategoryMembers" in-map-name="getProductCategoryMembersMap">
Modified: ofbiz/trunk/applications/product/servicedef/services_view.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/services_view.xml?rev=988728&r1=988727&r2=988728&view=diff==============================================================================
--- ofbiz/trunk/applications/product/servicedef/services_view.xml (original)
+++ ofbiz/trunk/applications/product/servicedef/services_view.xml Tue Aug 24 21:03:53 2010
@@ -119,6 +119,7 @@ under the License.
<service name="getAssociatedProductsList" engine="simple" auth="false"
location="component://product/script/org/ofbiz/product/category/CategoryServices.xml" invoke="getAssociatedProductsList">
+ <description>Set the product options for selected product category, mostly used by getDependentDropdownValues.js</description>
<attribute name="productCategoryId" mode="IN" type="String" optional="false"/>
<attribute name="products" mode="OUT" type="java.util.List"/>
</service>