public class SubmitTag
extends org.apache.struts.taglib.html.SubmitTag
拡張submitタグ。フォームのターゲットを指定します。
フォームのサブミット時にtargetの属性値を設定します。(使用方法を参照)
submitTag では、以下の属性をサポートする。
| 属性名 | デフォルト値 | 必須性 | 実行時式 | 概要 |
target |
- | false |
true |
ターゲット先を指定する。 |
その他の属性については、
<html:submit> タグの API を参照。
<html:submit> タグの API を参照。
<ts:submit value=" submit " target=" rightFrame "/>
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected String |
target
指定するターゲット名
|
| コンストラクタと説明 |
|---|
SubmitTag() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
int |
doEndTag()
タグ終了時処理。
|
String |
getTarget()
ターゲット名を取得する。
|
void |
release()
すべてのアロケートされた資源を解放する。
|
void |
setTarget(String target)
ターゲット名を設定する。
|
doAfterBody, doStartTag, getDefaultValue, getElementOpen, getProperty, getValue, prepareButtonAttributes, prepareName, prepareValue, setProperty, setValuedoErrorsExist, 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, 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 target
public String getTarget()
ターゲット名を取得する。
public void setTarget(String target)
ターゲット名を設定する。
target - ターゲット名public void release()
すべてのアロケートされた資源を解放する。
release インタフェース内 javax.servlet.jsp.tagext.Tagrelease クラス内 org.apache.struts.taglib.html.SubmitTagpublic int doEndTag()
throws javax.servlet.jsp.JspException
タグ終了時処理。
doEndTag インタフェース内 javax.servlet.jsp.tagext.TagdoEndTag クラス内 org.apache.struts.taglib.html.SubmitTagjavax.servlet.jsp.JspException - 例外Copyright © 2014. All Rights Reserved.