Hey Leigh, it's very interesting that you mention that about the Java array.  
In fact, because it was a Java array, I was using the techniques outlines by 
the ever helpful Ben Nadel in this post (link below) to convert it back to a CF 
array.

After your comments however, I took the conversion piece of code out and just 
sent the Java array into the arrayCompact function and things still work ok, 
with a CF array being returned from the function.  This surprises me to a 
certain extent as the arrayCompact function is indeed calling a few CF specific 
functions on the passed in array, which I would have expected to blow up 
without the conversion prior to passing the array in.  I guess it's simply the 
case that some CF functions are supported on Java arrays (arrayToList for 
example) while others are not (arrayAppend as an example).

Anyway, things are working now and I do appreciate you taking the time to 
comment.

Best,
Brian

http://www.bennadel.com/blog/760-Converting-A-Java-Array-To-A-ColdFusion-Array.htm
 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337430
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to