[flexcoders] Cairngorm ServiceLocater Problem

2006-11-29 Thread sinacapho
Dear all, I am new to Cairngorm and for now i am writing a program using flex and i have decided to use Cairngorm. I have created subsection for each cairngorm state (business,Commands,Event). I have created sub folder in business for handling different service . But

Re: [flexcoders] Cairngorm ServiceLocater Problem

2006-11-29 Thread Douglas McCarroll
Capho, ServiceLocator is an implementation of the Singleton pattern which, in a nutshell, means that only one instance of the class should be created. Your code is somehow breaking this rule. Set a breakpoint in ServiceLocator.new() and ServiceLocator.getInstance() and run your app in debug

Re: [flexcoders] Cairngorm ServiceLocater Problem

2006-11-29 Thread Tom Chiverton
On Wednesday 29 November 2006 08:53, sinacapho wrote: application . It prompt and say that The ServiceLocater can only instantied once . What i can do? is that i need to put all the service in the business folder ? Post a couple of examples of your use of the ServiceLocator, and we'll see. --