Dev - <actions> oddity

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

Dev - <actions> oddity

Andrew Sykes
Hi,

I have noticed the following in an actions tag...

My actions tag calls two services one after the other, the two services
happen to have a parameter in common, although in the second service I
don't set it.

Oddly, although the parameter is not specified in a field-map for the
second service, it's being passed to the second service.

Is this expected or a bug?

The offending code is shown below, (byAnd is the problem parameter)
<service service-name="getValueFromList" result-map-name="result">
        <field-map field-name="list" env-name="categories" />
        <field-map field-name="byAnd" env-name="byAnd"/>
</service>
<set field="productCategoryId" from-
field="result.value.productCategoryId" />
<service service-name="getSubCategories" result-map-name="result2">
        <field-map field-name="parentProductCategoryId" env-
name="productCategoryId" />
</service>
--
Kind Regards
Andrew Sykes <[hidden email]>
Sykes Development Ltd
http://www.sykesdevelopment.com

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev