Author: jaz
Date: Tue Feb 27 14:32:40 2007
New Revision: 512458
URL:
http://svn.apache.org/viewvc?view=rev&rev=512458Log:
added results-to-context for the new text route
Modified:
ofbiz/trunk/applications/content/servicedef/secas.xml
Modified: ofbiz/trunk/applications/content/servicedef/secas.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/servicedef/secas.xml?view=diff&rev=512458&r1=512457&r2=512458==============================================================================
--- ofbiz/trunk/applications/content/servicedef/secas.xml (original)
+++ ofbiz/trunk/applications/content/servicedef/secas.xml Tue Feb 27 14:32:40 2007
@@ -74,20 +74,20 @@
<eca service="createDataText" event="invoke">
<condition field-name="dataResourceTypeId" operator="equals" value="ELECTRONIC_TEXT"/>
<set field-name="dataResourceTypeId" value="ELECTRONIC_TEXT"/>
- <action service="createElectronicText" mode="sync"/>
+ <action service="createElectronicText" mode="sync" result-to-context="true"/>
</eca>
<eca service="createDataText" event="invoke">
<condition field-name="dataResourceTypeId" operator="not-equals" value="ELECTRONIC_TEXT"/>
<set field-name="dataResourceTypeId" value="SHORT_TEXT"/>
- <action service="createDataResource" mode="sync"/>
+ <action service="createDataResource" mode="sync" result-to-context="true"/>
</eca>
<eca service="updateDataText" event="invoke">
<condition field-name="dataResourceTypeId" operator="equals" value="ELECTRONIC_TEXT"/>
- <action service="updateElectronicText" mode="sync"/>
+ <action service="updateElectronicText" mode="sync" result-to-context="true"/>
</eca>
<eca service="updateDataText" event="invoke">
<condition field-name="dataResourceTypeId" operator="not-equals" value="ELECTRONIC_TEXT"/>
- <action service="updateDataResource" mode="sync"/>
+ <action service="updateDataResource" mode="sync" result-to-context="true"/>
</eca>
<!-- electronic text; needs dataResourceId -->