> <cfargument name="foo" type="any">
> <cfif isObject(arguments.foo) and getMetadata(arguments.foo).name is
> myFooType>
> ... body of function ...
> <cfelse>
> <cfthrow message="FOO passed to FUNC is not of type
#myFooType#">
> </cfif>
> Correct. "extends" is a compile-time attribute - it can't be a
variable.
Thanks Sean. This workaround would work for cfargument.
But then the problem would still exist because extends has to be static.
So my conclusion is:
expressions can't be used.
each developer should work on his own localhost
apps in a shared host environment should use the same version of
the
CFC framework. Otherwise, some apps are using the wrong (maybe
outdated) CFCs
Harry
----------------------------------------------------------
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]