org.dasein.net.jsp.util
Class KeyValueTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.dasein.net.jsp.util.KeyValueTag
- All Implemented Interfaces:
- Serializable, IterationTag, JspTag, Tag
public class KeyValueTag
- extends TagSupport
This class is used to store key-value pairs in the JSP. If just the var attribute is supplied, a new Map is created
and set to the incoming var value. If a varResult, key, and map are provided, the value matching that key is
set to the varResult field. If map, key and value are provided, the key and value are added to the incoming map.
User: james
Date: Jan 8, 2008
Time: 11:04:41 AM
- See Also:
- Serialized Form
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doStartTag, 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 |
KeyValueTag
public KeyValueTag()
doEndTag
public int doEndTag()
- Specified by:
doEndTag in interface Tag- Overrides:
doEndTag in class TagSupport
setKey
public void setKey(String str)
throws JspException
- Throws:
JspException
setMap
public void setMap(String str)
throws JspException
- Throws:
JspException
setValue
public void setValue(String str)
throws JspException
- Throws:
JspException
setVar
public void setVar(String str)
throws JspException
- Throws:
JspException
setVarResult
public void setVarResult(String str)
throws JspException
- Throws:
JspException
Copyright © 2011 enStratus Networks LLC. All Rights Reserved.