リファレンス: Struts Nestedタグ・ライブラリ

タグ・ライブラリ構文

<%@ taglib uri="http://jakarta.apache.org/struts/tags-nested-1.0" prefix="nested" %>

構文の使用方法

イタリック・フォントで記載されているタグ属性には、ランタイム式を使用します。大カッコ([ ])内のタグ属性は、必須ではありません。タグ・ボディを指定する場合は、そのタグで受入れ可能なタイプのコンテンツ(JSPコンテンツ)で指定します。

タグ

名前 構文
checkbox <nested:checkbox
      [accesskey]
      [alt]
      [altKey]
      [disabled]
      [indexed]
      [name]
      [onblur]
      [onchange]
      [onclick]
      [ondblclick]
      [onfocus]
      [onkeydown]
      [onkeypress]
      [onkeyup]
      [onmousedown]
      [onmousemove]
      [onmouseout]
      [onmouseover]
      [onmouseup]
      property
      [style]
      [styleClass]
      [styleId]
      [tabindex]
      [title]
      [titleKey]
      [value] />

define <nested:define
      id
      [name]
      [property]
      [scope]
      [toScope]
      [type]
      [value] />

empty <nested:empty
      [name]
      [property]
      [scope] > JSP content </nested:empty>

equal <nested:equal
      [cookie]
      [header]
      [name]
      [parameter]
      [property]
      [scope]
      value > JSP content </nested:equal>

errors <nested:errors
      [bundle]
      [locale]
      [name]
      [property] />

file <nested:file
      [accesskey]
      [accept]
      [alt]
      [altKey]
      [disabled]
      [indexed]
      [maxlength]
      [name]
      [onblur]
      [onchange]
      [onclick]
      [ondblclick]
      [onfocus]
      [onkeydown]
      [onkeypress]
      [onkeyup]
      [onmousedown]
      [onmousemove]
      [onmouseout]
      [onmouseover]
      [onmouseup]
      property
      [size]
      [style]
      [styleClass]
      [styleId]
      [tabindex]
      [title]
      [titleKey]
      [value] />

form <nested:form
      action
      [enctype]
      [focus]
      [method]
      [name]
      [onreset]
      [onsubmit]
      [scope]
      [style]
      [styleClass]
      [styleId]
      [target]
      [type] > JSP content </nested:form>

greaterEqual <nested:greaterEqual
      [cookie]
      [header]
      [name]
      [parameter]
      [property]
      [scope]
      value > JSP content </nested:greaterEqual>

greaterThan <nested:greaterThan
      [cookie]
      [header]
      [name]
      [parameter]
      [property]
      [scope]
      value > JSP content </nested:greaterThan>

hidden <nested:hidden
      [alt]
      [altKey]
      [indexed]
      [name]
      property
      [title]
      [titleKey]
      [value] />

image <nested:image
      [accesskey]
      [align]
      [alt]
      [altKey]
      [border]
      [bundle]
      [disabled]
      [indexed]
      [locale]
      [onblur]
      [onchange]
      [onclick]
      [ondblclick]
      [onfocus]
      [onkeydown]
      [onkeypress]
      [onkeyup]
      [onmousedown]
      [onmousemove]
      [onmouseout]
      [onmouseover]
      [onmouseup]
      [page]
      [pageKey]
      [property]
      [src]
      [srcKey]
      [style]
      [styleClass]
      [tabindex]
      [title]
      [titleKey]
      [value] />

img <nested:img
      [accesskey]
      [align]
      [alt]
      [altKey]
      [border]
      [bundle]
      [height]
      [hspace]
      [imageName]
      [ismap]
      [locale]
      [lowsrc]
      [name]
      [onkeydown]
      [onkeypress]
      [onkeyup]
      [paramId]
      [page]
      [pageKey]
      [paramName]
      [paramProperty]
      [paramScope]
      [property]
      [scope]
      [src]
      [srcKey]
      [style]
      [styleClass]
      [styleId]
      [title]
      [titleKey]
      [usemap]
      [vspace]
      [width] />

iterate <nested:iterate
      [collection]
      [id]
      [indexId]
      [length]
      [name]
      [offset]
      [property]
      [scope]
      [type] > JSP content </nested:iterate>

lessEqual <nested:lessEqual
      [cookie]
      [header]
      [name]
      [parameter]
      [property]
      [scope]
      value > JSP content </nested:lessEqual>

lessThan <nested:lessThan
      [cookie]
      [header]
      [name]
      [parameter]
      [property]
      [scope]
      value > JSP content </nested:lessThan>

link <nested:link
      [accesskey]
      [anchor]
      [forward]
      [href]
      [indexed]
      [indexId]
      [linkName]
      [name]
      [onblur]
      [onclick]
      [ondblclick]
      [onfocus]
      [onkeydown]
      [onkeypress]
      [onkeyup]
      [onmousedown]
      [onmousemove]
      [onmouseout]
      [onmouseover]
      [onmouseup]
      [page]
      [paramId]
      [paramName]
      [paramProperty]
      [paramScope]
      [property]
      [scope]
      [style]
      [styleClass]
      [styleId]
      [tabindex]
      [target]
      [title]
      [titleKey]
      [transaction] />

match <nested:match
      [cookie]
      [header]
      [location]
      [name]
      [parameter]
      [property]
      [scope]
      value > JSP content </nested:match>

message <nested:message
      [arg0]
      [arg1]
      [arg2]
      [arg3]
      [arg4]
      [bundle]
      [key]
      [locale]
      [name]
      [property]
      [scope] />

messages <nested:messages
      id
      [bundle]
      [locale]
      [name]
      [property]
      [header]
      [footer]
      [message] > JSP content </nested:messages>

messagesNotPresent <nested:messagesNotPresent
      [name]
      [property]
      [message] > JSP content </nested:messagesNotPresent>

messagesPresent <nested:messagesPresent
      [name]
      [property]
      [message] > JSP content </nested:messagesPresent>

multibox <nested:multibox
      [accesskey]
      [alt]
      [altKey]
      [disabled]
      [name]
      [onblur]
      [onchange]
      [onclick]
      [ondblclick]
      [onfocus]
      [onkeydown]
      [onkeypress]
      [onkeyup]
      [onmousedown]
      [onmousemove]
      [onmouseout]
      [onmouseover]
      [onmouseup]
      property
      [style]
      [styleClass]
      [styleId]
      [tabindex]
      [title]
      [titleKey]
      [value] />

nest <nested:nest
      [property] > JSP content </nested:nest>

notEmpty <nested:notEmpty
      [name]
      [property]
      [scope] > JSP content </nested:notEmpty>

notEqual <nested:notEqual
      [cookie]
      [header]
      [name]
      [parameter]
      [property]
      [scope]
      value > JSP content </nested:notEqual>

notMatch <nested:notMatch
      [cookie]
      [header]
      [location]
      [name]
      [parameter]
      [property]
      [scope]
      value > JSP content </nested:notMatch>

notPresent <nested:notPresent
      [cookie]
      [header]
      [name]
      [parameter]
      [property]
      [role]
      [scope]
      [user] > JSP content </nested:notPresent>

options <nested:options
      [collection]
      [labelName]
      [labelProperty]
      [name]
      [property]
      [style]
      [styleClass] />

optionsCollection <nested:optionsCollection
      [label]
      [name]
      property
      [style]
      [styleClass]
      [value] />

password <nested:password
      [accesskey]
      [alt]
      [altKey]
      [disabled]
      [indexed]
      [maxlength]
      [name]
      [onblur]
      [onchange]
      [onclick]
      [ondblclick]
      [onfocus]
      [onkeydown]
      [onkeypress]
      [onkeyup]
      [onmousedown]
      [onmousemove]
      [onmouseout]
      [onmouseover]
      [onmouseup]
      property
      [readonly]
      [redisplay]
      [style]
      [styleClass]
      [styleId]
      [size]
      [tabindex]
      [title]
      [titleKey]
      [value] />

present <nested:present
      [cookie]
      [header]
      [name]
      [parameter]
      [property]
      [role]
      [scope]
      [user] > JSP content </nested:present>

radio <nested:radio
      [accesskey]
      [alt]
      [altKey]
      [disabled]
      [indexed]
      [name]
      [onblur]
      [onchange]
      [onclick]
      [ondblclick]
      [onfocus]
      [onkeydown]
      [onkeypress]
      [onkeyup]
      property
      [onmousedown]
      [style]
      [styleClass]
      [styleId]
      [tabindex]
      [title]
      [titleKey]
      value />

root <nested:root
      [name] > JSP content </nested:root>

select <nested:select
      [accesskey]
      [alt]
      [altKey]
      [disabled]
      [indexed]
      [multiple]
      [name]
      [onblur]
      [onchange]
      [onclick]
      [ondblclick]
      [onfocus]
      [onkeydown]
      [onkeypress]
      [onkeyup]
      [onmousedown]
      [onmousemove]
      [onmouseout]
      [onmouseover]
      [onmouseup]
      property
      [style]
      [styleClass]
      [styleId]
      [tabindex]
      [size]
      [title]
      [titleKey]
      [value] > JSP content </nested:select>

size <nested:size
      [collection]
      id
      [name]
      [property]
      [scope] />

submit <nested:submit
      [accesskey]
      [alt]
      [altKey]
      [disabled]
      [indexed]
      [onblur]
      [onchange]
      [onclick]
      [ondblclick]
      [onfocus]
      [onkeydown]
      [onkeypress]
      [onkeyup]
      [onmousedown]
      [onmousemove]
      [onmouseout]
      [onmouseover]
      [onmouseup]
      [property]
      [style]
      [styleClass]
      [styleId]
      [tabindex]
      [title]
      [titleKey]
      [value] />

text <nested:text
      [accesskey]
      [alt]
      [altKey]
      [disabled]
      [indexed]
      [maxlength]
      [name]
      [onblur]
      [onchange]
      [onclick]
      [ondblclick]
      [onfocus]
      [onkeydown]
      [onkeypress]
      [onkeyup]
      [onmousedown]
      [onmousemove]
      [onmouseout]
      [onmouseover]
      [onmouseup]
      property
      [readonly]
      [size]
      [style]
      [styleClass]
      [styleId]
      [tabindex]
      [title]
      [titleKey]
      [value] />

textarea <nested:textarea
      [accesskey]
      [alt]
      [altKey]
      [cols]
      [disabled]
      [indexed]
      [name]
      [onblur]
      [onchange]
      [onclick]
      [ondblclick]
      [onfocus]
      [onkeydown]
      [onkeypress]
      [onkeyup]
      [onmousedown]
      [onmousemove]
      [onmouseout]
      [onmouseover]
      [onmouseup]
      property
      [readonly]
      [rows]
      [style]
      [styleClass]
      [styleId]
      [tabindex]
      [title]
      [titleKey]
      [value] />

write <nested:write
      [bundle]
      [filter]
      [format]
      [formatKey]
      [ignore]
      [locale]
      [name]
      [property]
      [scope] />

writeNesting <nested:writeNesting
      [property]
      [filter] > JSP content </nested:writeNesting>

 


Strutsの使用

リファレンス: Strutsタグ・ライブラリ