How do I get this to work?
Problem is described in the comments.
<cfscript>
// create the object
obj = createObject("component", "indexServer");
// get the meta data of the CFC
objMetaData = getMetaData(obj);
// if we need to display an input form
if ( isDefined("url.display") )
{
// get the function
thisFunction = objMetaData.functions[ url.display ];
}
// if we need to execute the method
if ( isDefined("form.btnExecute") )
{
// assign the result * * * * * * * this is where I get an error, the error says "Invalid CFM construct" and points to this line * * * * * * *
result = obj[ thisFunction.name ]( argumentCollection = form );
}
</cfscript>
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
Register now for the 3rd National Conference on Tourism Futures, being held in Townsville, North Queensland 4-7 August - www.tq.com.au/tfconf |
