Try DE() instead of Evaluate. I didn't try this, but it often works in
these kinds of tricks.
Robin Greenhagen
President
GreenSoft Solutions, Inc.
-----Original Message-----
From: LaPlante, Bryan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23, 2001 4:37 PM
To: 'CF-List (E-mail)
Subject: [KCFusion] isDefined(dynamic)
While running a custom tag that takes scope and variable attributes I am
trying to concatenate the two together and then see if a scope.variable has
been created. If I try the following code I get an error.
<cfset temp = attributes.scope & '.' & attributes.variable>
I get an error message here about can't convert session.myvar to a simple
value.
<cfif isDefined("#temp#")>
</cfif>
If I try and use:
<cfif isDefined("#Evaluate(attributes.scope & '.' & attributes.variable)#")>
I get an error message about session.myvar does not exist.
</cfif>
Any idea's
______________________________________________________________________
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives........ http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe.................... mailto:[EMAIL PROTECTED]
To Unsubscribe................ mailto:[EMAIL PROTECTED]
______________________________________________________________________
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives........ http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe.................... mailto:[EMAIL PROTECTED]
To Unsubscribe................ mailto:[EMAIL PROTECTED]