Oh yeah, damn -- can't believe I forgot that. Guess you'll have to pass it in as a struct (or define your arguments in advance) and do some work to build your abstraction.
> From: Sean A Corfield <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: Tue, 7 Oct 2003 23:00:54 -0700 > To: [EMAIL PROTECTED] > Subject: Re: [CFCDev] CFC base class with arbitray arguments calling a virtual > function > > On Monday, Oct 6, 2003, at 11:13 US/Pacific, Nathan Dintenfass wrote: >> But, that said, if you want to do what you are doing, one option would >> be to >> actually have a getRecordSet method in your extending component that >> calls >> super.getRecordSet() >> ... >> <cffunction name="getRecordSet"> >> <cfargument name="myCode"> >> <cfargument name="myType"> >> <cfset super.getRecordSet(argumentCollection=arguments)> >> </cffunction> > > Unfortunately, you cannot do that :( > > When you call a method using 'super', you must specify the arguments > explicitly - the 'argumentCollection' approach won't work. It's a known > bug in CFMX6.1 (so it'll get fixed in some future release). > > Sean A Corfield -- http://www.corfield.org/blog/ > > "If you're not annoying somebody, you're not really alive." > -- Margaret Atwood > > ---------------------------------------------------------- > 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]
