Can you do this? <cfargument name="descriptlistArray" type="array" required="false" default="#ArrayNew(1)#">
<cfif ArrayLen(arguments.descriptlistArray) NEQ> .. </cfif> > -----Original Message----- > From: Brook Davies [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 16, 2002 12:36 PM > To: CF-Talk > Subject: cfcomponents and required complex values > > > I have a cfc which has the following argument. The problem is > that if I do > not pass it an array it throws an error that the value is not > an array. How > do I make it optional to pass a value to this method? > > <cfargument name="descriptlistArray" type="array" > required="false" default=""> > > Brook Davies > maracasmedia inc. > > > ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

