Hey guys,

Say I have the following method:

<cffunction name="foo" access="public" returntype="struct" output="false">
     <cfargument name="arg1" type="string" required="True" />

     <cfset var result= structNew() />

     <cfset result.output = True />
<cfreturn result />
</cffunction>

I can obviously do the following:

<cfset methodRet = component.foo('argument1').output />

and methodRet will equal true.

Is there a way that I can do the same sort of thing with a cfinvoke,
where I can automatically make the returnvariable go deeper into the
returned value...

If I do the following:

<cfinvoke component="component" method="foo" returnvariable="methodRet">
     <cfinvokeargument name="arg1" value="Argument1" />
</cfinvoke>

in this case the methodRet will equal the structure result with output
as a key.  Is there a way in the cfinvoke syntax to specify that
methodRet should equal result.output ?

Let me know if this isnt clear enough...

-- 
Ryan Guill
A Deep Blue
[EMAIL PROTECTED]
www.ryanguill.com
(270) 217.2399
got google talk?  Chat me at [EMAIL PROTECTED]

The Coldfusion Open Application Library - COAL - http://coal.ryanguill.com

Use CF and SQL? Try qBrowser - http://www.ryanguill.com/docs/

www.ryanguill.com/
The Roman Empire: www.ryanguill.com/blog/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240697
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to