svn commit: r741487 - in /ofbiz/trunk/applications: ecommerce/script/org/ofbiz/ecommerce/customer/ ecommerce/script/org/ofbiz/ecommerce/misc/ order/script/org/ofbiz/order/customer/ order/script/org/ofbiz/order/request/ party/script/org/ofbiz/party/cont...

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

svn commit: r741487 - in /ofbiz/trunk/applications: ecommerce/script/org/ofbiz/ecommerce/customer/ ecommerce/script/org/ofbiz/ecommerce/misc/ order/script/org/ofbiz/order/customer/ order/script/org/ofbiz/order/request/ party/script/org/ofbiz/party/cont...

jleroux@apache.org
Author: jleroux
Date: Fri Feb  6 09:21:24 2009
New Revision: 741487

URL: http://svn.apache.org/viewvc?rev=741487&view=rev
Log:
<result-to-field result-name="(.*)" map.*="(.*)"/> => <result-to-field result-name="$1" field="$2.$1"/>

Modified:
    ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml
    ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/misc/AffiliateSimpleEvents.xml
    ofbiz/trunk/applications/order/script/org/ofbiz/order/customer/CustomerEvents.xml
    ofbiz/trunk/applications/order/script/org/ofbiz/order/request/CustRequestServices.xml
    ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/ContactMechServices.xml
    ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml
    ofbiz/trunk/applications/party/script/org/ofbiz/party/customer/CustomerEvents.xml
    ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartySimpleMethods.xml
    ofbiz/trunk/applications/party/script/org/ofbiz/party/user/UserEvents.xml
    ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductContentServices.xml
    ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml
    ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml

Modified: ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml?rev=741487&r1=741486&r2=741487&view=diff
==============================================================================
--- ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml (original)
+++ ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml Fri Feb  6 09:21:24 2009
@@ -289,7 +289,7 @@
         <set from-field="newUserLogin.currentPassword" field="personUserLoginContext.currentPasswordVerify"/>
         <!-- the above copy is okay since we checked already that they are the same -->
         <call-service service-name="createPersonAndUserLogin" in-map-name="personUserLoginContext">
-            <result-to-field result-name="partyId" map-name="tempMap"/>
+            <result-to-field result-name="partyId" field="tempMap.partyId"/>
             <result-to-field field="createdUserLogin" result-name="newUserLogin"/>
         </call-service>
         <set-current-user-login value-field="createdUserLogin"/>
@@ -314,7 +314,7 @@
             <!-- address not used, do nothing -->
             <else>
                 <call-service service-name="createPartyPostalAddress" in-map-name="addressContext">
-                    <result-to-field result-name="contactMechId" map-name="addressPurposeContext"/>
+                    <result-to-field result-name="contactMechId" field="addressPurposeContext.contactMechId"/>
                 </call-service>
                 <set from-field="tempMap.partyId" field="addressPurposeContext.partyId"/>
                 <!-- create the shipping location -->
@@ -329,7 +329,7 @@
         <!-- home phone -->
         <if-not-empty field="parameters.CUSTOMER_HOME_CONTACT">
             <call-service service-name="createPartyTelecomNumber" in-map-name="homePhoneContext">
-                <result-to-field result-name="contactMechId" map-name="homePhonePurposeContext"/>
+                <result-to-field result-name="contactMechId" field="homePhonePurposeContext.contactMechId"/>
             </call-service>
             <set from-field="tempMap.partyId" field="homePhonePurposeContext.partyId"/>
             <set value="PHONE_HOME" field="homePhonePurposeContext.contactMechPurposeTypeId"/>
@@ -341,7 +341,7 @@
         <!-- work phone -->
         <if-not-empty field="parameters.CUSTOMER_WORK_CONTACT">
             <call-service service-name="createPartyTelecomNumber" in-map-name="workPhoneContext">
-                <result-to-field result-name="contactMechId" map-name="workPhonePurposeContext"/>
+                <result-to-field result-name="contactMechId" field="workPhonePurposeContext.contactMechId"/>
             </call-service>
             <set from-field="tempMap.partyId" field="workPhonePurposeContext.partyId"/>
             <set value="PHONE_WORK" field="workPhonePurposeContext.contactMechPurposeTypeId"/>
@@ -351,7 +351,7 @@
         <!-- fax phone -->
         <if-not-empty field="parameters.CUSTOMER_FAX_CONTACT">
             <call-service service-name="createPartyTelecomNumber" in-map-name="faxPhoneContext">
-                <result-to-field result-name="contactMechId" map-name="faxPhonePurposeContext"/>
+                <result-to-field result-name="contactMechId" field="faxPhonePurposeContext.contactMechId"/>
             </call-service>
             <set from-field="tempMap.partyId" field="faxPhonePurposeContext.partyId"/>
             <set value="FAX_NUMBER" field="faxPhonePurposeContext.contactMechPurposeTypeId"/>
@@ -361,7 +361,7 @@
         <!-- mobile phone -->
         <if-not-empty field="parameters.CUSTOMER_MOBILE_CONTACT">
             <call-service service-name="createPartyTelecomNumber" in-map-name="mobilePhoneContext">
-                <result-to-field result-name="contactMechId" map-name="mobilePhonePurposeContext"/>
+                <result-to-field result-name="contactMechId" field="mobilePhonePurposeContext.contactMechId"/>
             </call-service>
             <set from-field="tempMap.partyId" field="mobilePhonePurposeContext.partyId"/>
             <set value="PHONE_MOBILE" field="mobilePhonePurposeContext.contactMechPurposeTypeId"/>
@@ -371,7 +371,7 @@
         <!-- email address -->
         <if-not-empty field="emailContext.emailAddress">
             <call-service service-name="createPartyEmailAddress" in-map-name="emailContext">
-                <result-to-field result-name="contactMechId" map-name="emailPurposeContext"/>
+                <result-to-field result-name="contactMechId" field="emailPurposeContext.contactMechId"/>
             </call-service>
             <set from-field="tempMap.partyId" field="emailPurposeContext.partyId"/>
             <set value="PRIMARY_EMAIL" field="emailPurposeContext.contactMechPurposeTypeId"/>
@@ -671,7 +671,7 @@
         
         <!-- call the create person service -->
         <call-service service-name="createPerson" in-map-name="personMap">
-            <result-to-field result-name="partyId" map-name="tempMap"/>
+            <result-to-field result-name="partyId" field="tempMap.partyId"/>
             <result-to-request result-name="partyId"/>
         </call-service>
         
@@ -761,13 +761,13 @@
             <call-service service-name="updatePartyPostalAddress" in-map-name="addressContext">
                 <!-- this is needed for the "anonymous" checkout process, will be used as the shipping address -->
                 <result-to-request result-name="contactMechId"/>
-                <result-to-field result-name="contactMechId" map-name="addressContext"/>
+                <result-to-field result-name="contactMechId" field="addressContext.contactMechId"/>
             </call-service>
             <else>
                 <set field="addressContext.partyId" from-field="partyId"/>
                 <call-service service-name="createPartyPostalAddress" in-map-name="addressContext">
-                    <result-to-field result-name="contactMechId" map-name="addressContext"/>
-                    <result-to-field result-name="contactMechId" map-name="addressPurposeContext"/>
+                    <result-to-field result-name="contactMechId" field="addressContext.contactMechId"/>
+                    <result-to-field result-name="contactMechId" field="addressPurposeContext.contactMechId"/>
                     <result-to-request result-name="contactMechId"/>
                 </call-service>
                 

Modified: ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/misc/AffiliateSimpleEvents.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/misc/AffiliateSimpleEvents.xml?rev=741487&r1=741486&r2=741487&view=diff
==============================================================================
--- ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/misc/AffiliateSimpleEvents.xml (original)
+++ ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/misc/AffiliateSimpleEvents.xml Fri Feb  6 09:21:24 2009
@@ -55,7 +55,7 @@
                 processor-name="newAffilPostal" in-map-name="parameters" out-map-name="pa_context"/>
         <check-errors/>
         <call-service service-name="createPostalAddress" in-map-name="pa_context">
-            <result-to-field result-name="contactMechId" map-name="parameters"/>
+            <result-to-field result-name="contactMechId" field="parameters.contactMechId"/>
         </call-service>
 
         <!-- Create the Postal Address Purpose -->
@@ -69,7 +69,7 @@
                 processor-name="newAffilPhone" in-map-name="parameters" out-map-name="ph_context"/>
         <check-errors/>
         <call-service service-name="createTelecomNumber" in-map-name="ph_context">
-            <result-to-field result-name="contactMechId" map-name="parameters"/>
+            <result-to-field result-name="contactMechId" field="parameters.contactMechId"/>
         </call-service>
 
         <!-- Create the Phone ContactMech Purpose -->
@@ -85,7 +85,7 @@
 
         <if-not-empty field="fax_context.contactNumber">
           <call-service service-name="createTelecomNumber" in-map-name="fax_context">
-              <result-to-field result-name="contactMechId" map-name="parameters"/>
+              <result-to-field result-name="contactMechId" field="parameters.contactMechId"/>
           </call-service>
         </if-not-empty>
 
@@ -102,7 +102,7 @@
                 processor-name="newAffilEmail" in-map-name="parameters" out-map-name="em_context"/>
         <check-errors/>
         <call-service service-name="createEmailAddress" in-map-name="em_context">
-            <result-to-field result-name="contactMechId" map-name="parameters"/>
+            <result-to-field result-name="contactMechId" field="parameters.contactMechId"/>
         </call-service>
 
         <!-- Create the Email ContactMech Purpose -->

Modified: ofbiz/trunk/applications/order/script/org/ofbiz/order/customer/CustomerEvents.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/script/org/ofbiz/order/customer/CustomerEvents.xml?rev=741487&r1=741486&r2=741487&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/script/org/ofbiz/order/customer/CustomerEvents.xml (original)
+++ ofbiz/trunk/applications/order/script/org/ofbiz/order/customer/CustomerEvents.xml Fri Feb  6 09:21:24 2009
@@ -206,7 +206,7 @@
             <if-compare field="parameters.useAddress" operator="equals" value="true">
                 <set from-field="partyId" field="addressContext.partyId"/>
                 <call-service service-name="createPartyPostalAddress" in-map-name="addressContext">
-                    <result-to-field result-name="contactMechId" map-name="addressPurposeContext"/>
+                    <result-to-field result-name="contactMechId" field="addressPurposeContext.contactMechId"/>
                     <result-to-request result-name="contactMechId"/>
                 </call-service>
                 <set from-field="tempMap.partyId" field="addressPurposeContext.partyId"/>
@@ -229,7 +229,7 @@
         
         <!-- call the create person service -->
         <call-service service-name="createPerson" in-map-name="personMap">
-            <result-to-field result-name="partyId" map-name="tempMap"/>
+            <result-to-field result-name="partyId" field="tempMap.partyId"/>
             <result-to-request result-name="partyId"/>
         </call-service>
         

Modified: ofbiz/trunk/applications/order/script/org/ofbiz/order/request/CustRequestServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/script/org/ofbiz/order/request/CustRequestServices.xml?rev=741487&r1=741486&r2=741487&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/script/org/ofbiz/order/request/CustRequestServices.xml (original)
+++ ofbiz/trunk/applications/order/script/org/ofbiz/order/request/CustRequestServices.xml Fri Feb  6 09:21:24 2009
@@ -252,7 +252,7 @@
         <set from-field="parameters.custRequestId" field="newEntity.custRequestId"/>
         <set from-field="parameters.noteInfo" field="newNoteMap.note"/>
         <call-service service-name="createNote" in-map-name="newNoteMap">
-            <result-to-field result-name="noteId" map-name="newEntity"/>
+            <result-to-field result-name="noteId" field="newEntity.noteId"/>
         </call-service>
         <create-value value-field="newEntity"/>
         <field-to-result field="newEntity.noteId" result-name="noteId"/>
@@ -271,7 +271,7 @@
         <set from-field="parameters.custRequestItemSeqId" field="newEntity.custRequestItemSeqId"/>
         <set from-field="parameters.note" field="newNoteMap.note"/>
         <call-service service-name="createNote" in-map-name="newNoteMap">
-            <result-to-field result-name="noteId" map-name="newEntity"/>
+            <result-to-field result-name="noteId" field="newEntity.noteId"/>
         </call-service>
         <create-value value-field="newEntity"/>
         <field-to-result field="newEntity.noteId" result-name="noteId"/>

Modified: ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/ContactMechServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/ContactMechServices.xml?rev=741487&r1=741486&r2=741487&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/ContactMechServices.xml (original)
+++ ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/ContactMechServices.xml Fri Feb  6 09:21:24 2009
@@ -72,7 +72,7 @@
             <set field="context.infoString" from-field="parameters.infoString"/>
             <call-service service-name="createContactMech" in-map-name="context">
                 <default-message resource="PartyUiLabels" property="${successMessageProperty}"/>
-                <result-to-field result-name="contactMechId" map-name="newValue"/>
+                <result-to-field result-name="contactMechId" field="newValue.contactMechId"/>
             </call-service>                                        
             <field-to-result field="newValue.contactMechId" result-name="contactMechId"/>
             <field-to-request field="newValue.contactMechId" request-name="contactMechId"/>
@@ -104,7 +104,7 @@
         <set field="context.contactMechTypeId" value="POSTAL_ADDRESS"/>
         <call-service service-name="createContactMech" in-map-name="context">
             <default-message resource="PartyUiLabels" property="PartyPostalAddressSuccessfullyCreated"/>
-            <result-to-field result-name="contactMechId" map-name="newValue"/>
+            <result-to-field result-name="contactMechId" field="newValue.contactMechId"/>
         </call-service>
         <set-nonpk-fields map="parameters" value-field="newValue"/>
         <create-value value-field="newValue"/>  
@@ -139,14 +139,14 @@
             <log level="info" message="Postal address need updating"/>
             <call-service service-name="createContactMech" in-map-name="context">
                 <default-message resource="PartyUiLabels" property="PartyPostalAddressSuccessfullyUpdated"/>
-                <result-to-field result-name="contactMechId" map-name="newValue"/>
+                <result-to-field result-name="contactMechId" field="newValue.contactMechId"/>
             </call-service>
             <create-value value-field="newValue"/>
             <else>
                 <set field="context.contactMechId" from-field="parameters.contactMechId"/>
                 <call-service service-name="updateContactMech" in-map-name="context">
                     <default-message resource="PartyUiLabels" property="PartyPostalAddressSuccessfullyUpdated"/>
-                    <result-to-field result-name="contactMechId" map-name="newValue"/>
+                    <result-to-field result-name="contactMechId" field="newValue.contactMechId"/>
                 </call-service>
                 <if-compare-field to-field="newValue.contactMechId" field="oldValue.contactMechId" operator="not-equals">
                     <log level="info" message="Postal address need updating, contact mech changed"/>
@@ -167,7 +167,7 @@
         <set field="context.contactMechTypeId" value="TELECOM_NUMBER"/>
         <call-service service-name="createContactMech" in-map-name="context">
             <default-message resource="PartyUiLabels" property="PartyTelecomNumberSuccessfullyCreated"/>
-            <result-to-field result-name="contactMechId" map-name="newValue"/>
+            <result-to-field result-name="contactMechId" field="newValue.contactMechId"/>
         </call-service>
         <set-nonpk-fields map="parameters" value-field="newValue"/>
         <create-value value-field="newValue"/>  
@@ -186,14 +186,14 @@
             <log level="info" message="Telecom number needs updating"/>
             <call-service service-name="createContactMech" in-map-name="context">
                 <default-message resource="PartyUiLabels" property="PartyTelecomNumberSuccessfullyUpdated"/>
-                <result-to-field result-name="contactMechId" map-name="newValue"/>
+                <result-to-field result-name="contactMechId" field="newValue.contactMechId"/>
             </call-service>
             <create-value value-field="newValue"/>
             <else>
                 <set field="context.contactMechId" from-field="parameters.contactMechId"/>
                 <call-service service-name="updateContactMech" in-map-name="context">
                     <default-message resource="PartyUiLabels" property="PartyTelecomNumberSuccessfullyUpdated"/>
-                    <result-to-field result-name="contactMechId" map-name="newValue"/>
+                    <result-to-field result-name="contactMechId" field="newValue.contactMechId"/>
                 </call-service>
                 <if-compare-field to-field="newValue.contactMechId" field="oldValue.contactMechId" operator="not-equals">
                     <log level="info" message="Telecom Number need updating, contact mech changed"/>

Modified: ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml?rev=741487&r1=741486&r2=741487&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml (original)
+++ ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml Fri Feb  6 09:21:24 2009
@@ -52,7 +52,7 @@
         <if-empty field="parameters.contactMechId">
             <set-service-fields service-name="createContactMech" map="parameters" to-map="createContactMechMap"/>
             <call-service service-name="createContactMech" in-map-name="createContactMechMap">
-                <result-to-field result-name="contactMechId" map-name="newValue"/>
+                <result-to-field result-name="contactMechId" field="newValue.contactMechId"/>
             </call-service>    
             <log level="info" message="ContactMech created"/>    
             <else>
@@ -93,7 +93,7 @@
             <set-service-fields service-name="updateContactMech" map="parameters" to-map="updateContactMechMap"/>
             <call-service service-name="updateContactMech" in-map-name="updateContactMechMap">
                 <default-message resource="PartyUiLabels" property="PartyContactMechanismSuccessfullyUpdated"/>
-                <result-to-field result-name="contactMechId" map-name="newPartyContactMech"/>
+                <result-to-field result-name="contactMechId" field="newPartyContactMech.contactMechId"/>
             </call-service>
             <else>
                 <set field="newPartyContactMech.contactMechId" from-field="parameters.newContactMechId"/>
@@ -161,7 +161,7 @@
         <set-service-fields service-name="createPostalAddress" map="parameters" to-map="createPostalAddressMap"/>
         <call-service in-map-name="createPostalAddressMap" service-name="createPostalAddress">
             <default-message resource="PartyUiLabels" property="PartyPostalAddressSuccessfullyCreated"/>
-            <result-to-field result-name="contactMechId" map-name="newPartyContactMech"/>
+            <result-to-field result-name="contactMechId" field="newPartyContactMech.contactMechId"/>
         </call-service>
 
         <check-errors/>
@@ -208,7 +208,7 @@
         <set-service-fields service-name="createTelecomNumber" map="parameters" to-map="createTelecomNumberMap"/>          
         <call-service in-map-name="createTelecomNumberMap" service-name="createTelecomNumber">
             <default-message resource="PartyUiLabels" property="PartyTelecomNumberSuccessfullyCreated"/>
-            <result-to-field result-name="contactMechId" map-name="newPartyContactMech"/>            
+            <result-to-field result-name="contactMechId" field="newPartyContactMech.contactMechId"/>            
         </call-service>
 
         <set-service-fields service-name="createPartyContactMech" map="parameters" to-map="createPartyContactMechMap"/>
@@ -293,7 +293,7 @@
         <set field="input.entityName" value="PartyAndContactMech"/>
         <set field="input.filterByDate" value="Y"/>
         <set field="input.inputFields.infoString" from-field="parameters.address"/>
-        <if-empty map-name="parameters" field-name="caseInsensitive">
+        <if-empty field="parameters.caseInsensitive">
             <call-bsh><![CDATA[
                 String caseInsensitiveEmail = org.ofbiz.base.util.UtilProperties.getPropertyValue("general.properties", "mail.address.caseInsensitive", "N");
                 parameters.put("caseInsensitive", caseInsensitiveEmail);

Modified: ofbiz/trunk/applications/party/script/org/ofbiz/party/customer/CustomerEvents.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/customer/CustomerEvents.xml?rev=741487&r1=741486&r2=741487&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/script/org/ofbiz/party/customer/CustomerEvents.xml (original)
+++ ofbiz/trunk/applications/party/script/org/ofbiz/party/customer/CustomerEvents.xml Fri Feb  6 09:21:24 2009
@@ -260,7 +260,7 @@
         <set field="personUserLoginContext.currentPasswordVerify" from-field="newUserLogin.currentPassword" />
         <!-- the above copy is okay since we checked already that they are the same -->
         <call-service service-name="createPersonAndUserLogin" in-map-name="personUserLoginContext">
-            <result-to-field result-name="partyId" map-name="tempMap"/>
+            <result-to-field result-name="partyId" field="tempMap.partyId"/>
             <result-to-field field="createdUserLogin" result-name="newUserLogin"/>
         </call-service>
         <set-current-user-login value-field="createdUserLogin"/>
@@ -285,7 +285,7 @@
             <!-- address not used, do nothing -->
             <else>
                 <call-service service-name="createPartyPostalAddress" in-map-name="addressContext">
-                    <result-to-field result-name="contactMechId" map-name="addressPurposeContext"/>
+                    <result-to-field result-name="contactMechId" field="addressPurposeContext.contactMechId"/>
                 </call-service>
                 <set field="addressPurposeContext.partyId" from-field="tempMap.partyId" />
                 <!-- create the shipping location -->
@@ -300,7 +300,7 @@
         <!-- home phone -->
         <if-not-empty field="parameters.CUSTOMER_HOME_CONTACT">
             <call-service service-name="createPartyTelecomNumber" in-map-name="homePhoneContext">
-                <result-to-field result-name="contactMechId" map-name="homePhonePurposeContext"/>
+                <result-to-field result-name="contactMechId" field="homePhonePurposeContext.contactMechId"/>
             </call-service>
             <set field="homePhonePurposeContext.partyId" from-field="tempMap.partyId" />
             <set field="homePhonePurposeContext.contactMechPurposeTypeId" value="PHONE_HOME" />
@@ -310,7 +310,7 @@
         <!-- work phone -->
         <if-not-empty field="parameters.CUSTOMER_WORK_CONTACT">
             <call-service service-name="createPartyTelecomNumber" in-map-name="workPhoneContext">
-                <result-to-field result-name="contactMechId" map-name="workPhonePurposeContext"/>
+                <result-to-field result-name="contactMechId" field="workPhonePurposeContext.contactMechId"/>
             </call-service>
             <set field="workPhonePurposeContext.partyId" from-field="tempMap.partyId" />
             <set field="workPhonePurposeContext.contactMechPurposeTypeId" value="PHONE_WORK" />
@@ -320,7 +320,7 @@
         <!-- fax phone -->
         <if-not-empty field="parameters.CUSTOMER_FAX_CONTACT">
             <call-service service-name="createPartyTelecomNumber" in-map-name="faxPhoneContext">
-                <result-to-field result-name="contactMechId" map-name="faxPhonePurposeContext"/>
+                <result-to-field result-name="contactMechId" field="faxPhonePurposeContext.contactMechId"/>
             </call-service>
             <set field="faxPhonePurposeContext.partyId" from-field="tempMap.partyId" />
             <set field="faxPhonePurposeContext.contactMechPurposeTypeId" value="FAX_NUMBER" />
@@ -330,7 +330,7 @@
         <!-- mobile phone -->
         <if-not-empty field="parameters.CUSTOMER_MOBILE_CONTACT">
             <call-service service-name="createPartyTelecomNumber" in-map-name="mobilePhoneContext">
-                <result-to-field result-name="contactMechId" map-name="mobilePhonePurposeContext"/>
+                <result-to-field result-name="contactMechId" field="mobilePhonePurposeContext.contactMechId"/>
             </call-service>
             <set field="mobilePhonePurposeContext.partyId" from-field="tempMap.partyId" />
             <set field="mobilePhonePurposeContext.contactMechPurposeTypeId" value="PHONE_MOBILE" />
@@ -339,7 +339,7 @@
 
         <!-- email address -->
         <call-service service-name="createPartyEmailAddress" in-map-name="emailContext">
-            <result-to-field result-name="contactMechId" map-name="emailPurposeContext"/>
+            <result-to-field result-name="contactMechId" field="emailPurposeContext.contactMechId"/>
         </call-service>
         <set field="emailPurposeContext.partyId" from-field="tempMap.partyId" />
         <set field="emailPurposeContext.contactMechPurposeTypeId" value="PRIMARY_EMAIL" />

Modified: ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartySimpleMethods.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartySimpleMethods.xml?rev=741487&r1=741486&r2=741487&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartySimpleMethods.xml (original)
+++ ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartySimpleMethods.xml Fri Feb  6 09:21:24 2009
@@ -77,7 +77,7 @@
 
         <set-service-fields service-name="createPerson" map-name="parameters" to-map-name="createPersonCtx"/>
         <call-service service-name="createPerson" in-map-name="createPersonCtx">
-            <result-to-field result-name="partyId" map-name="createUlInMap"/>
+            <result-to-field result-name="partyId" field="createUlInMap.partyId"/>
         </call-service>
 
         <!-- call the service with the system account to get around security constraints for this special create -->
@@ -186,7 +186,7 @@
         <set field="postalAddressContext.partyId" from-field="partyId"/>
         <set field="postalAddressContext.contactMechPurposeTypeId" value="GENERAL_LOCATION"/>
         <call-service service-name="createPartyPostalAddress" in-map-name="postalAddressContext">
-            <result-to-field result-name="contactMechId" map-name="postalAddressContext"/>
+            <result-to-field result-name="contactMechId" field="postalAddressContext.contactMechId"/>
         </call-service>
     
         <if-not-empty field="postalAddContactMechPurpTypeId">

Modified: ofbiz/trunk/applications/party/script/org/ofbiz/party/user/UserEvents.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/user/UserEvents.xml?rev=741487&r1=741486&r2=741487&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/script/org/ofbiz/party/user/UserEvents.xml (original)
+++ ofbiz/trunk/applications/party/script/org/ofbiz/party/user/UserEvents.xml Fri Feb  6 09:21:24 2009
@@ -293,7 +293,7 @@
         <check-errors/>
 
         <call-service service-name="createPerson" in-map-name="personContext">
-            <result-to-field result-name="partyId" map-name="tempMap"/>
+            <result-to-field result-name="partyId" field="tempMap.partyId"/>
         </call-service>
 
         <!-- now that we have the partyId, put it where it needs to go... -->
@@ -329,7 +329,7 @@
             <!-- address not used, do nothing -->
             <else>
                 <call-service service-name="createPartyPostalAddress" in-map-name="addressContext">
-                    <result-to-field result-name="contactMechId" map-name="addressPurposeContext"/>
+                    <result-to-field result-name="contactMechId" field="addressPurposeContext.contactMechId"/>
                 </call-service>
                 <set field="addressPurposeContext.partyId" from-field="tempMap.partyId" />
                 <!-- create the shipping location -->
@@ -344,7 +344,7 @@
         <!-- home phone -->
         <if-not-empty field="parameters.USER_HOME_CONTACT">
             <call-service service-name="createPartyTelecomNumber" in-map-name="homePhoneContext">
-                <result-to-field result-name="contactMechId" map-name="homePhonePurposeContext"/>
+                <result-to-field result-name="contactMechId" field="homePhonePurposeContext.contactMechId"/>
             </call-service>
             <set field="homePhonePurposeContext.partyId" from-field="tempMap.partyId" />
             <set field="homePhonePurposeContext.contactMechPurposeTypeId" value="PHONE_HOME" />
@@ -354,7 +354,7 @@
         <!-- work phone -->
         <if-not-empty field="parameters.USER_WORK_CONTACT">
             <call-service service-name="createPartyTelecomNumber" in-map-name="workPhoneContext">
-                <result-to-field result-name="contactMechId" map-name="workPhonePurposeContext"/>
+                <result-to-field result-name="contactMechId" field="workPhonePurposeContext.contactMechId"/>
             </call-service>
             <set field="workPhonePurposeContext.partyId" from-field="tempMap.partyId" />
             <set field="workPhonePurposeContext.contactMechPurposeTypeId" value="PHONE_WORK" />
@@ -364,7 +364,7 @@
         <!-- fax phone -->
         <if-not-empty field="parameters.USER_FAX_CONTACT">
             <call-service service-name="createPartyTelecomNumber" in-map-name="faxPhoneContext">
-                <result-to-field result-name="contactMechId" map-name="faxPhonePurposeContext"/>
+                <result-to-field result-name="contactMechId" field="faxPhonePurposeContext.contactMechId"/>
             </call-service>
             <set field="faxPhonePurposeContext.partyId" from-field="tempMap.partyId" />
             <set field="faxPhonePurposeContext.contactMechPurposeTypeId" value="FAX_NUMBER" />
@@ -374,7 +374,7 @@
         <!-- mobile phone -->
         <if-not-empty field="parameters.USER_MOBILE_CONTACT">
             <call-service service-name="createPartyTelecomNumber" in-map-name="mobilePhoneContext">
-                <result-to-field result-name="contactMechId" map-name="mobilePhonePurposeContext"/>
+                <result-to-field result-name="contactMechId" field="mobilePhonePurposeContext.contactMechId"/>
             </call-service>
             <set field="mobilePhonePurposeContext.partyId" from-field="tempMap.partyId" />
             <set field="mobilePhonePurposeContext.contactMechPurposeTypeId" value="PHONE_MOBILE" />
@@ -384,7 +384,7 @@
         <!-- email address -->
         <if-not-empty field="parameters.USER_EMAIL">
             <call-service service-name="createPartyEmailAddress" in-map-name="emailContext">
-                <result-to-field result-name="contactMechId" map-name="emailPurposeContext"/>
+                <result-to-field result-name="contactMechId" field="emailPurposeContext.contactMechId"/>
             </call-service>
             <set field="emailPurposeContext.partyId" from-field="tempMap.partyId" />
             <set field="emailPurposeContext.contactMechPurposeTypeId" value="PRIMARY_EMAIL" />

Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductContentServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductContentServices.xml?rev=741487&r1=741486&r2=741487&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductContentServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductContentServices.xml Fri Feb  6 09:21:24 2009
@@ -94,7 +94,7 @@
         <set-service-fields service-name="createProductContent" map="parameters" to-map="createProductContentMap"/>
         <set-service-fields service-name="createSimpleTextContent" map="parameters" to-map="createSimpleTextMap"/>
         <call-service service-name="createSimpleTextContent" in-map-name="createSimpleTextMap">
-            <result-to-field result-name="contentId" map-name="createProductContentMap"/>
+            <result-to-field result-name="contentId" field="createProductContentMap.contentId"/>
         </call-service>
         <call-service service-name="createProductContent" in-map-name="createProductContentMap"/>
     </simple-method>

Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml?rev=741487&r1=741486&r2=741487&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml Fri Feb  6 09:21:24 2009
@@ -32,7 +32,7 @@
             <set field="createContactMechMap.contactMechTypeId" from-field="parameters.contactMechTypeId" />
             <call-service service-name="createContactMech" in-map-name="createContactMechMap">
                 <default-message>Contact Mechanism successfully created.</default-message>
-                <result-to-field result-name="contactMechId" map-name="newValue"/>
+                <result-to-field result-name="contactMechId" field="newValue.contactMechId"/>
             </call-service>
             <log level="info" message="ContactMech created"/>
             <else>
@@ -77,7 +77,7 @@
             <call-service service-name="updateContactMech" in-map-name="updateContactMechMap">
                 <default-message>Contact Mechanism successfully updated.</default-message>
 
-                <result-to-field result-name="contactMechId" map-name="newFacilityContactMech"/>
+                <result-to-field result-name="contactMechId" field="newFacilityContactMech.contactMechId"/>
             </call-service>
             <else>
                 <set field="newFacilityContactMech.contactMechId" from-field="parameters.newContactMechId"/>
@@ -149,7 +149,7 @@
         <call-service in-map-name="createPostalAddressMap" service-name="createPostalAddress">
             <default-message>Postal Address successfully created</default-message>
 
-            <result-to-field result-name="contactMechId" map-name="newFacilityContactMech"/>
+            <result-to-field result-name="contactMechId" field="newFacilityContactMech.contactMechId"/>
         </call-service>
 
         <check-errors/>
@@ -197,7 +197,7 @@
         <call-service in-map-name="createTelecomNumberMap" service-name="createTelecomNumber">
             <default-message>Telecom number successfully created</default-message>
 
-            <result-to-field result-name="contactMechId" map-name="newFacilityContactMech"/>
+            <result-to-field result-name="contactMechId" field="newFacilityContactMech.contactMechId"/>
         </call-service>
 
         <set-service-fields service-name="createFacilityContactMech" map="parameters" to-map="createFacilityContactMechMap"/>

Modified: ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml?rev=741487&r1=741486&r2=741487&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml (original)
+++ ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml Fri Feb  6 09:21:24 2009
@@ -322,14 +322,14 @@
                 <set-service-fields service-name="createPartyContactMech" map="parameters" to-map="context"/>
                 <call-service service-name="createPartyContactMech" in-map-name="context">
                     <default-message>Party Contact Mechanism successfully created.</default-message>
-                    <result-to-field result-name="contactMechId" map-name="newValue"/>
+                    <result-to-field result-name="contactMechId" field="newValue.contactMechId"/>
                 </call-service>
                 <log level="info" message="Party ContactMech created"/>            
                 <else>
                     <set-service-fields service-name="createContactMech" map="parameters" to-map="context"/>
                     <call-service service-name="createContactMech" in-map-name="context">
                         <default-message>Contact Mechanism successfully created.</default-message>
-                        <result-to-field result-name="contactMechId" map-name="newValue"/>
+                        <result-to-field result-name="contactMechId" field="newValue.contactMechId"/>
                     </call-service>
                     <log level="info" message="ContactMech created"/>
                 </else>
@@ -366,7 +366,7 @@
             <log level="info" message="Calling generic updateContactMech method"/>
             <call-service service-name="updateContactMech" in-map-name="context">
                 <default-message>Contact Mechanism successfully updated.</default-message>
-                <result-to-field result-name="contactMechId" map-name="newWorkEffortContactMech"/>
+                <result-to-field result-name="contactMechId" field="newWorkEffortContactMech.contactMechId"/>
             </call-service>
             <else>
                 <set from-field="parameters.newContactMechId" field="newWorkEffortContactMech.contactMechId"/>
@@ -401,7 +401,7 @@
                 processor-name="postalAddress" in-map-name="parameters" out-map-name="context"/>
             <call-service service-name="createPartyPostalAddress" in-map-name="context">
                 <default-message>Party Contact Mechanism successfully created.</default-message>
-                <result-to-field result-name="contactMechId" map-name="newValue"/>
+                <result-to-field result-name="contactMechId" field="newValue.contactMechId"/>
             </call-service>
             <log level="info" message="Party ContactMech created"/>
             <else>
@@ -409,7 +409,7 @@
                     processor-name="postalAddress" in-map-name="parameters" out-map-name="context"/>        
                 <call-service in-map-name="context" service-name="createPostalAddress">
                     <default-message>Postal Address successfully created</default-message>
-                    <result-to-field result-name="contactMechId" map-name="newValue"/>            
+                    <result-to-field result-name="contactMechId" field="newValue.contactMechId"/>            
                 </call-service>
             </else>
         </if-not-empty>
@@ -453,7 +453,7 @@
                 processor-name="telecomNumber" in-map-name="parameters" out-map-name="context"/>
             <call-service service-name="createPartyTelecomNumber" in-map-name="context">
                 <default-message>Party Contact Mechanism successfully created.</default-message>
-                <result-to-field result-name="contactMechId" map-name="newValue"/>
+                <result-to-field result-name="contactMechId" field="newValue.contactMechId"/>
             </call-service>
             <log level="info" message="Party ContactMech created"/>
             <else>
@@ -461,7 +461,7 @@
                     processor-name="telecomNumber" in-map-name="parameters" out-map-name="context"/>        
                 <call-service in-map-name="context" service-name="createTelecomNumber">
                     <default-message>Telecom number successfully created</default-message>
-                    <result-to-field result-name="contactMechId" map-name="newValue"/>            
+                    <result-to-field result-name="contactMechId" field="newValue.contactMechId"/>            
                 </call-service>
             </else>
         </if-not-empty>