of course!!!
Thanks. It's always something simple. I had commented that part out
when i was testing some stuff and I forgot to uncomment it.
- Kevin
On Jan 15, 2007, at 10:44 AM, <[EMAIL PROTECTED]> wrote:
Make sure you have:
<business:Services id=”serviceLocator” />
in your main Application file.
Jay Proulx
[EMAIL PROTECTED]
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin
Sent: January 15, 2007 9:26 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cairngorm ServiceLocator error
has any one receieved this error when using the
CairngormServiceLocator?
ReferenceError: Error #1069: Property myListService not found on
com.adobe.cairngorm.business.ServiceLocator and there is no default
value.
Here is my code:
(in Delegate file)
this.service = ServiceLocator.getInstance().getRemoteObject
("myListService");
(in Services.mxml)
<cairngorm:ServiceLocator
xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:cairngorm="com.adobe.cairngorm.business.*">
<mx:RemoteObject id="myListService" fault="faultHandler(event)"
showBusyCursor="true" destination="amfphp"
source="com.onefoot.dbocl.services.GetMyListService">
<mx:method name="getMyList"
result="resultHandler(event)" />
</mx:RemoteObject>
</cairngorm:ServiceLocator>
I am not sure where I am going wrong.
- Kevin