Mike, Please post your question to the coldspring-users google group - we are shutting this list off shortly. I don't want any answers to get "lost".
thanks, Dave On Nov 28, 2007 12:02 AM, Mike Kear <[EMAIL PROTECTED]> wrote: > Does anyone know where I should go looking for the source of this error > please? > > I'm having ColdSpring instantiate a DAO cfc, injecting a security service > into it using the <property tag in coldspring.xml. > > The error reads: > [quote] > Bean creation exception in esales.model.BankRec.SalesTransactionDetailDAO > You cannot use a variable reference with ".:" operators in this context. > [/quote] > > The coldspring.xml that relates to this cfc is : > > <bean id="SalesTransactionDetailDAO" > class="esales.model.BankRec.SalesTransactionDetailDAO"> > <property name="securityService"> > <ref bean="securityService" /> > </property> > </bean> > > > And the first few lines of the DAO read as follows: > > <cfcomponent displayname="SalesTransactionsDets DAO" output="false"> > <!--- Constructor ---> > <cffunction name="init" access="Public" > returntype="SalesTransactionDetailDAO" output="false" hint="Initialises the > DAO"> > <cfargument name="argsDSN" required="yes" default="newesales"/> > <cfset var variables.dsn = "newesales" /> > <cfreturn this /> > </cffunction> > > <cffunction name="securityService" access="public" output="false" > returntype="void" hint="Dependency: User Service"> > <cfargument name="securityService" > type="esales.model.security.SecurityService" required="true"/> > <cfset variables.securityService = arguments.securityService/> > </cffunction> > > ... etc etc > > > Does anyone see what I've got wrong? I don't see any unusual operators > anywhere in any part of the code that might cause the error. SO it's a bit > of a mystery to me. > > I've tried commenting out a many different things as I can think of to try > and isolate the line that's causing the problem, but haven't found it yet. > > Cheers > Mike Kear > Windsor, NSW, Australia > 0422 985 585 > Adobe Certified Advanced ColdFusion Developer > AFP Webworks Pty Ltd > http://afpwebworks.com > Full Scale ColdFusion hosting from A$15/month > > > > >
