Steve Onnis wrote:
<cfscript>
	getChildren = CreateObject("component","selectQuery");
	args = StructNew();
	args.ParentID = 0;
	args.ParentColumn = "ParentID";
	args.TableName = "Categories";
	args.Datasource = request.dbs;
	args.ReturnColumns = "CategoryID,ParentID,CategoryName";
	args.ExtraSQL = "AND Active = 1";
	getChildren.getChildren(argumentCollection = args);
</cfscript>

<cfdump var="#getChildren#">
"getChildren" is the actual object itself -- your only going to see methods and the "this" scope. You need to assign a variable to the result of your method call like this:
result = getChildren.getChildren(argumentCollection = args);

Or even this may also work:
<cfdump var="#getChildren.getChildren(argumentCollection = args)#">

Hope that helps,

-- geoff
http://www.daemon.com.au/


---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to