First of all, good job! GoogleMaps works great! I
would like to integrate GoogleMaps to my Spring MVC
application. I was not able to add dynamic value with
Spring tags.
Example of adding dynamic value to text field:
<spring:bind path="realestate.name">
<input type="text"
name="<c:out value="${status.expression}"/>"
id="<c:out value="${status.expression}"/>"
value="<c:out value="${status.value}"/>" />
<span class="fieldError">
<c:out value="${status.errorMessage}"/>
</span>
</spring:bind>
Example of binding Spring data and using it with
GoogleMaps, which does not work:
<spring:bind path="realestate.address.address">
<googlemaps:map id="map" width="700" height="400"
version="2" type="STREET" zoom="12">
<googlemaps:key domain="localhost" key="xxxx"/>
<googlemaps:point id="point1" address="<c:out
value="${realestate.address.address}"/>"/>
<googlemaps:marker id="marker1" point="point1">
</googlemaps:map>
</spring:bind>