copied your code and it works for me.
the only addition I made in the component are
the cfcomponent beginning and endtag.

2005/9/16, [EMAIL PROTECTED] <[EMAIL PROTECTED] >:
Before I start banging my head, Im sure one of you guys can answer this. I
have a simple component, AuthenticationGateway.cfc, which has one method

<cffunction name = "init"  returntype="AuthenticationGateway">
      <cfreturn this>
</cffunction>

I have a test file, test.cfm, which calls

<cfset test = createObject("component","AuthenticationGateway").init()>

test.cfm and authenicationGateway.cfc are in the same directory.  I'm
getting the error:
"value returned by function init() is not of type AuthenticationGateway"

I've tried every combinantion of dot notated path to the file that I can
think of in the return type.  Any suggestions?


Jason Cronk
Verizon





----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).

CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm

An archive of the CFCDev list is available at www.mail-archive.com/[email protected]





--
Rene Luijk
GiantChair, Inc. ----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).

CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm

An archive of the CFCDev list is available at www.mail-archive.com/[email protected]

Reply via email to