To anyone who can help,
Don't think this is a Velocity question but my question came about when
using the VTL code I created below:
#macro (formSelect $name $entries)
<td>
<select name="$name">
#foreach ($entry in $entries)
<option>$entry.Customerid</option>
<option>$entry.Name</option>
#end
</select>
</td>
#end
What happens is that the SELECT is populated as follows:
$entry.Customerid
Stuart Townhill
$entry.Customerid
Bob
$entry.Customerid
Fred
My question is that why can I access the names but not the Customerid,
could it be because Customerid is the Primary Key of my Customer table
and the Customerid is created by Turbine idbroker service?
Any help much appreciated.
Regards,
Stuart Townhill.