Any time you use type=X and X is not one of the built-in types, CF will
automatically assume you mean a type of CFC. So if you say type="dog" then
you must return (if used in cffunction) or pass in (if used in argument) an
instance of a CFC where the type is dog. Also, CFC is smart enough to know
that if you have a CFC that extends dog, lets say poodle, then that will
work as well.

===========================================================================
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com)
Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email    : [EMAIL PROTECTED]
Blog     : www.camdenfamily.com/morpheus/blog
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda  

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Bryan F. Hogan
> Sent: Thursday, January 08, 2004 8:14 AM
> To: [EMAIL PROTECTED] Org
> Subject: [CFCDev] Custom argument types
> 
> Does anyone know of a way if possible to create custom argument types?
> What I want to do for example is to be able to choose 
> type="integer" or type="xml" in the argument.
> 
> Thanks
> Bryan
> 
> 
> ----------------------------------------------------------
> 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]
> 


----------------------------------------------------------
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