Hi All,


I'm hitting a wall on a requirement for a Flex application which utilizes
the LCDS version included with ColdFusion.



I have the project setup to use DAO's, Assemblers and ValueObject (cfc's)
which I call from Flex via DataService implmentation and the fill(),
getItem(), etc... methods.



I need to setup my ColdFusion layer to access multiple datasources from the
same Flex application.  However, because of the way LCDS gets called from
Flex, it doesn't seem that Application or Session variables in ColdFusion
persist when I set them.  I was thinking I could just have the HTML (cfm)
wrapper page for my Flex application set that, but it is not recognized when
I go to make a fill or get call against the assembler.



I thought about passing the datasource as a parameter each time a call is
made, but while that would work when I initiate fill and get methods, the
sync methods are "invisible" and I wouldn't be able to append an argument to
them.



So my issue is... how do I go about having ColdFusion read a dynamic
variable to define it's datasource?





Thanks in advance for the help.





Brendan

-- 
Brendan Meutzner
http://www.meutzner.com/blog/
http://www.riajobs.com

Reply via email to