Title: Message
Perhaps you can go back to your requirements and evaluate why you are doing all these dynamic evaluations.  I could understand using dynamic instances but dynamic methods really shouldn't be necessary. 
 
Anyways, it seems you have two options available to you, evaluate and cfinvoke.  If you really don't want either one of these and feel you have to use cfscript then create another cfc that accepts as it's argument a container object, the name of the instance, the name of the method, and it can return the results using a dynamic cfinvoke.
 
HTH,

Sam
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Joe Eugene
Sent: Tuesday, June 17, 2003 4:17 PM
To: [EMAIL PROTECTED]
Subject: Re: [CFCDev] Dynamic CFC Calls

Can this be done in <cfscript>.... </cfscript>  block... i really dont want to jump
in and out of script blocks.
 
This works...
 
 variables.execMethod="request."&variables.varClass&"."&variables.varMethod;
 '#variables.varName#'= evaluate(variables.execMethod);
 
Perhaps there is a way to remove "evaluate" from the above..
 
Thanks
Joe Eugene
 
 

Reply via email to