Hopefully Ray wont see this <g>...but, how about evaluate() or
maybe setVariable()?

--
 jon
 mailto:[EMAIL PROTECTED]

Tuesday, June 17, 2003, 3:37:58 PM, you wrote:
JE> Anybody know how to dynamically call methods in CFC's
 
JE> <cfscript>
JE> request.dataObj = createObject("Component","Website/MyData");
 
JE> varObj="dataObj";
JE> varMethod="getStateData()";
JE> varName="someData";
 
 
JE> // Now, i want to be able to call the CFC Dynamically, something like
 
JE> '#varName#'=request["#varObj#"]["#varMethod#"]; 
 
JE> //.#varMethod# doesnt work either.
 
JE> </cfscript>
 
JE> I am getting the below from the above code.
JE> "Element getleftNavLinks is undefined in a Java object of type class
JE> coldfusion.runtime.TemplateProxy referenced as"
 
JE> What am i missing?.. 
 
JE> Thanks
JE> Joe Eugene

----------------------------------------------------------
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).

Reply via email to