java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.apache.struts.taglib.html.BaseHandlerTag
com.RuntimeCollective.sitemap.tag.AddBookmarkTag
com.RuntimeCollective.sitemap.tag.RemoveBookmarkTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- public class RemoveBookmarkTag
- extends AddBookmarkTag
A custom JSP tag that sets the request parameters necessary for removing a site location from the user's bookmarks.
It generates an a href tag, pointing to the /addRemoveBookmark action.
This tag takes the following attributes:
-
name - the name of the bean, under page or request or session scope, that holds the id of the site location [Optional].
-
scope - the scope of the bean to load [Optional].
-
property - the property of the bean, specified by 'name', that holds the id of the site location. If this is not set, then 'id' is used. [Optional].
-
id - the id of the site location to bookmark. [Optional].
-
parameter - the request parameter that holds the id of the site location to unbookmark [Optional].
-
forward - the name of the forward to go to if the site location was unbookmarked successfully. If this is not set then `success' will be returned. [Optional].
-
failForward - the name of the forward to go to if the site location was not unbookmarked successfully. If this is not set then `failure' will be returned. [Optional].
Exactly one of id, parameter, or (name and property) must be set.
Note the body of the tag should be set to the label of the link.
- Version:
- $Id: RemoveBookmarkTag.java,v 1.3 2003/09/30 15:13:01 joe Exp $
| Methods inherited from class com.RuntimeCollective.sitemap.tag.AddBookmarkTag |
doEndTag, doStartTag, getFailForward, getForward, getId, getName, getParameter, getProperty, getScope, release, setFailForward, setForward, setId, setName, setParameter, setProperty, setScope |
| Methods inherited from class org.apache.struts.taglib.html.BaseHandlerTag |
doErrorsExist, getAccesskey, getAlt, getAltKey, getBundle, getDisabled, getElementClose, getErrorKey, getErrorStyle, getErrorStyleClass, getErrorStyleId, getIndexed, getIndexValue, getLocale, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getReadonly, getStyle, getStyleClass, getStyleId, getTabindex, getTitle, getTitleKey, isXhtml, lookupProperty, message, prepareAttribute, prepareEventHandlers, prepareFocusEvents, prepareIndex, prepareKeyEvents, prepareMouseEvents, prepareName, prepareOtherAttributes, prepareStyles, prepareTextEvents, setAccesskey, setAlt, setAltKey, setBundle, setDisabled, setErrorKey, setErrorStyle, setErrorStyleClass, setErrorStyleId, setIndexed, setLocale, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setStyle, setStyleClass, setStyleId, setTabindex, setTitle, setTitleKey |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoveBookmarkTag
public RemoveBookmarkTag()