org.mmbase.applications.community.taglib
Class CommunityTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.mmbase.bridge.jsp.taglib.ContextReferrerTag
org.mmbase.bridge.jsp.taglib.CloudReferrerTag
org.mmbase.bridge.jsp.taglib.NodeReferrerTag
org.mmbase.bridge.jsp.taglib.AbstractNodeProviderTag
org.mmbase.bridge.jsp.taglib.NodeTag
org.mmbase.applications.community.taglib.CommunityTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.BodyTag, FunctionContainerOrNodeProvider, javax.servlet.jsp.tagext.IterationTag, NodeProvider, java.io.Serializable, javax.servlet.jsp.tagext.Tag, TagIdentifier
- public class CommunityTag
- extends NodeTag
As NodeTag, but the node (which should be a commnity) will be opened or
closed at the start of the body, depending on the action given.
This affects all channels of this community.
- Version:
- $Id: CommunityTag.java,v 1.4 2003/06/18 20:03:56 michiel Exp $
- Author:
- Pierre van Rooden
- See Also:
- Serialized Form
|
Field Summary |
static java.lang.String |
CLOSE
|
static java.lang.String |
OPEN
|
| Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
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 |
| Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag |
findParentTag, findParentTag, findParentTag, findParentTag, findWriter, findWriter, getAttribute, getAttributeBoolean, getAttributeInteger, getAttributeInteger, getAttributeValue, getContentTag, getContextProvider, getContextTag, getId, getLocale, getObject, getPageContext, getReferid, getString, getWriterValue, haveBody, setContext, setEscape, setId, setPageContext, setReferid, setVartype, setWrite, setWriter |
| Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doInitBody, getBodyContent, getPreviousOut, setBodyContent |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getParent, getValue, getValues, removeValue, 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.BodyTag |
doInitBody, setBodyContent |
| Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
OPEN
public static final java.lang.String OPEN
- See Also:
- Constant Field Values
CLOSE
public static final java.lang.String CLOSE
- See Also:
- Constant Field Values
CommunityTag
public CommunityTag()
setCommunity
public void setCommunity(java.lang.String c)
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException
setAction
public void setAction(java.lang.String c)
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspTagException
- Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag- Overrides:
doStartTag in class NodeTag
- Throws:
javax.servlet.jsp.JspTagException
MMBase build 1.7.1.20041002