The cfproperty tag is processed at compile time and variables are not
available, so this won't work.

You can use a component name as the type, I think that's what they mean by
variable name (I was and pretty much still am confused as to why the docs
say variable name and not something clearer).

Sam


----------------------------------------------
Blog:  http://www.rewindlife.com
Chart: http://www.blinex.com/products/charting
---------------------------------------------- 
 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Fabio Nunes
> Sent: Monday, August 25, 2003 5:21 PM
> To: [EMAIL PROTECTED]
> Subject: [CFCDev] cfproperty
> 
> Hi,
> 
> I'm trying to dynamically set the type for a cfproperty, 
> something like
> this:
> 
> <cfcomponent displayname="accesscontrolagent">
>      <cfproperty name="DAOFactory" 
> type="#server.cfcroot#.dao.daofactory">
> 
> The documentation says that I can use a variable name, but it 
> doesn't seem
> to work.
> 
> Am I missing something?
> 
> best,
> Fabio
> 


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word '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