org.deltava.taglib.googlemap
Class InsertWeatherTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.deltava.taglib.googlemap.InsertWeatherTag
- All Implemented Interfaces:
- Serializable, IterationTag, JspTag, Tag
public class InsertWeatherTag
- extends TagSupport
A JSP Tag to insert weather.com Series List data into a JSP page.
- Since:
- 3.0
- Version:
- 3.0
- Author:
- Luke
- See Also:
- Serialized Form
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
USAGE_ATTR_NAME
public static final String USAGE_ATTR_NAME
- See Also:
- Constant Field Values
InsertWeatherTag
public InsertWeatherTag()
setLayers
public void setLayers(String layers)
- Sets the layers to download image series data for.
- Parameters:
layers - a comma-delimited list of weather imagery layers
doStartTag
public int doStartTag()
throws JspException
- Executed before the Tag is rendered. This will check for the presence of required JavaScript files in the
request. Tags that do not require this check can override this method.
- Specified by:
doStartTag in interface Tag- Overrides:
doStartTag in class TagSupport
- Returns:
- TagSupport.SKIP_BODY always
- Throws:
IllegalStateException - if the Google Maps API or googleMaps.js not included in request
JspException
doEndTag
public int doEndTag()
throws JspException
- Specified by:
doEndTag in interface Tag- Overrides:
doEndTag in class TagSupport
- Throws:
JspException
Copyright © 2004-2009 Global Virtual Airlines Group. All Rights Reserved.