Weird. I restarted CF and it's working now. 0_o On Fri, Mar 9, 2012 at 1:26 PM, Greg Morphis <[email protected]> wrote: > the beans are all showing up without the extra foosite at the > beginning but the DAOs and Gateways are all showing up with it.. so > there's something else going on here > > On Fri, Mar 9, 2012 at 1:20 PM, Greg Morphis <[email protected]> wrote: >> 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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:350340 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

