Thanks, I was thinking that cfargument was doing that for me. I got it
now, thanks for your time.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Raymond Camden
Sent: Thursday, January 08, 2004 11:13 AM
To: [EMAIL PROTECTED]
Subject: RE: [CFCDev] Custom argument types


Bryan, you are still missing the basic idea. You are not passing an
instance of a CFC to yaddaDoodle. You are passing a string and a number.
6 is not a CFC.  

You should have:

<cfinvoke component="specialNumber" method="specialNumber"
returnVariable="x">
        <cfinvokeargument name="theNumber" value=6>
</cfinvoke>
<cfset foo = createObject("component","test")>
<cfset goo = foo.yaddaDoodle(x)>


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

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

Reply via email to