I have a situation in which I need to populate a javascript array with certain values. This array will then be the input to an Ajax (Dojo) table model. I'm having trouble figuring out how I can populate this array. What I would want is:
var a = new Array();
<core:forEach items="${companies}" var="company"> //populate my array with company.id, company.symbol, and company.name </core:forEach>
I've tried several options to obtain company.symbol etc and put them into my array (or any javascript variable), but nothing seems to work.