No, it's not possible. I believe the issue is that in order for the meta data of a component to work the hint (and other attributes) need to be present at compile-time, not run-time -- so, it must be a static value in your code.
> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of BenLaKnet > Sent: Wednesday, October 22, 2003 8:18 AM > To: [EMAIL PROTECTED] > Subject: [CFCDev] - Hint > > > I would know if it is possible to use hint with variable ? > I try to do this ... but it is not running : > <cfcomponent> > <cfsavecontent variable="infos"> > access : The client security context from which the method can be > invoked: > </cfsavecontent> > <cfoutput>#infos#</cfoutput> > > <cffunction access="private" name="getDept" output="false" > displayname="getDepartement" hint="#infos#"> > <cfquery name="deptQuery" datasource="ExampleApps" dbtype="ODBC" > > SELECT * > FROM tblDepartments > </cfquery> > <cfreturn deptQuery> > </cffunction> > </cfcomponent> > > Thx > ---------------------------------------------------------- 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]
