Tom

I realised that my problem was that I needed to reference my gateway cfc
(menusGateway) using the bean factory rather than calling the cfc
directly.

For example, it should be:

<cfset MenusGateway =
application.serviceFactory.getBean("MenusGateway")/>

Rather than accessing the object directly ala:

<cfset MenusGateway = Createobject("component",
"com.tq.utils.menu.MenusGateway") />

Yeah, you can call me stoopid.

So, given that we have to use the bean factory, could you give me an
example of how you would get Flex 2 to communicate with a Coldspring
injected CFC using RemoteObject and Cairngorm's ServiceLocator?  I just
can't see how it would work. 

Thanks

Nathan

-----Original Message-----
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Tom
Chiverton
Sent: Wednesday, 5 July 2006 6:04 PM
To: [email protected]
Subject: [coldspring-dev] Can't get it working :( And a Flex 2 question

On Wednesday 05 July 2006 08:30, Nathan Drury wrote:
> Hi
>
> First I will ask if Coldspring can be used with a CF backend that will
> be accessed via Flex 2 using remoting.  

Sure it can. 
ColdSpring is just a framework for organising things. You can build
anything 
with it :-)
We're doing the same as you, actually - ColdSpring and Reactor CFC-based

backend with Cairgorm2 powered Flex2 GUI.


>               <cfset variables.dsn = arguments.dsn.getDSN() />
.
> datasource="#variables.dsn.getDSN()#">

> So I thought I had it all set up properly, but it appears not.  Does
> anyone have any suggestions?

Do you mean to call this mysterious classes getDSN() function twice ?

-- 
Tom Chiverton

****************************************************

This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England
and Wales under registered number OC307980 whose registered office
address is at St James's Court Brown Street Manchester M2 2JF.  A list
of members is available for inspection at the registered office. Any
reference to a partner in relation to Halliwells LLP means a member of
Halliwells LLP. Regulated by the Law Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and
may be confidential or legally privileged.  If you are not the addressee
you must not read it and must not use any information contained in nor
copy it nor inform any person other than Halliwells LLP or the addressee
of its existence or contents.  If you have received this email in error
please delete it and notify Halliwells LLP IT Department on 0870 365
8008.

For more information about Halliwells LLP visit www.halliwells.com.





Reply via email to