org.opensubsystems.core.www
Class WebModuleTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.opensubsystems.core.www.PageElementCacheTag
org.opensubsystems.core.www.BlockElementTag
org.opensubsystems.core.www.WebModuleTag
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
public class WebModuleTag
- extends BlockElementTag
Custom tag to render visual representation of a web module in the page. The
default visual representation of a web module is a tab on a toolbar.
- Version:
- $Id: WebModuleTag.java,v 1.10 2007/01/07 06:14:09 bastafidli Exp $
- Author:
- Julian Legeny
- See Also:
- Serialized Form
- Code reviewer:
- Miro Halas
- Code reviewed:
- 1.7 2006/04/29 00:25:48 jlegeny
|
Field Summary |
protected java.lang.String |
m_strActiveModule
Name of the active module. |
| Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
| Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
| 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 |
|
Constructor Summary |
WebModuleTag()
Constructor for custom tag. |
| Methods inherited from class org.opensubsystems.core.www.BlockElementTag |
adjustId, getCssclass, getCurrentId, getRelatedids, getStyle, getType, isRelatedIdsTag, popCurrentId, pushCurrentId, restoreId, setCssclass, setRelatedids, setRelatedids, setStoredId, setStyle, setType |
| Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
m_strActiveModule
protected java.lang.String m_strActiveModule
- Name of the active module. If the currently rendered module matches this
name it will be rendered as an active module.
WebModuleTag
public WebModuleTag()
- Constructor for custom tag.
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
-
- Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag- Overrides:
doStartTag in class BlockElementTag
- Throws:
javax.servlet.jsp.JspException
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspException
-
- Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag- Overrides:
doEndTag in class BlockElementTag
- Throws:
javax.servlet.jsp.JspException
getActiveModule
public java.lang.String getActiveModule()
- Returns:
- String - name of the active module. If the currently rendered
module matches this name it will be rendered as an
active module.
setActivemodule
public void setActivemodule(java.lang.String strActiveModule)
- Parameters:
strActiveModule - - name of the active module. If the currently
rendered module matches this name it will be
rendered as an active module.
Copyright © 2003 - 2006 OpenSubsystems s.r.o.