|
||||||||||
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.util.ImgTag
public class ImgTag
Writes an html img tag for the image at "nodeDataName". Also supports writing object tags for flash movies. (detected by the "swf" extension)
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 | |
---|---|
ImgTag()
|
Method Summary | |
---|---|
int |
doEndTag()
|
void |
release()
|
void |
setAltNodeDataName(String altNodeDataName)
Name of the node data holding the alt text for the image. |
void |
setClass(String value)
html pass through attribute. |
void |
setHeight(String value)
html pass through attribute. |
void |
setId(String value)
html pass through attribute. |
void |
setNodeDataName(String nodeDataName)
the name of the nodeData containing the image path. |
void |
setStyle(String value)
html pass through attribute. |
void |
setWidth(String value)
html pass through attribute. |
Methods inherited from class info.magnolia.cms.taglibs.BaseContentTag |
---|
getContentNode, getContentNodeCollectionName, getContentNodeName, getCurrentPage, getFirstMatchingNode, getFirtMatchingNode, getNodeDataName, getPath, getRepository, getUuid, isActpage, resolveNode, setActpage, setContentNode, setContentNodeCollectionName, setContentNodeName, setInherit, setPath, setRepository, setUuid |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
doAfterBody, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImgTag()
Method Detail |
---|
public void setNodeDataName(String nodeDataName)
setNodeDataName
in class BaseContentTag
public void setAltNodeDataName(String altNodeDataName)
public void setHeight(String value)
public void setWidth(String value)
public void setClass(String value)
public void setStyle(String value)
public void setId(String value)
setId
in class javax.servlet.jsp.tagext.TagSupport
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
TagSupport.doEndTag()
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class BaseContentTag
TagSupport.release()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |