|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.apache.struts.taglib.html.BaseHandlerTag
org.apache.struts.taglib.html.LinkTag
jp.terasoluna.fw.web.struts.taglib.LinkTag
public class LinkTag
拡張 link
タグ。
Struts
の提供する <html:link>
タグを拡張する。
機能として、アクション URL
にキャッシュ避け用ランダム
ID
を追加する。
ネストされていないiterateTagの
BODY
内でLinkTag
を使用するときのみ
indexed
属性、indexId
属性が有効となる。
<html:link>
タグのAPI
を参照。
<html:link>
タグの API
を参照。
<html:link>
タグの API
を参照。
フィールドの概要 | |
---|---|
private static org.apache.commons.logging.Log |
log
ログクラス。 |
private static java.lang.String |
RANDOM_ID_KEY
キャッシュ避け用ランダムIDのパラメータ名。 |
private static long |
serialVersionUID
シリアルバージョンID |
クラス 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 |
クラス org.apache.struts.taglib.html.BaseHandlerTag から継承されたフィールド |
---|
accesskey, defaultLocale, doDisabled, doReadonly, indexed, tabindex |
クラス javax.servlet.jsp.tagext.BodyTagSupport から継承されたフィールド |
---|
bodyContent |
クラス javax.servlet.jsp.tagext.TagSupport から継承されたフィールド |
---|
id, pageContext |
インタフェース javax.servlet.jsp.tagext.BodyTag から継承されたフィールド |
---|
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
インタフェース javax.servlet.jsp.tagext.IterationTag から継承されたフィールド |
---|
EVAL_BODY_AGAIN |
インタフェース javax.servlet.jsp.tagext.Tag から継承されたフィールド |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
コンストラクタの概要 | |
---|---|
LinkTag()
|
メソッドの概要 | |
---|---|
protected java.lang.String |
calculateURL()
URLにキャッシュ避け用ランダムIDを追加する。 |
クラス org.apache.struts.taglib.html.LinkTag から継承されたメソッド |
---|
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, setUseLocalEncoding |
クラス 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 |
クラス javax.servlet.jsp.tagext.BodyTagSupport から継承されたメソッド |
---|
doInitBody, getBodyContent, getPreviousOut, setBodyContent |
クラス javax.servlet.jsp.tagext.TagSupport から継承されたメソッド |
---|
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
インタフェース javax.servlet.jsp.tagext.Tag から継承されたメソッド |
---|
getParent, setPageContext, setParent |
フィールドの詳細 |
---|
private static final long serialVersionUID
private static org.apache.commons.logging.Log log
private static final java.lang.String RANDOM_ID_KEY
コンストラクタの詳細 |
---|
public LinkTag()
メソッドの詳細 |
---|
protected java.lang.String calculateURL() throws javax.servlet.jsp.JspException
URLにキャッシュ避け用ランダムIDを追加する。
ホットスポットがないため、Struts 1.2.4
の
LinkTag.calculate()
のコードをコピーして変更している。
Struts
のバージョンを変更した場合は
見直しが必要となるので注意すること。
org.apache.struts.taglib.html.LinkTag
内の calculateURL
javax.servlet.jsp.JspException
- エラーが発生したとき
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |