|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport info.magnolia.cms.taglibs.BaseContentTag info.magnolia.cms.taglibs.BaseConditionalContentTag info.magnolia.cms.taglibs.IfEmpty
public class IfEmpty
This is exactly the opposite of the ifNotEmpty tag.
Field Summary |
---|
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
id, pageContext |
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 | |
---|---|
IfEmpty()
|
Method Summary | |
---|---|
protected boolean |
condition()
Subclasses implement this method to compute the boolean result of the conditional action. |
void |
setAtomName(String name)
Deprecated. |
void |
setContainerListName(String name)
Deprecated. use the contentNodeCollectionName attribute instead. |
void |
setContainerName(String name)
Deprecated. use the contentNodeName attribute instead. |
void |
setNodeDataName(String name)
Set the node data name, e.g. |
Methods inherited from class info.magnolia.cms.taglibs.BaseConditionalContentTag |
---|
doStartTag |
Methods inherited from class info.magnolia.cms.taglibs.BaseContentTag |
---|
getContentNode, getContentNodeCollectionName, getContentNodeName, getCurrentPage, getFirstMatchingNode, getFirtMatchingNode, getNodeDataName, getPath, getRepository, getUuid, isActpage, release, resolveNode, setActpage, setContentNode, setContentNodeCollectionName, setContentNodeName, setInherit, setPath, setRepository, setUuid |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IfEmpty()
Method Detail |
---|
public void setAtomName(String name)
public void setNodeDataName(String name)
BaseContentTag
setNodeDataName
in class BaseContentTag
name
- , antom name to evaluatepublic void setContainerName(String name)
public void setContainerListName(String name)
protected boolean condition()
BaseConditionalContentTag
Subclasses implement this method to compute the boolean result of the conditional action. This method is invoked once per tag invocation by doStartTag().
condition
in class BaseConditionalContentTag
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |