org.mmbase.bridge.jsp.taglib
Class CloudReferrerTag
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
- All Implemented Interfaces:
- BodyTag, IterationTag, Serializable, Tag
- Direct Known Subclasses:
- CloudInfoTag, CommitTag, EditTag, FormatterTag, HasNodeManagerTag, HasNodeTag, HasRankTag, HasRelationManagerTag, InfoTag, ListContainerTag, LocaleTag, MayCreateTag, MayReadTag, NodeReferrerTag, QueryAgeConstraintTag, QueryAliasConstraintTag, QueryCompositeConstraintTag, QueryConstraintTag, QueryDistinctTag, QueryMaxNumberTag, QueryOffsetTag, QuerySortOrderTag, QueryTypeConstraintTag, TransactionTag, UrlTag
- public abstract class CloudReferrerTag
- extends ContextReferrerTag
Tags which are meant to live as a child of the CloudTag, could extend this
class.
- Version:
- $Id: CloudReferrerTag.java,v 1.29 2006/03/09 13:24:31 nklasens Exp $
- Author:
- Michiel Meeuwissen
- See Also:
- Serialized Form
| Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag |
doEndTag, findLoopOrQuery, findParentTag, findParentTag, findParentTag, findParentTag, findWriter, findWriter, getAttribute, getAttributeBoolean, getAttributeInteger, getAttributeInteger, getAttributeValue, getContentTag, getContextProvider, getContextTag, getDefaultLocale, getEscapedValue, getId, getObject, getObjectConditional, getPageContext, getPageContextTag, getReferid, getString, getTaglibVersion, getTimeZone, getWriterValue, haveBody, release, setContext, setEscape, setId, setJspvar, setListdelimiter, setPageContext, setReferid, setVartype, setWrite, setWriter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CloudReferrerTag
public CloudReferrerTag()
setCloud
public void setCloud(String c)
throws JspTagException
- If there are more clouds to choose from, you can have a 'cloud'
attribute in your tag, in wich you can indicate the id of the
cloud you mean.
- Throws:
JspTagException
findCloudProvider
protected CloudProvider findCloudProvider()
throws JspTagException
- This method tries to find an ancestor object of type CloudProvider.
- Returns:
- the CloudTag if found, else an exception.
- Throws:
JspTagException
findCloudProvider
public CloudProvider findCloudProvider(boolean throwexception)
throws JspTagException
- This method tries to find an ancestor object of type CloudProvider.
- Returns:
- the CloudProvider or null.
- Throws:
JspTagException
getCloudVar
public Cloud getCloudVar()
throws JspTagException
- Find the CloudProvider and return its cloud variable in one
step. And the result of findCloudProvider is stored, so
invoking this function more often is better then invoking
findCloudProvider every time.
- Returns:
- a Cloud
- Throws:
JspTagException
getCloudContext
protected CloudContext getCloudContext()
- Returns:
- the cloud context
getNode
protected Node getNode(String key)
throws JspTagException
- Throws:
JspTagException
getNodeOrNull
protected Node getNodeOrNull(String key)
throws JspTagException
- Gets a node from the context.
- Throws:
JspTagException
fillStandardParameters
protected void fillStandardParameters(Parameters p)
throws JspTagException
- Overrides:
fillStandardParameters in class ContextReferrerTag
- Throws:
JspTagException
getLocale
public Locale getLocale()
throws JspTagException
- Overrides:
getLocale in class ContextReferrerTag
- Throws:
JspTagException- Since:
- MMBase-1.8
MMBase build 1.8.1.20060716