I thought he was talking about the method signature... IE: typing out all
the <cfargument> tags.  It's easiest to copy the code.  But yea, to call
super.init() I'm with you.

Doug

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Jared Rypka-Hauer
Sent: Tuesday, May 02, 2006 4:03 PM
To: [email protected]
Subject: Re: [Reactor For CF] custom init()

<cfset var args = structNew()>
<cfset var nonPassableArgs = "MyArg1,MyArg2">
<cfset var i = 0>

<cfloop collection="#arguments#" item="i">
    <cfif not listFind(nonPassableArgs,i)>
        <cfset args[i] = arguments[i]>
    </cfif>
</cfloop>
<cfset super.init(argumentCollection=args)>
...more code...

I love to cheat. ;)

J

On Tue, 2 May 2006 15:56:33 -0400
 "Doug Hughes" <[EMAIL PROTECTED]> wrote:
> Yup :-)  But you can just copy them from a project file.
>  But be careful to
> add new files in if you add any.

 

-- Reactor for ColdFusion Mailing List -- [email protected]
-- Archives at http://www.mail-archive.com/reactor%40doughughes.net/



 

-- Reactor for ColdFusion Mailing List -- [email protected]
-- Archives at http://www.mail-archive.com/reactor%40doughughes.net/


Reply via email to