Author: ashish
Date: Tue Oct 13 09:52:15 2009 New Revision: 824655 URL: http://svn.apache.org/viewvc?rev=824655&view=rev Log: Applied patch from Awdesh Singh Parihar. Renamed the recently added service from "sendContactUsInfoEmailToCompany" to "sendContactUsEmailToCompany". As "info" word didn't look appropriate in service name - Thanks Vikas and Anil for providing your precious comment. Modified: ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml ofbiz/trunk/applications/party/servicedef/services.xml ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml Modified: ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml?rev=824655&r1=824654&r2=824655&view=diff ============================================================================== --- ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml (original) +++ ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml Tue Oct 13 09:52:15 2009 @@ -599,7 +599,7 @@ </if-compare-field> </simple-method> - <simple-method method-name="sendContactUsInfoEmailToCompany" short-description="Create communication event and send mail to company" login-required="false"> + <simple-method method-name="sendContactUsEmailToCompany" short-description="Create communication event and send mail to company" login-required="false"> <entity-one entity-name="UserLogin" value-field="systemUserLogin" auto-field-map="false"> <field-map field-name="userLoginId" value="system"/> </entity-one> Modified: ofbiz/trunk/applications/party/servicedef/services.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/servicedef/services.xml?rev=824655&r1=824654&r2=824655&view=diff ============================================================================== --- ofbiz/trunk/applications/party/servicedef/services.xml (original) +++ ofbiz/trunk/applications/party/servicedef/services.xml Tue Oct 13 09:52:15 2009 @@ -1292,8 +1292,8 @@ <attribute name="description" type="String" mode="OUT" optional="true"/> </service> - <service name="sendContactUsInfoEmailToCompany" engine="simple" - location="component://party/script/org/ofbiz/party/communication/CommunicationEventServices.xml" invoke="sendContactUsInfoEmailToCompany" auth="false"> + <service name="sendContactUsEmailToCompany" engine="simple" + location="component://party/script/org/ofbiz/party/communication/CommunicationEventServices.xml" invoke="sendContactUsEmailToCompany" auth="false"> <description>Create communication event and send mail to company</description> <implements service="createCommunicationEventWithoutPermission"/> <attribute name="emailAddress" type="String" mode="IN" optional="true"/> Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml?rev=824655&r1=824654&r2=824655&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml (original) +++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml Tue Oct 13 09:52:15 2009 @@ -1291,7 +1291,7 @@ </request-map> <request-map uri="submitAnonContact"> <security https="true" auth="false"/> - <event type="service" invoke="sendContactUsInfoEmailToCompany"/> + <event type="service" invoke="sendContactUsEmailToCompany"/> <response name="success" type="view" value="AnonContactus"/> <response name="error" type="view" value="AnonContactus"/> </request-map> |
Free forum by Nabble | Edit this page |