public class LinkTag
extends org.apache.struts.taglib.html.LinkTag
拡張 link タグ。
Struts の提供する <html:link> タグを拡張する。
機能として、アクション URL にキャッシュ避け用ランダム
ID を追加する。
ネストされていないiterateTagの
BODY内でLinkTagを使用するときのみ
indexed属性、indexId属性が有効となる。
<html:link>タグのAPI を参照。
<html:link> タグの API を参照。
<html:link> タグの API を参照。
action, anchor, forward, href, indexId, linkName, messages, module, name, page, paramId, paramName, paramProperty, paramScope, property, scope, target, text, transaction, useLocalEncoding| コンストラクタと説明 |
|---|
LinkTag() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected String |
calculateURL()
URLにキャッシュ避け用ランダムIDを追加する。
|
doAfterBody, doEndTag, doStartTag, getAction, getAnchor, getForward, getHref, getIndexId, getLinkName, getModule, getName, getPage, getParamId, getParamName, getParamProperty, getParamScope, getProperty, getScope, getTarget, getTransaction, isUseLocalEncoding, release, setAction, setAnchor, setForward, setHref, setIndexId, setLinkName, setModule, setName, setPage, setParamId, setParamName, setParamProperty, setParamScope, setProperty, setScope, setTarget, setTransaction, setUseLocalEncodingdoErrorsExist, 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, setTitleKeydoInitBody, getBodyContent, getPreviousOut, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValueprotected String calculateURL() throws javax.servlet.jsp.JspException
URLにキャッシュ避け用ランダムIDを追加する。
ホットスポットがないため、Struts 1.2.4 の
LinkTag.calculate() のコードをコピーして変更している。
Struts のバージョンを変更した場合は
見直しが必要となるので注意すること。
calculateURL クラス内 org.apache.struts.taglib.html.LinkTagjavax.servlet.jsp.JspException - エラーが発生したときCopyright © 2014. All Rights Reserved.