Hummm... and any idea on how to work this around?
This is my cfcomponentes structure:
cfcomponents
- model
- accessacontrolagent
- dao
- daofactory
accesscontrolagent.cfc
<cfproperty name="DAOFactory" type="#server.cfcroot#.dao.daofactory">
I'll have instalation on diferent Sites, so I can't hardcode the
cfcRoot(package name).
Maybe putting everything back on the same directory.... ;-(
FH
_____________________
Fabio Nunes - NAVITA
Diretor de Engenharia de Software
Fone: 55 48 225-5396
Celular: 55 48 9119-9918
http://www.navita.com.br
----- Original Message -----
From: "Samuel Neff" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 25, 2003 8:11 PM
Subject: RE: [CFCDev] cfproperty
> 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]
>
>
----------------------------------------------------------
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]