Mike,
thanks for your response, but this isn't the problem...

As of Cairngorm 2.1, the getService() method is deprecated.
It has been replaced with getRemoteObject().

Cheers, Thomas

------------------------------------

  Thomas Rühl
  Design, Programming & Concepts

  akitogo OHG
  Hanauer Landstrasse 188
  60314 Frankfurt

  Telefon +49 (0) 69 800 69 445
  Fax     +49 (0) 69 800 69 449
  Mobil   +49 (0) 179 750 75 87
  E-Mail  [EMAIL PROTECTED]
  Web     http://www.akitogo.com

------------------------------------


[EMAIL PROTECTED] wrote:
> 
> 
> 
> Thomas,
> 
> In my delegates, I am using this syntax:
> 
> this.service = ServiceLocator.getInstance().getService( "testService" );
> 
> I note that you use getRemoteObject?
> 
> Just a thought ....
> 
> - mike
> 
> Thomas Rühl -akitogo- To: [email protected]
> <mailto:flexcoders%40yahoogroups.com>
> <[EMAIL PROTECTED] <mailto:thomas.ruehl%40akitogo.com>> cc:
> Sent by: Subject: [flexcoders] [Flex2, Cairngorm 2.1] Trouble
> [email protected] <mailto:flexcoders%40yahoogroups.com> with
> ServiceLocator
> 12/28/2006 06:40 AM
> Please respond to
> flexcoders
> 
> 
> Hello flexcoders,
> 
> I'm sort of stuck at the moment; I think, I'm missing something here...
> In my Services.mxml I configure a RemoteObject with the id 'testService':
> 
> <cairngorm:ServiceLocator xmlns:mx="http://www.adobe.com/2006/mxml
> <http://www.adobe.com/2006/mxml>"
> xmlns:cairngorm="com.adobe.cairngorm.business.*" >
> <mx:RemoteObject id="testService" destination="ColdFusion"
> source="some.path.to.cfc.StuffManagement" showBusyCursor="true" />
> </cairngorm:ServiceLocator>
> 
> I implemented a BusinessDelegate for testing, that should make use of
> the above:
> 
> ServiceLocator.getInstance().getRemoteObject("testService");
> 
> However, for some reason I don't see, this throws a reference error
> (property not found):
> 
> ReferenceError: Error #1069: Eigenschaft testService für
> com.adobe.cairngorm.business.ServiceLocator nicht gefunden und es ist
> kein Standardwert vorhanden. at
> com.adobe.cairngorm.business::ServiceLocator/::getServiceForId() at
> com.adobe.cairngorm.business::ServiceLocator/getRemoteObject() at
> customer.business::TestDelegate$iinit() at
> customer.commands::ApplicationStartupCommand/execute() at
> com.adobe.cairngorm.control::FrontController/com.adobe.cairngorm.control:FrontController::executeCommand()
> 
> at
> flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
> 
> at flash.events::EventDispatcher/dispatchEvent() at
> com.adobe.cairngorm.control::CairngormEventDispatcher/dispatchEvent() at
> customer.control::CustomerManagementController$iinit() at
> akibaseInternal_customerManagement$iinit() at
> mx.managers::SystemManager/create() at
> mx.managers::SystemManager/::initializeTopLevelWindow() at
> mx.managers::SystemManager/::frameEndHandler()
> 
> Any help please...?
> Cheers, Thomas
> 
> ------------------------------------
> 
> Thomas Rühl
> Design, Programming & Concepts
> 
> akitogo OHG
> Hanauer Landstrasse 188
> 60314 Frankfurt
> 
> Telefon +49 (0) 69 800 69 445
> Fax +49 (0) 69 800 69 449
> Mobil +49 (0) 179 750 75 87
> E-Mail [EMAIL PROTECTED] <mailto:thomas.ruehl%40akitogo.com>
> Web http://www.akitogo.com <http://www.akitogo.com>
> 
> ------------------------------------
> 
> 
> 
> 
> 
> ----------------------------------------------------------
> This e-mail message (including attachments, if any) is intended for the use
> of the individual or entity to which it is addressed and may contain
> information that is privileged, proprietary , confidential and exempt from
> disclosure. If you are not the intended recipient, you are notified that
> any dissemination, distribution or copying of this communication is
> strictly prohibited. If you have received this communication in error,
> please notify the sender and erase this e-mail message immediately.
> ----------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 

Reply via email to