has any one receieved this error when using the Cairngorm
ServiceLocator?
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