svn commit: r665989 - /ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/ContactMechServices.xml

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

svn commit: r665989 - /ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/ContactMechServices.xml

mor-2
Author: mor
Date: Mon Jun  9 23:26:57 2008
New Revision: 665989

URL: http://svn.apache.org/viewvc?rev=665989&view=rev
Log:
Code cleanup - map processor no more exists. Thanks Jyotsna Rathore for reporting.

Modified:
    ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/ContactMechServices.xml

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=665989&r1=665988&r2=665989&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 Mon Jun  9 23:26:57 2008
@@ -101,8 +101,6 @@
         </if-compare>                        
         <check-errors/>
         <make-value entity-name="PostalAddress" value-name="newValue"/>
-        <call-map-processor xml-resource="org/ofbiz/party/contact/ContactMechMapProcs.xml"
-            processor-name="contactMech" in-map-name="parameters" out-map-name="context"/>
         <set field="context.contactMechTypeId" value="POSTAL_ADDRESS"/>
         <call-service service-name="createContactMech" in-map-name="context">
             <default-message resource="PartyUiLabels" property="PartyPostalAddressSuccessfullyCreated"/>
@@ -135,8 +133,6 @@
         <find-by-primary-key entity-name="PostalAddress" map-name="newValue" value-name="oldValue" />
         <set-nonpk-fields map-name="parameters" value-name="newValue"/>
           
-        <call-map-processor xml-resource="org/ofbiz/party/contact/ContactMechMapProcs.xml"
-            processor-name="contactMech" in-map-name="parameters" out-map-name="context"/>
         <set field="context.contactMechTypeId" value="POSTAL_ADDRESS"/>
         
         <if-compare-field field-name="oldValue" to-field-name="newValue" operator="not-equals" type="Object">
@@ -168,8 +164,6 @@
     
     <simple-method method-name="createTelecomNumber" short-description="Create Contact Mechanism with Telecom Number">
         <make-value entity-name="TelecomNumber" value-name="newValue"/>
-        <call-map-processor xml-resource="org/ofbiz/party/contact/ContactMechMapProcs.xml"
-            processor-name="contactMech" in-map-name="parameters" out-map-name="context"/>
         <set field="context.contactMechTypeId" value="TELECOM_NUMBER"/>
         <call-service service-name="createContactMech" in-map-name="context">
             <default-message resource="PartyUiLabels" property="PartyTelecomNumberSuccessfullyCreated"/>
@@ -186,10 +180,6 @@
         <set-pk-fields value-name="newValue" map-name="parameters"/>
         <find-by-primary-key entity-name="TelecomNumber" map-name="newValue" value-name="oldValue" />
         <set-nonpk-fields map-name="parameters" value-name="newValue"/>
-        
-        
-        <call-map-processor xml-resource="org/ofbiz/party/contact/ContactMechMapProcs.xml"
-            processor-name="contactMech" in-map-name="parameters" out-map-name="context"/>
         <set field="context.contactMechTypeId" value="TELECOM_NUMBER"/>
         
         <if-compare-field field-name="oldValue" to-field-name="newValue" operator="not-equals" type="Object">