It's worse than that I will look at it tomorrow...
I took care to put in commits's comments the RegEx I used.
So it should not be too hard to revert to <<field-name="(.*)" 
map-name="(.*)>>...

Jacques

From: "Jacques Le Roux" <[email protected]>
Reverted in 740505 for now

Thanks to care (a bit tired...bed...)

Jacques

From: "David E Jones" <[email protected]>

Jacques,

Please see my other message right away! I think each of these is  breaking 
things...

-David


On Feb 3, 2009, at 3:42 PM, [email protected] wrote:

Author: jleroux
Date: Tue Feb  3 22:42:46 2009
New Revision: 740494

URL: http://svn.apache.org/viewvc?rev=740494&view=rev
Log:
Some more or less randow deprecated tags fixes

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=740494&r1=740493&r2=740494&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 22:42:46 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" request- name="newValue"/>
+        <field-to-request field="newValue.contactMechId"/>
        <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" request- 
name="newWorkEffortContactMech"/>
+        <field-to-request  field="newWorkEffortContactMech.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" request- name="newValue"/>
+        <field-to-request field="newValue.contactMechId"/>
        <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" request- name="newValue"/>
+        <field-to-request field="newValue.contactMechId"/>
        <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" request- name="newValue"/>
+        <field-to-request field="newValue.contactMechId"/>
        <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" request- name="newValue"/>
+        <field-to-request field="newValue.contactMechId"/>
        <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=740494&r1=740493&r2=740494&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 22:42:46 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="contentId" request-name="context"/>
+        <field-to-request field="context.contentId"/>
    </simple-method>
</simple-methods>





Reply via email to