You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2009/02/04 23:08:33 UTC
svn commit: r740912 - in /ofbiz/trunk/applications:
content/script/org/ofbiz/content/content/
content/script/org/ofbiz/content/layout/
order/script/org/ofbiz/order/shoppinglist/
party/script/org/ofbiz/party/contact/ party/script/org/ofbiz/party/test/
Author: jleroux
Date: Wed Feb 4 22:08:33 2009
New Revision: 740912
URL: http://svn.apache.org/viewvc?rev=740912&view=rev
Log:
<map-to-map map-name="(.*)" to-map-name="(.*)"/>
<map-to-map to-map-name="(.*)" map-name="(.*)"/>
without -name
Modified:
ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentEvents.xml
ofbiz/trunk/applications/content/script/org/ofbiz/content/layout/LayoutEvents.xml
ofbiz/trunk/applications/order/script/org/ofbiz/order/shoppinglist/ShoppingListServices.xml
ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/ContactMechServices.xml
ofbiz/trunk/applications/party/script/org/ofbiz/party/test/PartyTestServices.xml
Modified: ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentEvents.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentEvents.xml?rev=740912&r1=740911&r2=740912&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentEvents.xml (original)
+++ ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentEvents.xml Wed Feb 4 22:08:33 2009
@@ -41,7 +41,7 @@
</process>
</simple-map-processor>
</call-map-processor>
- <map-to-map map-name="currentContent" to-map-name="context"/>
+ <map-to-map map="currentContent" to-map="context"/>
<log level="always" message="currentContent: ${currentContent}"/>
<log level="always" message="context: ${context}"/>
@@ -106,7 +106,7 @@
</simple-map-processor>
</call-map-processor>
<log level="always" message="datesConverted: ${datesConverted}"/>
- <map-to-map map-name="currentContent" to-map-name="context"/>
+ <map-to-map map="currentContent" to-map="context"/>
<get-related value-field="currentContent" relation-name="ContentPurpose" list="contentPurposeList"/>
<set field="context.contentPurposeList" from-field="contentPurposeList"/>
<string-to-list list="targetOperationList" string="CONTENT_UPDATE"/>
Modified: ofbiz/trunk/applications/content/script/org/ofbiz/content/layout/LayoutEvents.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/script/org/ofbiz/content/layout/LayoutEvents.xml?rev=740912&r1=740911&r2=740912&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/script/org/ofbiz/content/layout/LayoutEvents.xml (original)
+++ ofbiz/trunk/applications/content/script/org/ofbiz/content/layout/LayoutEvents.xml Wed Feb 4 22:08:33 2009
@@ -28,7 +28,7 @@
<make-value entity-name="Content" value-field="currentContent"/>
<set-pk-fields map="parameters" value-field="currentContent"/>
<set-nonpk-fields map="parameters" value-field="currentContent"/>
- <map-to-map map-name="currentContent" to-map-name="context"/>
+ <map-to-map map="currentContent" to-map="context"/>
<log level="always" message="context: ${context}"/>
<set field="context.contentPurposeTypeId" from-field="parameters.contentPurposeTypeId"/>
<string-to-list list="targetOperationList" string="CONTENT_CREATE"/>
Modified: ofbiz/trunk/applications/order/script/org/ofbiz/order/shoppinglist/ShoppingListServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/script/org/ofbiz/order/shoppinglist/ShoppingListServices.xml?rev=740912&r1=740911&r2=740912&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/script/org/ofbiz/order/shoppinglist/ShoppingListServices.xml (original)
+++ ofbiz/trunk/applications/order/script/org/ofbiz/order/shoppinglist/ShoppingListServices.xml Wed Feb 4 22:08:33 2009
@@ -221,7 +221,7 @@
<field-map field-name="productId" from-field="shoppingListItem.productId"/>
</entity-one>
- <map-to-map map-name="calcPriceInBaseMap" to-map-name="calcPriceInMap"/>
+ <map-to-map map="calcPriceInBaseMap" to-map="calcPriceInMap"/>
<set field="calcPriceInMap.product" from-field="product"/>
<set field="calcPriceInMap.quantity" from-field="shoppingListItem.quantity"/>
<call-service service-name="calculateProductPrice" in-map-name="calcPriceInMap">
@@ -242,7 +242,7 @@
<field-map field-name="partyId" from-field="userLogin.partyId"/>
</entity-and>
<iterate entry="childshoppingList" list="childshoppingLists">
- <map-to-map map-name="calcPriceInBaseMap" to-map-name="calcChildPriceInMap"/>
+ <map-to-map map="calcPriceInBaseMap" to-map="calcChildPriceInMap"/>
<set from-field="childshoppingList.shoppingListId" field="calcChildPriceInMap.shoppingListId"/>
<call-service service-name="calculateShoppingListDeepTotalPrice" in-map-name="calcChildPriceInMap">
<result-to-field result-name="totalPrice" field="calcPriceOutMap.totalPrice"/>
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=740912&r1=740911&r2=740912&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 Wed Feb 4 22:08:33 2009
@@ -287,7 +287,7 @@
<set field="emailParams.contentType" from-field="storeEmail.contentType"/>
<set field="emailParams.bodyParameters" from-field="bodyParameters"/>
<set field="emailParams.bodyScreenUri" from-field="storeEmail.bodyScreenLocation"/>
- <map-to-map to-map-name="emailParams.bodyParameters" map-name="bodyParameters"/>
+ <map-to-map to-map="emailParams.bodyParameters" map="bodyParameters"/>
<set field="emailParams.webSiteId" from-field="webSite.webSiteId"/>
<call-service service-name="sendMailFromScreen" in-map-name="emailParams"/>
</if-not-empty>
Modified: ofbiz/trunk/applications/party/script/org/ofbiz/party/test/PartyTestServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/test/PartyTestServices.xml?rev=740912&r1=740911&r2=740912&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/script/org/ofbiz/party/test/PartyTestServices.xml (original)
+++ ofbiz/trunk/applications/party/script/org/ofbiz/party/test/PartyTestServices.xml Wed Feb 4 22:08:33 2009
@@ -35,7 +35,7 @@
-->
<set field="searchParams.partyId" value="DemoCustomer"/>
<set field="searchParams.roleTypeId" value="CUSTOMER"/>
- <map-to-map map-name="searchParams" to-map-name="serviceCtx"/>
+ <map-to-map map="searchParams" to-map="serviceCtx"/>
<call-service service-name="findParty" in-map-name="serviceCtx">
<results-to-map map-name="partyList"/>
</call-service>