public abstract class CloudReferrerTag extends ContextReferrerTag
| Modifier and Type | Field and Description |
|---|---|
protected Attribute |
cloudId |
contextId, EVAL_BODY, helper, id, pageContextTag, referid, writerid| Constructor and Description |
|---|
CloudReferrerTag() |
| Modifier and Type | Method and Description |
|---|---|
void |
fillStandardParameters(Parameters p)
Fill standard parameters like request, response, language and locale
|
protected CloudProvider |
findCloudProvider()
This method tries to find an ancestor object of type CloudProvider.
|
CloudProvider |
findCloudProvider(boolean throwexception)
This method tries to find an ancestor object of type CloudProvider.
|
protected CloudContext |
getCloudContext() |
Cloud |
getCloudVar()
Find the CloudProvider and return its cloud variable in one
step.
|
Locale |
getLocale()
Get the locale which is defined by surrounding tags or the cloud
|
protected Node |
getNode(String key) |
protected Node |
getNodeOrNull(String key)
Gets a node from the context.
|
void |
setCloud(String c)
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.
|
appendMoreParameters, doCatch, doEndTag, doFinally, findLoopOrQuery, findParentTag, findParentTag, findWriter, findWriter, getAttribute, getAttribute, getAttributeBoolean, getAttributeInteger, getAttributeInteger, getAttributeValue, getContentTag, getContextProvider, getContextTag, getCurrentBlock, getDefaultLocale, getEscapedValue, getFormTag, getId, getLocaleFromContext, getObject, getObjectConditional, getPageContext, getPageContextTag, getQuery, getReferid, getString, getTaglibVersion, getThreadPageContext, getTimer, getTimeZone, getWriterValue, haveBody, release, setContext, setEscape, setId, setJspvar, setListdelimiter, setPageContext, setPageContextOnly, setReferid, setVartype, setWrite, setWriterdoAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, setBodyContentfindAncestorWithClass, getParent, getValue, getValues, removeValue, setParent, setValueprotected Attribute cloudId
public void setCloud(String c) throws javax.servlet.jsp.JspTagException
javax.servlet.jsp.JspTagExceptionprotected CloudProvider findCloudProvider() throws javax.servlet.jsp.JspTagException
javax.servlet.jsp.JspTagExceptionpublic CloudProvider findCloudProvider(boolean throwexception) throws javax.servlet.jsp.JspTagException
javax.servlet.jsp.JspTagExceptionpublic Cloud getCloudVar() throws javax.servlet.jsp.JspTagException
javax.servlet.jsp.JspTagExceptionprotected CloudContext getCloudContext()
protected Node getNode(String key) throws javax.servlet.jsp.JspTagException
javax.servlet.jsp.JspTagExceptionprotected Node getNodeOrNull(String key) throws javax.servlet.jsp.JspTagException
javax.servlet.jsp.JspTagExceptionpublic void fillStandardParameters(Parameters p) throws javax.servlet.jsp.JspTagException
ContextReferrerTagfillStandardParameters in class ContextReferrerTagp - the parametersjavax.servlet.jsp.JspTagException - when parent tag is not foundpublic Locale getLocale() throws javax.servlet.jsp.JspTagException
ContextReferrerTaggetLocale in class ContextReferrerTagjavax.servlet.jsp.JspTagException - when parent tag is not foundMMBase 1.9-SNAPSHOT - ${javadoctimestamp}