2016-08-27 0:08 GMT+02:00 Guilherme Bisconcini <guilherme.bisconc...@sefisa.com.br>: > Hi all, > > First of all, greetings, from Brazil. > > I would like to populate this Java Script variable with name > *flightPlanCoordinates > *from a Action Controller. > > var flightPlanCoordinates = [ > > > {lat: -23.533592, lng: -46.742744}, > > {lat: -23.533592, lng: -46.742744}, > > {lat: -23.533870, lng: -46.742804}, > > {lat: -23.533978, lng: -46.742890} > ]; > > Whats the best approach to do? I how can I use tag libs from Struts to > mount this *flightPlanCoordinates ?*
I'd rather use a JSON endpoint instead of directly populating such variable in a page. Regards -- Ćukasz + 48 606 323 122 http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org