svn commit: r741479 - in /ofbiz/trunk/applications: party/script/org/ofbiz/party/contact/ product/script/org/ofbiz/product/storage/ workeffort/script/org/ofbiz/workeffort/workeffort/

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

svn commit: r741479 - in /ofbiz/trunk/applications: party/script/org/ofbiz/party/contact/ product/script/org/ofbiz/product/storage/ workeffort/script/org/ofbiz/workeffort/workeffort/

jleroux@apache.org
Author: jleroux
Date: Fri Feb  6 09:07:11 2009
New Revision: 741479

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

Modified:
    ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.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/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=741479&r1=741478&r2=741479&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:07:11 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="newValue.contactMechId" result-name="contactMechId"/>
-        <field-to-request field="contactMechId" map-name="newValue"/>
+        <field-to-request field="newValue.contactMechId" request-name="contactMechId"/>
         <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="newPartyContactMech.contactMechId" request-name="contactMechId"/>
         <field-to-result field="newPartyContactMech.contactMechId" result-name="contactMechId"/>
     </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="newPartyContactMech.contactMechId" request-name="contactMechId"/>
         <field-to-result field="newPartyContactMech.contactMechId" result-name="contactMechId"/>                      
     </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="newPartyContactMech.contactMechId" request-name="contactMechId"/>
         <field-to-result field="newPartyContactMech.contactMechId" result-name="contactMechId"/>
     </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="newPartyContactMech.contactMechId" request-name="contactMechId"/>
         <field-to-result field="newPartyContactMech.contactMechId" result-name="contactMechId"/>                      
     </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=741479&r1=741478&r2=741479&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:07:11 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="newValue.contactMechId" result-name="contactMechId"/>
-        <field-to-request field="contactMechId" map-name="newValue"/>
+        <field-to-request field="newValue.contactMechId" request-name="contactMechId"/>
         <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="newFacilityContactMech.contactMechId" request-name="contactMechId"/>
         <field-to-result field="newFacilityContactMech.contactMechId" result-name="contactMechId"/>
     </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="newFacilityContactMech.contactMechId" request-name="contactMechId"/>
         <field-to-result field="newFacilityContactMech.contactMechId" result-name="contactMechId"/>
     </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="newFacilityContactMech.contactMechId" request-name="contactMechId"/>
         <field-to-result field="newFacilityContactMech.contactMechId" result-name="contactMechId"/>
     </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="newFacilityContactMech.contactMechId" request-name="contactMechId"/>
         <field-to-result field="newFacilityContactMech.contactMechId" result-name="contactMechId"/>
 
     </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=741479&r1=741478&r2=741479&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:07:11 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="newValue.contactMechId" result-name="contactMechId"/>
-        <field-to-request field="contactMechId" map-name="newValue"/>        
+        <field-to-request field="newValue.contactMechId" request-name="contactMechId"/>        
         <create-value value-field="newValue"/>
     </simple-method>
     
@@ -380,7 +380,7 @@
         </if-compare-field>
         
         <field-to-result field="newWorkEffortContactMech.contactMechId" result-name="contactMechId"/>
-        <field-to-request field="contactMechId" map-name="newWorkEffortContactMech"/>      
+        <field-to-request field="newWorkEffortContactMech.contactMechId" request-name="contactMechId"/>      
     </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="newValue.contactMechId" request-name="contactMechId"/>
         <field-to-result field="newValue.contactMechId" result-name="contactMechId"/>
     </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="newValue.contactMechId" request-name="contactMechId"/>
         <field-to-result field="newValue.contactMechId" result-name="contactMechId"/>                  
     </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="newValue.contactMechId" request-name="contactMechId"/>
         <field-to-result field="newValue.contactMechId" result-name="contactMechId"/>
     </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="newValue.contactMechId" request-name="contactMechId"/>
         <field-to-result field="newValue.contactMechId" result-name="contactMechId"/>                  
     </simple-method>