Why not just use default="#arrayNew(1)#"? <cfargument name="arr" type="array" required="false" default="#arrayNew(1)#">
======================================================================= Raymond Camden, ColdFusion Jedi Master for Hire Email : [EMAIL PROTECTED] Yahoo IM : cfjedimaster "My ally is the Force, and a powerful ally it is." - Yoda > -----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=""> > http://www.houseoffusion.com/index.cfm?sidebar=lists > ______________________________________________________________________ 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/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists