Using type="any" will allow each element in the array to be a different type. Let me give you an example.
I have a Person CFC that has a property "addresses". I also have an Address CFC. A person can have more than 1 address, so the property "addresses" is an array of CFC.Address and I don't want any other type in the array. So if I use "any", array position 1 may be an Address CFC object and array position 2 may be a Phone CFC object. Ideally I would put "Address[]" as a type, but the Component Array CFC could be of any type and ColdFusion does not allow variables for the returntype argument or the type argument. So I need to add a cfif somewhere to validate that the object being passed in to be added to the array is the same type as my property "component". This way I can insure every element in the array is of the same type. >type="any" > >On Wed, Apr 1, 2009 at 10:24 AM, Donnie Carvajal < >[email protected]> wrote: > >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321185 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

