rjain
Fri, 10 Nov 2006 07:26:52 -0800
I have a ArrayList which can contain either items of TypeA or TypeB
#foreach($item in $arrayList)
#if ($item <isoftype> TypeA)
Do something
#else ($item <isoftype> TypeB)
Do something else
#end
#end
How do I get the Type of Item in the Arraylist? Thanks!! -- View this message in context: http://www.nabble.com/How-to-get-Type-of-variable-tf2608406.html#a7279003 Sent from the Velocity - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]