i ran your code on cf8.1 and got 2 dumps back:
dump 1: struct 1 sample string
dump 2: struct ONE sample string
this code ran fine as well, outputting 2 dumps:
<cffunction name="testMe2" output="1">
<cfdump var="#arguments#" label="testMe2 args">
</cffunction>
<cffunction name="testMe" output="1">
<cfdump var="#arguments#" label="testMe1args">
<cfinvoke method="testMe2" argumentcollection="#arguments#" />
</cffunction>
<cfoutput>
#testMe("sample string")#
</cfoutput>
i have also put the above 2 funcs in a cfc and called it with <cfset t =
createobject('component', 'test').testMe('hello there!')> and still got
2 dumps back...
which version of cf are you running? how is this not working in your
case (errors? no output?)? am i missing something here?
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Leitch, Oblio wrote:
> Yes, I could *always* use the names, but I'm trying to run the function
> with unnamed arguments. Additionally, I explicitly want to pass
> arguments from one to the next.
>
>
>
> -----Original Message-----
> From: Leitch, Oblio [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 18, 2008 4:55 PM
> To: CF-Talk
> Subject: args & arg collections
>
> Can someone explain why I can't pass an unnamed argument set from one
> function to another?
>
> <cffunction name="testMe2" output="1">
> <cfargument name="one" type="string">
> <cfdump var="#arguments#">
> </cffunction>
>
> <cffunction name="testMe" output="1">
> <cfdump var="#arguments#">
> <cfinvoke method="testMe2" argumentcollection="#arguments#" />
> </cffunction>
>
> <cfoutput>
> #testMe("sample string")#
> </ cfoutput >
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303794
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4