Author: jacopoc
Date: Sat Oct 21 08:37:01 2006 New Revision: 466414 URL: http://svn.apache.org/viewvc?view=rev&rev=466414 Log: converted deprecated minilang operations to the set operation. Modified: incubator/ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml incubator/ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/misc/AffiliateSimpleEvents.xml Modified: incubator/ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml?view=diff&rev=466414&r1=466413&r2=466414 ============================================================================== --- incubator/ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml (original) +++ incubator/ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml Sat Oct 21 08:37:01 2006 @@ -270,7 +270,7 @@ <!-- create the PartyDataSource entry to track where this info came from... --> <make-value entity-name="PartyDataSource" value-name="partyDataSource"/> <set value="ECOMMERCE_SITE" field="partyDataSource.dataSourceId"/> - <env-to-field env-name="nowStamp" field-name="partyDataSource.fromDate"/> + <set from-field="nowStamp" field="partyDataSource.fromDate"/> <set value="Y" field="partyDataSource.isCreate"/> <!-- get the visit from the session to get the visitId --> <session-to-field field-name="visit"/> @@ -406,8 +406,8 @@ <if-not-empty field-name="bodyScreenLocation" map-name="storeEmail"> <!-- prepare the email context --> <get-related-one value-name="createdUserLogin" relation-name="Person" to-value-name="personObj"/> - <env-to-field env-name="createdUserLogin" field-name="userLogin" map-name="emailCtx"/> - <env-to-field env-name="personObj" field-name="person" map-name="emailCtx"/> + <set from-field="createdUserLogin" field="emailCtx.userLogin"/> + <set from-field="personObj" field="emailCtx.person"/> <!-- prepare the notification service context --> <set from-field="emailContext.emailAddress" field="notifyCtx.sendTo"/> <set from-field="storeEmail.subject" field="notifyCtx.subject"/> @@ -416,7 +416,7 @@ <set from-field="storeEmail.bccAddress" field="notifyCtx.sendBcc"/> <set from-field="storeEmail.contentType" field="notifyCtx.contentType"/> <set from-field="storeEmail.bodyScreenLocation" field="notifyCtx.templateName"/> - <env-to-field env-name="emailCtx" field-name="notifyCtx.templateData"/> + <set from-field="emailCtx" field="notifyCtx.templateData"/> <!-- call the service async --> <call-service-asynch service-name="sendGenericNotificationEmail" in-map-name="notifyCtx" include-user-login="true"/> </if-not-empty> Modified: incubator/ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/misc/AffiliateSimpleEvents.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/misc/AffiliateSimpleEvents.xml?view=diff&rev=466414&r1=466413&r2=466414 ============================================================================== --- incubator/ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/misc/AffiliateSimpleEvents.xml (original) +++ incubator/ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/misc/AffiliateSimpleEvents.xml Sat Oct 21 08:37:01 2006 @@ -27,10 +27,10 @@ processor-name="newAffilUser" in-map-name="parameters" out-map-name="ul_context"/> <check-errors/> <call-service service-name="createUserLogin" in-map-name="ul_context"/> - <field-to-field field-name="userLoginId" map-name="ul_context" to-map-name="newUserLoginMap"/> - <field-to-field field-name="currentPassword" map-name="ul_context" to-map-name="newUserLoginMap"/> - <field-to-field field-name="passwordHint" map-name="ul_context" to-map-name="newUserLoginMap"/> - <field-to-field field-name="partyId" map-name="ul_context" to-map-name="newUserLoginMap"/> + <set from-field="ul_context.userLoginId" field="newUserLoginMap.userLoginId"/> + <set from-field="ul_context.currentPassword" field="newUserLoginMap.currentPassword"/> + <set from-field="ul_context.passwordHint" field="newUserLoginMap.passwordHint"/> + <set from-field="ul_context.partyId" field="newUserLoginMap.partyId"/> <make-value entity-name="UserLogin" map-name="newUserLoginMap" value-name="newUserLogin"/> <set-current-user-login value-name="newUserLogin"/> |
Free forum by Nabble | Edit this page |