public class CmsJspTagSimpleDisplay extends javax.servlet.jsp.tagext.BodyTagSupport implements I_CmsJspTagParamParent
It is less flexible but simpler to use than the 'display' tag in that it only allows you to specify a single, fixed formatter configuration as an attribute, rather than a set of type-dependent formatters with the displayformatter tag.
| Constructor and Description |
|---|
CmsJspTagSimpleDisplay()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(java.lang.String name,
java.lang.String value)
Add a parameter to this tag.
|
int |
doEndTag() |
int |
doStartTag() |
boolean |
getEditable()
Returns the editable.
|
boolean |
getPassSettings()
Returns the passSettings.
|
java.util.Map<java.lang.String,java.lang.String> |
getSettings()
Returns the element settings to be used.
|
java.lang.String |
getValue()
Returns the value.
|
void |
release() |
void |
setCreate(boolean canCreate)
Setter for the "create" attribute of the tag.
|
void |
setCreate(java.lang.String canCreate)
Setter for the "create" attribute of the tag.
|
void |
setCreationSiteMap(java.lang.String sitePath)
Setter for the "creationSiteMap" attribute of the tag.
|
void |
setDelete(boolean canDelete)
Setter for the "delete" attribute of the tag.
|
void |
setDelete(java.lang.String canDelete)
Setter for the "delete" attribute of the tag.
|
void |
setEditable(boolean editable)
Sets the editable.
|
void |
setEditable(java.lang.String editable)
Sets the editable.
|
void |
setFormatter(java.lang.String formatter)
Sets the formatter path.
|
void |
setPassSettings(java.lang.Boolean passSettings)
Sets the passSettings.
|
void |
setPostCreateHandler(java.lang.String postCreateHandler)
Setter for the "postCreateHandler" attribute of the tag.
|
void |
setSettings(java.util.Map<java.lang.String,java.lang.String> settings)
Sets the element settings to be used.
|
void |
setValue(java.lang.String value)
Sets the value.
|
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValuepublic CmsJspTagSimpleDisplay()
public void addParameter(java.lang.String name, java.lang.String value)
I_CmsJspTagParamParentaddParameter in interface I_CmsJspTagParamParentname - the name of the parametervalue - the value of the parameterI_CmsJspTagParamParent.addParameter(java.lang.String, java.lang.String)public int doEndTag()
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class javax.servlet.jsp.tagext.BodyTagSupportBodyTagSupport.doEndTag()public int doStartTag()
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.BodyTagSupportBodyTagSupport.doStartTag()public boolean getEditable()
public boolean getPassSettings()
public java.util.Map<java.lang.String,java.lang.String> getSettings()
public java.lang.String getValue()
public void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class javax.servlet.jsp.tagext.BodyTagSupportBodyTagSupport.release()public void setCreate(boolean canCreate)
canCreate - value of the tag's attribute "create".public void setCreate(java.lang.String canCreate)
canCreate - value of the tag's attribute "create".public void setCreationSiteMap(java.lang.String sitePath)
sitePath - value of the "creationSiteMap" attribute of the tag.public void setDelete(boolean canDelete)
canDelete - value of the "delete" attribute of the tag.public void setDelete(java.lang.String canDelete)
canDelete - value of the "delete" attribute of the tag.public void setEditable(boolean editable)
editable - the editable to setpublic void setEditable(java.lang.String editable)
editable - the editable to setpublic void setFormatter(java.lang.String formatter)
formatter - the formatter pathpublic void setPassSettings(java.lang.Boolean passSettings)
passSettings - the passSettings to setpublic void setPostCreateHandler(java.lang.String postCreateHandler)
postCreateHandler - fully qualified class name of the I_CmsCollectorPostCreateHandler to use.public void setSettings(java.util.Map<java.lang.String,java.lang.String> settings)
settings - the element settings to be usedpublic void setValue(java.lang.String value)
value - the value to set