GoogleMaps JSP Tag Library
Tag event


Adds an event listener to the parent tag. This tag can only effectively be a child of a <googlemaps:map> or <googlemaps:marker> tag. If a child of any other tag, this tag will register itself with the next highest instance of <googlemaps:map> or <googlemaps:marker>. When a map or marker with a registered event is triggered, the URL is called additional parameters based upon the parent component type and the event that is triggered. The complete list is as follows:

The intended use is to have the event trigger a request to either a servlet or JSP page. This page would retrieve the map from the session using the map id (passed as map parameter) making the required changes, additions, etc. and then pass the response back to the requesting page or another page that displays that map, which would then render the map with the changes.

For this methodology to work properly, the parent map must have a scope of type site, so the receiving entity can locate the map from the session.



Tag Information
Tag Classcom.lamatek.tags.google.GoogleMapEventTag
TagExtraInfo ClassNone
Body Contentempty
Display NameGoogleMapEventTag

Attributes
NameRequiredRequest-timeTypeDescription
actiontruetruejava.lang.String

The javascript event that triggers this URL.

urltruetruejava.lang.StringThe URL that is called when the event is triggered. The URL is appended with parameters based on the component and event type triggered.
asynchronousfalsetruebooleanDenotes this action as asynchronous, if true, or synchronous, if false. If false, the request will forward to the specified URL. If true, the request will be made asynchronously. Typically speaking if your URL only needs to know about the data, you can set this to true. If your request needs to render special changes to the map, or redirect to another page, set this to false.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.