org.mmbase.bridge.jsp.taglib
Class NodeReferrerTag
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
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.BodyTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- Direct Known Subclasses:
- CreateAliasTag, FieldInfoTag, FieldListTag, FieldTag, NodeInfoTag, SetFieldTag
- public abstract class NodeReferrerTag
- extends CloudReferrerTag
A tag which is a 'NodeReferrerTag's is for example the FieldTag. A
FieldTag must be a child of a NodeProvider.
Originally, I named it 'NodeRefererTag' but this would have been a
misspeling, though a common one. Cite from foldoc:
From The Free On-line Dictionary of Computing (13 Mar 01) [foldoc]:
referer
A misspelling of "referrer" which somehow
made it into the {HTTP} standard. A given {web page}'s
referer (sic) is the {URL} of whatever web page contains the
link that the user followed to the current page. Most
browsers pass this information as part of a request.
(1998-10-19)
- Author:
- Michiel Meeuwissen
- See Also:
- Serialized Form
| 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_TAG |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
|
Method Summary |
NodeProvider |
findNodeProvider()
This method tries to find an ancestor object of type NodeProvider |
void |
setNode(java.lang.String node)
A NodeReferrer probably wants to supply the attribute 'node',
to make it possible to refer to another node than the direct
ancestor. |
| Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag |
findParentTag, findParentTag, getAttributeValue, getContextTag, getContextTag, getReferid, getReferIdValue, release, setContext, setPageContext, setReferid, stringSplitter, stringSplitter |
| Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doAfterBody, doEndTag, doInitBody, doStartTag, getBodyContent, getPreviousOut, setBodyContent |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, 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, setParent |
NodeReferrerTag
public NodeReferrerTag()
setNode
public void setNode(java.lang.String node)
- A NodeReferrer probably wants to supply the attribute 'node',
to make it possible to refer to another node than the direct
ancestor.
findNodeProvider
public NodeProvider findNodeProvider()
throws javax.servlet.jsp.JspTagException
- This method tries to find an ancestor object of type NodeProvider
- Returns:
- the NodeProvider if found else an exception.
MMBase 2001