svn commit: r740011 - in /ofbiz/trunk: applications/party/script/org/ofbiz/party/contact/ applications/party/script/org/ofbiz/party/customer/ applications/party/script/org/ofbiz/party/party/ applications/party/script/org/ofbiz/party/user/ applications/...

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

svn commit: r740011 - in /ofbiz/trunk: applications/party/script/org/ofbiz/party/contact/ applications/party/script/org/ofbiz/party/customer/ applications/party/script/org/ofbiz/party/party/ applications/party/script/org/ofbiz/party/user/ applications/...

jleroux@apache.org
Author: jleroux
Date: Mon Feb  2 15:39:53 2009
New Revision: 740011

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

Modified:
    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/PartySimpleEvents.xml
    ofbiz/trunk/applications/party/script/org/ofbiz/party/user/UserEvents.xml
    ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml
    ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml
    ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectSimpleEvents.xml

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=740011&r1=740010&r2=740011&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 Mon Feb  2 15:39:53 2009
@@ -62,7 +62,7 @@
         <log level="info" message="Creating a PartyContactMech with id: ${parameters.contactMechId}"/>
         <set field="newValue.partyId" from-field="parameters.partyId"/>
         <field-to-result field="contactMechId" result-name="newValue"/>
-        <field-to-request field="contactMechId" map-name="newValue"/>
+        <field-to-request field="contactMechId" request-name="newValue"/>
         <set-nonpk-fields map="parameters" value-field="newValue"/>
         <now-timestamp field="newValue.fromDate"/>
         <create-value value-field="newValue"/>
@@ -172,7 +172,7 @@
         <call-service service-name="createPartyContactMech" in-map-name="createPartyContactMechMap" break-on-error="true">
             <default-message resource="PartyUiLabels" property="PartyPostalAddressSuccessfullyCreated"/>
         </call-service>
-        <field-to-request field="contactMechId" map-name="newPartyContactMech"/>
+        <field-to-request field="contactMechId" request-name="newPartyContactMech"/>
         <field-to-result field="contactMechId" result-name="newPartyContactMech"/>
     </simple-method>
     
@@ -195,7 +195,7 @@
         <call-service service-name="updatePartyContactMech" in-map-name="updatePartyContactMechMap">
             <default-message resource="PartyUiLabels" property="PartyPostalAddressSuccessfullyUpdated"/>
         </call-service>
-        <field-to-request field="contactMechId" map-name="newPartyContactMech"/>
+        <field-to-request field="contactMechId" request-name="newPartyContactMech"/>
         <field-to-result field="contactMechId" result-name="newPartyContactMech"/>                      
     </simple-method>
 
@@ -219,7 +219,7 @@
         <call-service service-name="createPartyContactMech" in-map-name="createPartyContactMechMap" break-on-error="true">
             <default-message resource="PartyUiLabels" property="PartyTelecomNumberSuccessfullyCreated"/>
         </call-service>
-        <field-to-request field="contactMechId" map-name="newPartyContactMech"/>
+        <field-to-request field="contactMechId" request-name="newPartyContactMech"/>
         <field-to-result field="contactMechId" result-name="newPartyContactMech"/>
     </simple-method>
     
@@ -244,7 +244,7 @@
             <default-message resource="PartyUiLabels" property="PartyTelecomNumberSuccessfullyUpdated"/>
         </call-service>
         <log level="info" message="Setting result id: ${newPartyContactMech.contactMechId}"/>
-        <field-to-request field="contactMechId" map-name="newPartyContactMech"/>
+        <field-to-request field="contactMechId" request-name="newPartyContactMech"/>
         <field-to-result field="contactMechId" result-name="newPartyContactMech"/>                      
     </simple-method>  
     

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=740011&r1=740010&r2=740011&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 Mon Feb  2 15:39:53 2009
@@ -345,7 +345,7 @@
         <call-service service-name="createPartyContactMechPurpose" in-map-name="emailPurposeContext"/>
 
         <!-- set the partyId in the request -->
-        <field-to-request field="partyId" map-name="tempMap" request-name="partyId"/>
+        <field-to-request field="partyId" request-name="tempMap" request-name="partyId"/>
 
     </simple-method>
 </simple-methods>

Modified: ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartySimpleEvents.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartySimpleEvents.xml?rev=740011&r1=740010&r2=740011&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartySimpleEvents.xml (original)
+++ ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartySimpleEvents.xml Mon Feb  2 15:39:53 2009
@@ -97,7 +97,7 @@
             <result-to-field result-name="contentId" field="contentId"/>    
         </call-service>  
         <!-- set the partyId in the request -->
-        <field-to-request field="partyId" map-name="formInput.formInput" request-name="partyId"/>
+        <field-to-request field="partyId" request-name="formInput.formInput" request-name="partyId"/>
         <field-to-request field="contentId" request-name="contentId"/>
     </simple-method>
     <!-- Update party content -->
@@ -123,7 +123,7 @@
             <result-to-field result-name="contentId" field="contentId"/>    
          </call-service>  
         <!-- set the partyId in the request -->
-        <field-to-request field="partyId" map-name="formInput.formInput" request-name="partyId"/>
+        <field-to-request field="partyId" request-name="formInput.formInput" request-name="partyId"/>
         <field-to-request field="contentId" request-name="contentId"/>
     </simple-method>
     

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=740011&r1=740010&r2=740011&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 Mon Feb  2 15:39:53 2009
@@ -391,7 +391,7 @@
             <call-service service-name="createPartyContactMechPurpose" in-map-name="emailPurposeContext"/>
         </if-not-empty>
         <!-- set the partyId in the request -->
-        <field-to-request field="partyId" map-name="tempMap" request-name="partyId"/>
+        <field-to-request field="partyId" request-name="tempMap" request-name="partyId"/>
 
         <!--send New User Email Notification-->
         <set field="emailContext.partyId" from-field="partyId"/>

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=740011&r1=740010&r2=740011&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 Mon Feb  2 15:39:53 2009
@@ -42,7 +42,7 @@
         <log level="info" message="Creating a FacilityContactMech with id: ${parameters.contactMechId}"/>
         <set field="newValue.facilityId" from-field="parameters.facilityId" />
         <field-to-result field="contactMechId" result-name="newValue"/>
-        <field-to-request field="contactMechId" map-name="newValue"/>
+        <field-to-request field="contactMechId" request-name="newValue"/>
         <set-nonpk-fields map="parameters" value-field="newValue"/>
         <now-timestamp field="newValue.fromDate"/>
 
@@ -161,7 +161,7 @@
             <default-message>Facility Contact Mechanism successfully created</default-message>
 
         </call-service>
-        <field-to-request field="contactMechId" map-name="newFacilityContactMech"/>
+        <field-to-request field="contactMechId" request-name="newFacilityContactMech"/>
         <field-to-result field="contactMechId" result-name="newFacilityContactMech"/>
     </simple-method>
 
@@ -184,7 +184,7 @@
         <call-service service-name="updateFacilityContactMech" in-map-name="updateFacilityContactMechMap">
             <default-message>Facility Contact Mechanism successfully updated</default-message>
         </call-service>
-        <field-to-request field="contactMechId" map-name="newFacilityContactMech"/>
+        <field-to-request field="contactMechId" request-name="newFacilityContactMech"/>
         <field-to-result field="contactMechId" result-name="newFacilityContactMech"/>
     </simple-method>
 
@@ -208,7 +208,7 @@
             <default-message>Facility Contact Mechanism successfully created</default-message>
 
         </call-service>
-        <field-to-request field="contactMechId" map-name="newFacilityContactMech"/>
+        <field-to-request field="contactMechId" request-name="newFacilityContactMech"/>
         <field-to-result field="contactMechId" result-name="newFacilityContactMech"/>
     </simple-method>
 
@@ -233,7 +233,7 @@
             <default-message>Facility Contact Mechanism successfully updated</default-message>
         </call-service>
         <log level="info" message="Setting result id: ${newFacilityContactMech.contactMechId}"/>
-        <field-to-request field="contactMechId" map-name="newFacilityContactMech"/>
+        <field-to-request field="contactMechId" request-name="newFacilityContactMech"/>
         <field-to-result field="contactMechId" result-name="newFacilityContactMech"/>
 
     </simple-method>

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=740011&r1=740010&r2=740011&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 Mon Feb  2 15:39:53 2009
@@ -342,7 +342,7 @@
         <set from-field="parameters.workEffortId" field="newValue.workEffortId"/>
         <set-nonpk-fields map="parameters" value-field="newValue"/>
         <field-to-result field="contactMechId" result-name="newValue"/>
-        <field-to-request field="contactMechId" map-name="newValue"/>        
+        <field-to-request field="contactMechId" request-name="newValue"/>        
         <create-value value-field="newValue"/>
     </simple-method>
     
@@ -380,7 +380,7 @@
         </if-compare-field>
         
         <field-to-result field="contactMechId" result-name="newWorkEffortContactMech"/>
-        <field-to-request field="contactMechId" map-name="newWorkEffortContactMech"/>      
+        <field-to-request field="contactMechId" request-name="newWorkEffortContactMech"/>      
     </simple-method>    
     
     <simple-method method-name="deleteWorkEffortContactMech" short-description="Delete a WorkEffortContactMech">
@@ -421,7 +421,7 @@
         <call-service in-map-name="context2" break-on-error="true" service-name="createWorkEffortContactMech">
             <default-message>WorkEffort Contact Mechanism successfully created</default-message>      
         </call-service>
-        <field-to-request field="contactMechId" map-name="newValue"/>
+        <field-to-request field="contactMechId" request-name="newValue"/>
         <field-to-result field="contactMechId" result-name="newValue"/>
     </simple-method>
     
@@ -441,7 +441,7 @@
         <call-service in-map-name="context2" service-name="updateWorkEffortContactMech">
             <default-message>WorkEffort Contact Mechanism successfully updated</default-message>      
         </call-service>
-        <field-to-request field="contactMechId" map-name="newValue"/>
+        <field-to-request field="contactMechId" request-name="newValue"/>
         <field-to-result field="contactMechId" result-name="newValue"/>                  
     </simple-method>
     
@@ -472,7 +472,7 @@
         <call-service in-map-name="context2" break-on-error="true" service-name="createWorkEffortContactMech">
             <default-message>WorkEffort Contact Mechanism successfully created</default-message>      
         </call-service>
-        <field-to-request field="contactMechId" map-name="newValue"/>
+        <field-to-request field="contactMechId" request-name="newValue"/>
         <field-to-result field="contactMechId" result-name="newValue"/>
     </simple-method>
     
@@ -494,7 +494,7 @@
             <default-message>Party Contact Mechanism successfully updated</default-message>      
         </call-service>
         <log level="info" message="Setting result id: ${newValue.contactMechId}"/>
-        <field-to-request field="contactMechId" map-name="newValue"/>
+        <field-to-request field="contactMechId" request-name="newValue"/>
         <field-to-result field="contactMechId" result-name="newValue"/>                  
     </simple-method>  
     

Modified: ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectSimpleEvents.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectSimpleEvents.xml?rev=740011&r1=740010&r2=740011&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectSimpleEvents.xml (original)
+++ ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectSimpleEvents.xml Mon Feb  2 15:39:53 2009
@@ -141,8 +141,8 @@
             <result-to-field result-name="contentId" field="contentId"/>
         </call-service>
         <!-- set the partyId in the request -->
-        <field-to-request field="workEffortId" map-name="context" request-name="workEffortId"/>
-        <field-to-request field="projectId" map-name="context" request-name="projectId"/>
+        <field-to-request field="workEffortId" request-name="context" request-name="workEffortId"/>
+        <field-to-request field="projectId" request-name="context" request-name="projectId"/>
         <field-to-request field="contentId" request-name="contentId"/>
     </simple-method>
     
@@ -178,6 +178,6 @@
         <!-- set the partyId in the request -->
         <field-to-request field="workEffortId" request-name="workEffortId"/>
         <field-to-request field="projectId" request-name="projectId"/>
-        <field-to-request field="contentId" map-name="context"/>
+        <field-to-request field="contentId" request-name="context"/>
     </simple-method>
 </simple-methods>