What am I missing? Need an extra set of eyes.. I've created hundreds
of CFCs.. not sure what I'm missing here..
<cfset foo = createobject("component",
"com.foosite.sponsorLevel.sponsorLevelDAO").init(DSN =
application.DSN) />
I get "The value returned from the init function is not of type
com.foosite.sponsorLevel.sponsorLevelDAO."
<cffunction name="init" access="public" output="false"
returntype="com.foosite.sponsorLevel.sponsorLevelDAO">
<cfargument name="dsn" type="string" required="true">
<cfset variables.dsn = arguments.dsn>
<cfreturn this>
</cffunction>
my bean works..
<cfset foo = createobject("component",
"com.foosite.sponsorLevel.sponsorLevel").init() />
<cfdump var="#foo#" />
When I look at cfcexplorer I see
"com.workforceatm.sponsorLevel.sponsorLevel"
for my bean, but the DAO and Gateway are
foosite.com.foosite.sponsorlevel.sponsorlevelGateway
Why are the other hundred or so CFCs on my site com.foosite.blah.blah
but these two are foosite.com.foosite.blah.blah?
Thanks in advance
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350338
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm