ColdBox Forums Notification: Post to Coldspring datasource

Title: RE: Coldspring datasource
Thread: Coldspring datasource
Forum: Need Help?
Conference: ColdBox
User: tb

I REALLY appreciate your quick response. My parseValue() function in
BeanProperty.cfc is exactly the same as the one you posted. Any other thoughts
on that? I tried going the simple setting route and am still getting an error
(probably because I don't know the correct syntax).

in config.xml
[code]
<Setting name="dsn" value="myDSNName" />
[/code]

my DAO
[code]
<cfcomponent displayname="ChemicalDAO" hint="table ID column = ID">
<cffunction name="init" access="public" output="false" returntype="ChemicalDAO">
<cfargument name="dsn" type="string" required="true">
    <cfset variables.dsn
= arguments.dsn>
    <cfreturn this>
  </cffunction>
[/code]

How do I get
that string in coldspring.xml and pass it to the DAO object? I tried the
following but it doesn't seem to be working. Thanks again!

[code]
<bean
id="ChemicalDAO" class="Unify.model.Chemicals.Chemical.ChemicalDAO">
<constructor-arg name="dsn"><value>${dsn}</value></constructor-arg>
</bean>
[/code]

http://www.luismajano.com/forums/index.cfm?event=ehMessages.dspMessages&threadid=B9458AEC-FF65-CEF6-659832953E213F04