I am trying to write a CFC that will handle the population of an array of components. The CFC is very simple, it has the following properties:
array //Will hold the array of components componentType //Will hold the type of component the array will hold Since the returnType for CFFunction and the type for CFArgument can not be dynamic values, I don't have a built in way to validate that every element in the array is the same type of object (i.e. array[1] may be an Address and array[2] may be a phone number). 1. Does anyone know if there is built in functionality to ColdFusion that will validate if a variable is an object of a certain CFC? 2. If not, does anyone know of a good method to validate a variable to insure it is the object type it needs to be? Thanks, Donnie ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:321183 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

