java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.apache.struts.taglib.html.BaseHandlerTag
org.apache.struts.taglib.html.LinkTag
com.RuntimeCollective.webapps.tag.JsNameLinkTag
- 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
- Direct Known Subclasses:
- TxTokenLinkTag
- public class JsNameLinkTag
- extends org.apache.struts.taglib.html.LinkTag
Fixes a nasty LinkTag "feature" that meant that if you specify
"linkName", you can't then specify "src", or anthing else, for that
matter. You can now set "jsName" instead of "linkName", which will
add a "name=" to the generated link.
| Fields inherited from class org.apache.struts.taglib.html.LinkTag |
action, anchor, forward, href, indexId, linkName, messages, module, name, page, paramId, paramName, paramProperty, paramScope, property, scope, target, text, transaction, useLocalEncoding |
| Methods inherited from class org.apache.struts.taglib.html.LinkTag |
calculateURL, doAfterBody, doEndTag, doStartTag, getAction, getAnchor, getForward, getHref, getIndexId, getLinkName, getModule, getName, getPage, getParamId, getParamName, getParamProperty, getParamScope, getProperty, getScope, getTarget, getTransaction, isUseLocalEncoding, setAction, setAnchor, setForward, setHref, setIndexId, setLinkName, setModule, setName, setPage, setParamId, setParamName, setParamProperty, setParamScope, setProperty, setScope, setTarget, setTransaction, setUseLocalEncoding |
| 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, 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 |
jsName
protected java.lang.String jsName
- The link name for named links. (Exactly the same as "linkName",
but doesn't clobber the rest of the attributes of the link.)
JsNameLinkTag
public JsNameLinkTag()
prepareStyles
protected java.lang.String prepareStyles()
throws javax.servlet.jsp.JspException
- Optionally adds "name=" if jsName is set, and
linkName is not. (In other words, linkName
takes precedence over jsName.)
Then adds other style attributes for inclusion in the component's HTML tag.
release
public void release()
- Release any acquired resources.
getJsName
public java.lang.String getJsName()
setJsName
public void setJsName(java.lang.String jsName)