<cfscript>
someStruct = StructNew();
someStruct.arg1 = "balh";
someStruct.arg2 = "foo";
myobj.myMethod(argumentCollection=someStruct);
</cfscript>

---------- Original Message ----------------------------------
From: Justin Balog <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date:  Mon, 1 Dec 2003 15:09:49 -0700 

>
>I want to rewrite
>
><cfset myobj.myMethod(arg1="balh",arg2="foo")/>
>
>Any syntax for that?
>
>
>-----Original Message-----
>From: Kevin Pompei [mailto:[EMAIL PROTECTED]
>Sent: Monday, December 01, 2003 3:12 PM
>To: [EMAIL PROTECTED]
>Subject: Re: [CFCDev] Argument Collection?
>
>
>in CFInvoke use the argumentCollection attribute, and set it to the name of
>the struct that contains your arguments.
>
>---------- Original Message ----------------------------------
>From: Justin Balog <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>Date:  Mon, 1 Dec 2003 15:01:32 -0700 
>
>>
>>Howdy,
>>
>>I know it has been asked here before, and I looked through the mail archive
>>for it.  What is the syntax for passing in all arguments at once as a
>>collection?
>>
>>Thanks,
>>
>>Justin
>>----------------------------------------------------------
>>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).
>>
>>An archive of the CFCDev list is available at
>www.mail-archive.com/[EMAIL PROTECTED]
>>
>----------------------------------------------------------
>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).
>
>An archive of the CFCDev list is available at
>www.mail-archive.com/[EMAIL PROTECTED]
>----------------------------------------------------------
>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).
>
>An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
>
----------------------------------------------------------
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).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to