public class ToolbarTag
extends javax.servlet.jsp.tagext.TagSupport
<rhn:toolbar base="h1" img="/img/somegraphic.gif">
Basic Attributes:
Action Attributes:
| Constructor and Description |
|---|
ToolbarTag()
Constructor for tag.
|
| Modifier and Type | Method and Description |
|---|---|
int |
doEndTag() |
int |
doStartTag() |
java.lang.String |
getAclMixins() |
java.lang.String |
getBase()
Returns the required base HTML tag used to surround the toolbar.
|
java.lang.String |
getCloneAcl()
Returns the acl used to control access to the clone action button.
|
java.lang.String |
getCloneType()
Returns the clone type to be acted upon.
|
java.lang.String |
getCloneUrl()
Returns the url pointed by the clone action button.
|
java.lang.String |
getCreationAcl()
Returns the acl used to control access to the creation action button.
|
java.lang.String |
getCreationType()
Returns the creation type to be acted upon.
|
java.lang.String |
getCreationUrl()
Returns the url pointed by the creation action button.
|
java.lang.String |
getDeletionAcl()
Returns the acl used to control access to the deletion action button.
|
java.lang.String |
getDeletionType()
Returns the deletion type to be acted upon.
|
java.lang.String |
getDeletionUrl()
Returns the url pointed by the deletion action button.
|
java.lang.String |
getHelpUrl()
Returns the help url which is used to link to the help pages.
|
java.lang.String |
getIcon()
Getter for the icon id
|
java.lang.String |
getIconAlt() |
java.lang.String |
getImg()
Returns the image location to be displayed.
|
java.lang.String |
getImgAlt() |
java.lang.String |
getMiscAcl()
Returns the acl used to control access to the miscellaneous link.
|
java.lang.String |
getMiscAlt()
Returns the alternate text for the miscellaneous link.
|
java.lang.String |
getMiscIcon()
Getter for the icon id
|
java.lang.String |
getMiscImg()
Returns the url for the misc image file.
|
java.lang.String |
getMiscText()
Returns the text for the miscellaneous link.
|
java.lang.String |
getMiscUrl()
Returns the url pointed by the miscellaneous link.
|
java.lang.String |
getUploadAcl() |
java.lang.String |
getUploadType() |
java.lang.String |
getUploadUrl() |
void |
release() |
void |
setAclMixins(java.lang.String mixins)
Sets the Acl classnames to be mixed in.
|
void |
setBase(java.lang.String b)
Sets the required base HTML tag used to surround the toolbar.
|
void |
setCloneAcl(java.lang.String cloneacl)
Sets the acl used to control access to the clone action button.
|
void |
setCloneType(java.lang.String clonetype)
Sets the clone type to be acted upon.
|
void |
setCloneUrl(java.lang.String cloneurl)
Sets the url pointed by the clone action button.
|
void |
setCreationAcl(java.lang.String createacl)
Sets the acl used to control access to the creation action button.
|
void |
setCreationType(java.lang.String createtype)
Sets the creation type to be acted upon.
|
void |
setCreationUrl(java.lang.String createurl)
Sets the url pointed by the creation action button.
|
void |
setDeletionAcl(java.lang.String delacl)
Sets the acl used to control access to the deletion action button.
|
void |
setDeletionType(java.lang.String deltype)
Sets the deletion type to be acted upon.
|
void |
setDeletionUrl(java.lang.String delurl)
Sets the url pointed by the deletion action button.
|
void |
setHelpUrl(java.lang.String helpurl)
Sets the help url which is used to link to the help pages.
|
void |
setIcon(java.lang.String iconId)
Sets the icon (css class name) which is displayed.
|
void |
setIconAlt(java.lang.String iconAltIn) |
void |
setImg(java.lang.String imgurl)
Sets the image location which is displayed.
|
void |
setImgAlt(java.lang.String imgAltIn) |
void |
setMiscAcl(java.lang.String miscacl)
Sets the acl used to control access to the miscellaneous link.
|
void |
setMiscAlt(java.lang.String alt)
Sets the alternate text for the miscellaneous link.
|
void |
setMiscIcon(java.lang.String iconId)
Sets the misc icon (css class name) which is displayed.
|
void |
setMiscImg(java.lang.String miscimg)
Sets the image used for the misc link.
|
void |
setMiscText(java.lang.String text)
Sets the text for the miscellaneous link.
|
void |
setMiscUrl(java.lang.String miscurl)
Sets the url pointed by the miscellaneous link.
|
void |
setUploadAcl(java.lang.String acl) |
void |
setUploadType(java.lang.String type) |
void |
setUploadUrl(java.lang.String url) |
public void setBase(java.lang.String b)
b - valid html tag.public java.lang.String getBase()
public void setHelpUrl(java.lang.String helpurl)
helpurl - the help url which is used to link to the help pages.public java.lang.String getHelpUrl()
public void setAclMixins(java.lang.String mixins)
mixins - A comma separated list of Acl classnames.getCreationAcl(),
getDeletionAcl(),
getMiscAcl()public java.lang.String getAclMixins()
getCreationAcl(),
getDeletionAcl(),
getMiscAcl()public void setIcon(java.lang.String iconId)
iconId - Icon's id (usually the css class)public java.lang.String getIcon()
public java.lang.String getIconAlt()
public void setIconAlt(java.lang.String iconAltIn)
iconAltIn - Sets the localization key that will resolve
to the alt text of the iconpublic void setImg(java.lang.String imgurl)
imgurl - the location of the image.public java.lang.String getImg()
public java.lang.String getImgAlt()
public void setImgAlt(java.lang.String imgAltIn)
imgAltIn - Sets the localization key that will resolve
to the alt text of the imgpublic void setMiscImg(java.lang.String miscimg)
miscimg - URL to image file.public java.lang.String getMiscImg()
public void setMiscIcon(java.lang.String iconId)
iconId - Misc Icon's id (usually the css class)public java.lang.String getMiscIcon()
public void setDeletionType(java.lang.String deltype)
deltype - the deletion type to be acted upon.public java.lang.String getDeletionType()
public void setDeletionAcl(java.lang.String delacl)
delacl - the acl used to control access to the deletion action
button.public java.lang.String getDeletionAcl()
public void setDeletionUrl(java.lang.String delurl)
delurl - the url pointed by the deletion action button.public java.lang.String getDeletionUrl()
public void setCreationType(java.lang.String createtype)
createtype - the creation type to be acted upon.public java.lang.String getCreationType()
public void setCreationAcl(java.lang.String createacl)
createacl - the acl used to control access to the creation
action button.public java.lang.String getCreationAcl()
public void setCreationUrl(java.lang.String createurl)
createurl - the url pointed by the creation action button.public java.lang.String getCreationUrl()
public void setCloneType(java.lang.String clonetype)
clonetype - the creation type to be acted upon.public java.lang.String getCloneType()
public void setCloneAcl(java.lang.String cloneacl)
cloneacl - the acl used to control access to the clone
action button.public java.lang.String getCloneAcl()
public void setCloneUrl(java.lang.String cloneurl)
cloneurl - the url pointed by the clone action button.public java.lang.String getCloneUrl()
public void setMiscAcl(java.lang.String miscacl)
miscacl - the acl used to control access to the miscellaneous link.public java.lang.String getMiscAcl()
public void setMiscUrl(java.lang.String miscurl)
miscurl - url for the miscellaneous link.public java.lang.String getMiscUrl()
public void setMiscAlt(java.lang.String alt)
alt - alternate text for the miscellaneous link.public java.lang.String getMiscAlt()
public void setMiscText(java.lang.String text)
text - text for the miscellaneous link.public java.lang.String getMiscText()
public int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspException - JSP exceptionpublic int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspExceptionpublic void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class javax.servlet.jsp.tagext.TagSupportpublic java.lang.String getUploadUrl()
public void setUploadUrl(java.lang.String url)
url - the uploadUrl to setpublic java.lang.String getUploadAcl()
public void setUploadAcl(java.lang.String acl)
acl - the uploadAcl to setpublic java.lang.String getUploadType()
public void setUploadType(java.lang.String type)
type - the uploadType to set