net.sf.navigator.taglib.el
Class DisplayMenuTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
net.sf.navigator.taglib.DisplayMenuTag
net.sf.navigator.taglib.el.DisplayMenuTag
- All Implemented Interfaces:
- Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag
public class DisplayMenuTag
- extends DisplayMenuTag
This tag acts the same as net.sf.navigator.taglib.DisplayMenuTag, except
that it allows JSTL Expressions in it's name and target attributes.
- Version:
- $Revision: 1.6 $ $Date: 2006/07/09 08:08:10 $
- Author:
- Matt Raible
- See Also:
- Serialized Form
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DisplayMenuTag
public DisplayMenuTag()
setName
public void setName(String name)
- Overrides:
setName
in class DisplayMenuTag
setTarget
public void setTarget(String target)
- Overrides:
setTarget
in class DisplayMenuTag
release
public void release()
- Specified by:
release
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
release
in class DisplayMenuTag
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- Specified by:
doStartTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in class DisplayMenuTag
- Throws:
javax.servlet.jsp.JspException
setPageLocation
protected void setPageLocation(MenuComponent menu)
throws MalformedURLException,
javax.servlet.jsp.JspException
- Overrides the setPageLocation in parentTag to use JSTL to evaluate
the URL. It's definitely ugly, so if you have a cleaner way, please
let me know!
- Overrides:
setPageLocation
in class DisplayMenuTag
- Parameters:
menu
-
- Throws:
MalformedURLException
javax.servlet.jsp.JspException
Copyright © 2003-2007 SourceForge. All Rights Reserved.