org.dasein.net.jsp.util
Class EnumNameTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.dasein.net.jsp.util.EnumNameTag
- All Implemented Interfaces:
- Serializable, IterationTag, JspTag, Tag
public class EnumNameTag
- extends TagSupport
The geniuses at Sun made it so you cannot access the Enum.name() value from
JSTL. This tag fixes that problem.
Last modified: $Date: 2007/03/24 14:49:53 $
- Version:
- $Revision: 1.3 $
- Author:
- George Reese
- 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 |
EnumNameTag
public EnumNameTag()
doEndTag
public int doEndTag()
throws JspException
- Specified by:
doEndTag in interface Tag- Overrides:
doEndTag in class TagSupport
- Throws:
JspException
setEnum
public void setEnum(String val)
throws JspException
- Throws:
JspException
setVar
public void setVar(String v)
Copyright © 2011 enStratus Networks LLC. All Rights Reserved.