Thank you so much for your help that worked!
#foreach ( $x in ${customobject} )<p> $x.fieldName </p>#end
#foreach ( $x in ${customobject} )
<p> $x.fieldName </p>
#end
Have to put the values in an ArrayList too (per revised spec).