You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Kushan Jayathilake <ku...@gmail.com> on 2007/05/17 06:44:45 UTC
in scriptDTD
Hi all
i have an abstract method calls
public abstract List<MapPlotPoint> getMapPlotPoints();
MapPlotPoint class contains getters and setters of following objects
private Double lat;
private Double longi;
private String caption;
private ILink link;
I added that to Map like this
Map symbols = new HashMap();
symbols.put("mapPlotPoints", getMapPlotPoints());
below codings appear in my script DTD
<input-symbol key="caption" class="Java.util.List" required="no"/>
<foreach expression="caption" key="item" index="count">
var varCap = ${item.caption};
</foreach>
i want to get lat,longi,caption and link value of all the instances of
MapPlotPoint class to the javascript
Please help me
Kushan Jayathilake
Member - Java Community Process (http://jcp.org)