Author: jleroux
Date: Thu Mar 19 11:58:41 2009
New Revision: 755952
URL:
http://svn.apache.org/viewvc?rev=755952&view=revLog:
myportal component
Following best practice.
Changed location="org/ofbiz/......... to location="component:// in the service location attribute.
Modified:
ofbiz/trunk/specialpurpose/myportal/servicedef/services.xml
Modified: ofbiz/trunk/specialpurpose/myportal/servicedef/services.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/myportal/servicedef/services.xml?rev=755952&r1=755951&r2=755952&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/myportal/servicedef/services.xml (original)
+++ ofbiz/trunk/specialpurpose/myportal/servicedef/services.xml Thu Mar 19 11:58:41 2009
@@ -23,7 +23,7 @@
<description>Project Manager service definitions.</description>
<service name="sendEmailToCustomer" engine="simple" auth="true" default-entity-name="CustRequest"
- location="org/ofbiz/myportal/MyPortalServices.xml" invoke="sendEmailToCustomer">
+ location="component://myportal/script/org/ofbiz/myportal/MyPortalServices.xml" invoke="sendEmailToCustomer">
<description>Send email to customer when customer request is Completed or Created. </description>
<attribute name="custRequestId" type="String" mode="IN"/>
<auto-attributes mode="IN" include="pk" optional="false"/>
@@ -32,11 +32,11 @@
<!-- check access in permission service -->
<service name="portalPermissionIsEmployee" engine="simple"
- location="org/ofbiz/myportal/MyPortalServices.xml" invoke="portalPermissionIsEmployee">
+ location="component://myportal/script/org/ofbiz/myportal/MyPortalServices.xml" invoke="portalPermissionIsEmployee">
<implements service="permissionInterface"/>
</service>
<service name="portalPermissionIsCustomer" engine="simple"
- location="org/ofbiz/myportal/MyPortalServices.xml" invoke="portalPermissionIsCustomer">
+ location="component://myportal/script/org/ofbiz/myportal/MyPortalServices.xml" invoke="portalPermissionIsCustomer">
<implements service="permissionInterface"/>
</service>
</services>