svn commit: r740505 - in /ofbiz/trunk: applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml specialpurpose/projectmgr/script/org/ofbiz/project/ProjectSimpleEvents.xml

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

svn commit: r740505 - in /ofbiz/trunk: applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml specialpurpose/projectmgr/script/org/ofbiz/project/ProjectSimpleEvents.xml

jleroux@apache.org
Author: jleroux
Date: Tue Feb  3 23:14:57 2009
New Revision: 740505

URL: http://svn.apache.org/viewvc?rev=740505&view=rev
Log:
Revert 740494

Modified:
    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/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=740505&r1=740504&r2=740505&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 Tue Feb  3 23:14:57 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="newValue.contactMechId"/>        
+        <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="newWorkEffortContactMech.contactMechId"/>      
+        <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="newValue.contactMechId"/>
+        <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="newValue.contactMechId"/>
+        <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="newValue.contactMechId"/>
+        <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="newValue.contactMechId"/>
+        <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=740505&r1=740504&r2=740505&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectSimpleEvents.xml (original)
+++ ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectSimpleEvents.xml Tue Feb  3 23:14:57 2009
@@ -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="context.contentId"/>
+        <field-to-request field="contentId" request-name="context"/>
     </simple-method>
 </simple-methods>