myportal component

Following best practice.
Changed location="org/ofbiz/......... to location="component:// in the service location attribute.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@755952 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2009-03-19 11:58:41 +00:00
parent 7d756a14d1
commit ff1dadc971
+3 -3
View File
@@ -23,7 +23,7 @@ under the License.
<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 @@ under the License.
<!-- 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>