svn commit: r700013 - /ofbiz/trunk/specialpurpose/mypage/script/org/ofbiz/mypage/MyPageServices.xml

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

svn commit: r700013 - /ofbiz/trunk/specialpurpose/mypage/script/org/ofbiz/mypage/MyPageServices.xml

hansbak-2
Author: hansbak
Date: Mon Sep 29 00:39:50 2008
New Revision: 700013

URL: http://svn.apache.org/viewvc?rev=700013&view=rev
Log:
disable security to send cutomer request completed message

Modified:
    ofbiz/trunk/specialpurpose/mypage/script/org/ofbiz/mypage/MyPageServices.xml

Modified: ofbiz/trunk/specialpurpose/mypage/script/org/ofbiz/mypage/MyPageServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/mypage/script/org/ofbiz/mypage/MyPageServices.xml?rev=700013&r1=700012&r2=700013&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/mypage/script/org/ofbiz/mypage/MyPageServices.xml (original)
+++ ofbiz/trunk/specialpurpose/mypage/script/org/ofbiz/mypage/MyPageServices.xml Mon Sep 29 00:39:50 2008
@@ -100,6 +100,9 @@
                         <field-map field-name="productStoreId" env-name="storeEmail.productStoreId" />
                     </entity-and>
                     <first-from-list entry-name="webSite" list-name="webSites" />
+                    <entity-one entity-name="UserLogin" value-name="userLoginSystem">
+                        <field-map field-name="userLoginId" value="system"/>
+                    </entity-one>
                     <if-not-empty field="emailParams.sendTo">
                         <set field="bodyParameters.person" from-field="person"/>
                         <set field="bodyParameters.custRequest" from-field="custReq"/>
@@ -112,7 +115,8 @@
                         <set field="emailParams.contentType" value="text/html"/>
                         <set field="emailParams.bodyScreenUri" from-field="storeEmail.bodyScreenLocation"/>
                         <set field="emailParams.webSiteId" from-field="webSite.webSiteId"/>
-                        <call-service service-name="sendMailFromScreen" in-map-name="emailParams"/>
+                        <set field="emailParams.userLogin" from-field="userLoginSystem"/>
+                        <call-service service-name="sendMailFromScreen" in-map-name="emailParams" include-user-login="false"/>
                     </if-not-empty>
                 </if-not-empty>
             </then>