You can omit the type descriptor entirely, if you need to.

-----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.



______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.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

Reply via email to