The Apache Project

Struts Nested Tags

[Since Struts 1.1]

This tag library brings a nested context to the functionality of the Struts custom tag library.

It's written in a layer that extends the current Struts tags, building on their logic and functionality. The layer enables the tags to be aware of the tags which surround them so they can correctly provide the nesting property reference to the Struts system.

It's all about nesting beans...
A bean holds a reference to another bean internally, and all access to that bean is handled through the current bean. This act of having one bean's access go through another bean is known as "nesting beans". The first bean is known as the parent bean. The bean which it references, is known as a child bean. The terms "parent" and "child" are commonly used to describe the model's hierarchy.

A simple example...
Take an object which represents a monkey. The monkey's job is to pick bunches of bananas. On each bunch picked hangs many bananas. If this case was translated to bean objects, the monkey object would have a reference to the bunch objects he picked, and each bunch object would hold a reference to the bananas hanging in the bunch.

To describe this...
The monkey object is the parent to the bunch object, and the bunch object is a child of the monkey object. The bunch object is parent to its child banana objects, and the child banana objects children of the bunch object. The monkey is higher in the hierarchy than the bananas, and the bananas lower in the hierarchy to the bunches.

One special term to remember is for the most parent class, which is known as the "root" object which starts the hierarchy.

Nested tags are all about efficiently managing this style of hierarchy structure within your JSP markup.

Important Note: Nearly all these tags extend tags from other libraries to bring their functionality into the nested context. Nesting relies on the tags working against the one bean model, and managing the properties so that they become relative to the properties they are nested within. In doing so, the tags will set the "name" attribute internally (where applicable), and in many cases will rely on the "property" attribute being set so it can be updated internally to become nested. The original tags on occasion provide options that don't use the "name" and "property" attributes. These uses will then fall outside the nested context, and will most likely cause error. To take advantage of these options, markup using the original tag for these cases. For an example see the <nested:options> tag.

Tag Name Description
nest Defines a new level of nesting for child tags to reference to
writeNesting Writes or makes a scripting variable of the current nesting level.
root To start off a nested hierarchy without the need for a form
define Nested Extension - Define a scripting variable based on the value(s) of the specified bean property.
message Nested Extension - Render an internationalized message string to the response.
size Nested Extension - Define a bean containing the number of elements in a Collection or Map.
write Nested Extension - Render the value of the specified bean property to the current JspWriter.
checkbox Nested Extension - Render A Checkbox Input Field
errors Nested Extension - Conditionally display a set of accumulated error messages.
file Nested Extension - Render A File Select Input Field
form Nested Extension - Define An Input Form
hidden Nested Extension - Render A Hidden Field
image Nested Extension - Render an input tag of type "image"
img Nested Extension - Render an HTML "img" tag
link Nested Extension - Render an HTML anchor or hyperlink
messages Nested Extension - Conditionally display a set of accumulated messages.
multibox Nested Extension - Render A Checkbox Input Field
options Nested Extension - Render a Collection of Select Options
optionsCollection Nested Extension - Render a Collection of Select Options
password Nested Extension - Render A Password Input Field
radio Nested Extension - Render A Radio Button Input Field
select Nested Extension - Render A Select Element
submit Nested Extension - Render A Submit Button
text Nested Extension - Render An Input Field of Type text
textarea Nested Extension - Render A Textarea
empty Nested Extension - Evaluate the nested body content of this tag if the requested variable is either null or an empty string.
equal Nested Extension - Evaluate the nested body content of this tag if the requested variable is equal to the specified value.
greaterEqual Nested Extension - Evaluate the nested body content of this tag if the requested variable is greater than or equal to the specified value.
greaterThan Nested Extension - Evaluate the nested body content of this tag if the requested variable is greater than the specified value.
iterate Nested Extension - Repeat the nested body content of this tag over a specified collection.
lessEqual Nested Extension - Evaluate the nested body content of this tag if the requested variable is greater than or equal to the specified value.
lessThan Nested Extension - Evaluate the nested body content of this tag if the requested variable is less than the specified value.
match Nested Extension - Evaluate the nested body content of this tag if the specified value is an appropriate substring of the requested variable.
messagesNotPresent Nested Extension - Generate the nested body content of this tag if the specified message is not present in this request.
messagesPresent Nested Extension - Generate the nested body content of this tag if the specified message is present in this request.
notEmpty Nested Extension - Evaluate the nested body content of this tag if the requested variable is neither null nor an empty string.
notEqual Nested Extension - Evaluate the nested body content of this tag if the requested variable is not equal to the specified value.
notMatch Nested Extension - Evaluate the nested body content of this tag if the specified value is not an appropriate substring of the requested variable.
notPresent Nested Extension - Generate the nested body content of this tag if the specified value is not present in this request.
present Nested Extension - Generate the nested body content of this tag if the specified value is present in this request.

nest - Defines a new level of nesting for child tags to reference to

This tag provides a simple method of defining a logical nesting level in the nested hierarchy. It run no explicit logic, is simply a place holder. It also means you can remove the need for explicit setting of level properties in child tags.

Just as the iterate tag provide a parent to other tags, this does the same but there is no logic for iterating or otherwise.

Example...

<nested:write property="myNestedLevel.propertyOne" />
<nested:write property="myNestedLevel.propertyTwo" />
<nested:write property="myNestedLevel.propertyThree" />
      

Can instead become...

<nested:nest property="myNestedLevel" >
  <nested:write property="propertyOne" />
  <nested:write property="propertyTwo" />
  <nested:write property="propertyThree" />
</nested:nest >
      
Attribute Name Description
property This specifies the property by which this tag and all child tags will be relative to. [RT Expr]

Back to top

writeNesting - Writes or makes a scripting variable of the current nesting level.

This tag provides a way of accessing the nested property reference used by the nested tags. Can expose a scripting variable, or simply write out the value.
Attribute Name Description
property If not supplied, will simply write out as if "./" or "this/" was supplied. [RT Expr]
id If id is supplied, then what would have been written out into the response stream, will instead be made available as a String object defined by the variable name provided. [RT Expr]
filter true/false value, describing to the tag if the result if to be URLEncoded. Helps JavaScript along if the result is required for URL hacking. [RT Expr]

Back to top

root - To start off a nested hierarchy without the need for a form

This tag is provided to allow the nested tags to find a common bean reference without the need for a form and its relative overhead. As long as the name attribute of this tag matches the name of a bean in scope of the JSP (ie: Struts tags can find it via usual means). For example you can load a bean for use with the jsp:useBean tag.

The tag can also be used without specifying the name attribute, but this is only in the case that the current JSP is a dynamic include specified in another file. You will not be able to run the tag without a name unless this inclusion is in place. Otherwise the nested tags will not have the bean and property references that they need to provide their logic.

Note: The access to a bean via the name attribute takes priority over looking for the reference from other parent tags. So if a name is specified, a bean will have to be there waiting for it. It was made this way so that you could use separate beans within a JSP that itself is an inclusion into another.

Attribute Name Description
name The name of the bean by which all child nested tags will derive their bean reference from. [RT Expr]

Back to top

define - Nested Extension - Define a scripting variable based on the value(s) of the specified bean property.

This tag is an extension of the <bean:define> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
id [Required] [RT Expr]
name [RT Expr]
property [RT Expr]
scope [RT Expr]
toScope [RT Expr]
type [RT Expr]
value [RT Expr]

Back to top

message - Nested Extension - Render an internationalized message string to the response.

This tag is an extension of the <bean:message> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
arg0 [RT Expr]
arg1 [RT Expr]
arg2 [RT Expr]
arg3 [RT Expr]
arg4 [RT Expr]
bundle [RT Expr]
key [RT Expr]
locale [RT Expr]
name [RT Expr]
property [RT Expr]
scope [RT Expr]

Back to top

size - Nested Extension - Define a bean containing the number of elements in a Collection or Map.

This tag is an extension of the <bean:size> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
collection [RT Expr]
id [Required] [RT Expr]
name [RT Expr]
property [RT Expr]
scope [RT Expr]

Back to top

write - Nested Extension - Render the value of the specified bean property to the current JspWriter.

This tag is an extension of the <bean:write> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
bundle [RT Expr]
filter [RT Expr]
format [RT Expr]
formatKey [RT Expr]
ignore [RT Expr]
locale [RT Expr]
name [RT Expr]
property [RT Expr]
scope [RT Expr]

Back to top

checkbox - Nested Extension - Render A Checkbox Input Field

This tag is an extension of the <html:checkbox> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
accesskey [RT Expr]
alt [RT Expr]
altKey [RT Expr]
bundle

Since: Struts 1.2.7

[RT Expr]
disabled [RT Expr]
errorKey

Since: Struts 1.2.5

[RT Expr]
errorStyle

Since: Struts 1.2.5

[RT Expr]
errorStyleClass

Since: Struts 1.2.5

[RT Expr]
errorStyleId

Since: Struts 1.2.5

[RT Expr]
indexed [RT Expr]
name [RT Expr]
onblur [RT Expr]
onchange [RT Expr]
onclick [RT Expr]
ondblclick [RT Expr]
onfocus [RT Expr]
onkeydown [RT Expr]
onkeypress [RT Expr]
onkeyup [RT Expr]
onmousedown [RT Expr]
onmousemove [RT Expr]
onmouseout [RT Expr]
onmouseover [RT Expr]
onmouseup [RT Expr]
property [Required] [RT Expr]
style [RT Expr]
styleClass [RT Expr]
styleId [RT Expr]
tabindex [RT Expr]
title [RT Expr]
titleKey [RT Expr]
value [RT Expr]

Back to top

errors - Nested Extension - Conditionally display a set of accumulated error messages.

This tag is an extension of the <html:errors> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
bundle [RT Expr]
footer

Since: Struts 1.2.5

[RT Expr]
header

Since: Struts 1.2.5

[RT Expr]
locale [RT Expr]
name [RT Expr]
prefix

Since: Struts 1.2.5

[RT Expr]
property [RT Expr]
suffix

Since: Struts 1.2.5

[RT Expr]

Back to top

file - Nested Extension - Render A File Select Input Field

This tag is an extension of the <html:file> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
accesskey [RT Expr]
accept [RT Expr]
alt [RT Expr]
altKey [RT Expr]
bundle

Since: Struts 1.2.7

[RT Expr]
disabled [RT Expr]
errorKey

Since: Struts 1.2.5

[RT Expr]
errorStyle

Since: Struts 1.2.5

[RT Expr]
errorStyleClass

Since: Struts 1.2.5

[RT Expr]
errorStyleId

Since: Struts 1.2.5

[RT Expr]
indexed [RT Expr]
maxlength [RT Expr]
name [RT Expr]
onblur [RT Expr]
onchange [RT Expr]
onclick [RT Expr]
ondblclick [RT Expr]
onfocus [RT Expr]
onkeydown [RT Expr]
onkeypress [RT Expr]
onkeyup [RT Expr]
onmousedown [RT Expr]
onmousemove [RT Expr]
onmouseout [RT Expr]
onmouseover [RT Expr]
onmouseup [RT Expr]
property [Required] [RT Expr]
size [RT Expr]
style [RT Expr]
styleClass [RT Expr]
styleId [RT Expr]
tabindex [RT Expr]
title [RT Expr]
titleKey [RT Expr]
value [RT Expr]

Back to top

form - Nested Extension - Define An Input Form

This tag is an extension of the <html:form> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
action [Required] [RT Expr]
acceptCharset [RT Expr]
disabled

Since: Struts 1.2.7

[RT Expr]
enctype [RT Expr]
focus [RT Expr]
focusIndex [RT Expr]
method [RT Expr]
onreset [RT Expr]
onsubmit [RT Expr]
readonly

Since: Struts 1.2.7

[RT Expr]
scriptLanguage [RT Expr]
style [RT Expr]
styleClass [RT Expr]
styleId [RT Expr]
target [RT Expr]

Back to top

hidden - Nested Extension - Render A Hidden Field

This tag is an extension of the <html:hidden> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
alt [RT Expr]
altKey [RT Expr]
indexed [RT Expr]
name [RT Expr]
property [Required] [RT Expr]
title [RT Expr]
titleKey [RT Expr]
styleClass [RT Expr]
styleId [RT Expr]
value [RT Expr]
write [RT Expr]

Back to top

image - Nested Extension - Render an input tag of type "image"

This tag is an extension of the <html:image> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
accesskey [RT Expr]
align [RT Expr]
alt [RT Expr]
altKey [RT Expr]
border [RT Expr]
bundle [RT Expr]
disabled [RT Expr]
indexed [RT Expr]
locale [RT Expr]
onblur [RT Expr]
onchange [RT Expr]
onclick [RT Expr]
ondblclick [RT Expr]
onfocus [RT Expr]
onkeydown [RT Expr]
onkeypress [RT Expr]
onkeyup [RT Expr]
onmousedown [RT Expr]
onmousemove [RT Expr]
onmouseout [RT Expr]
onmouseover [RT Expr]
onmouseup [RT Expr]
page [RT Expr]
pageKey [RT Expr]
property [RT Expr]
src [RT Expr]
srcKey [RT Expr]
style [RT Expr]
styleClass [RT Expr]
tabindex [RT Expr]
title [RT Expr]
titleKey [RT Expr]
value [RT Expr]

Back to top

img - Nested Extension - Render an HTML "img" tag

This tag is an extension of the <html:img> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
accesskey [RT Expr]
align [RT Expr]
alt [RT Expr]
altKey [RT Expr]
border [RT Expr]
bundle [RT Expr]
height [RT Expr]
hspace [RT Expr]
imageName [RT Expr]
ismap [RT Expr]
locale [RT Expr]
lowsrc [RT Expr]
name [RT Expr]
onkeydown [RT Expr]
onkeypress [RT Expr]
onkeyup [RT Expr]
paramId [RT Expr]
page [RT Expr]
pageKey [RT Expr]
action [RT Expr]
module [RT Expr]
paramName [RT Expr]
paramProperty [RT Expr]
paramScope [RT Expr]
property [RT Expr]
scope [RT Expr]
src [RT Expr]
srcKey [RT Expr]
style [RT Expr]
styleClass [RT Expr]
styleId [RT Expr]
title [RT Expr]
titleKey [RT Expr]
useLocalEncoding [RT Expr]
usemap [RT Expr]
vspace [RT Expr]
width [RT Expr]

Back to top

This tag is an extension of the <html:link> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
accesskey [RT Expr]
action [RT Expr]
module [RT Expr]
anchor [RT Expr]
forward [RT Expr]
href [RT Expr]
indexed [RT Expr]
indexId [RT Expr]
bundle

Since: Struts 1.2.7

[RT Expr]
linkName [RT Expr]
name [RT Expr]
onblur [RT Expr]
onclick [RT Expr]
ondblclick [RT Expr]
onfocus [RT Expr]
onkeydown [RT Expr]
onkeypress [RT Expr]
onkeyup [RT Expr]
onmousedown [RT Expr]
onmousemove [RT Expr]
onmouseout [RT Expr]
onmouseover [RT Expr]
onmouseup [RT Expr]
page [RT Expr]
paramId [RT Expr]
paramName [RT Expr]
paramProperty [RT Expr]
paramScope [RT Expr]
property [RT Expr]
scope [RT Expr]
style [RT Expr]
styleClass [RT Expr]
styleId [RT Expr]
tabindex [RT Expr]
target [RT Expr]
title [RT Expr]
titleKey [RT Expr]
transaction [RT Expr]
useLocalEncoding [RT Expr]

Back to top

messages - Nested Extension - Conditionally display a set of accumulated messages.

This tag is an extension of the <html:messages> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
id [Required] [RT Expr]
bundle [RT Expr]
locale [RT Expr]
name [RT Expr]
property [RT Expr]
header [RT Expr]
footer [RT Expr]
message [RT Expr]

Back to top

multibox - Nested Extension - Render A Checkbox Input Field

This tag is an extension of the <html:multibox> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
accesskey [RT Expr]
alt [RT Expr]
altKey [RT Expr]
bundle

Since: Struts 1.2.7

[RT Expr]
disabled [RT Expr]
errorKey

Since: Struts 1.2.5

[RT Expr]
errorStyle

Since: Struts 1.2.5

[RT Expr]
errorStyleClass

Since: Struts 1.2.5

[RT Expr]
errorStyleId

Since: Struts 1.2.5

[RT Expr]
name [RT Expr]
onblur [RT Expr]
onchange [RT Expr]
onclick [RT Expr]
ondblclick [RT Expr]
onfocus [RT Expr]
onkeydown [RT Expr]
onkeypress [RT Expr]
onkeyup [RT Expr]
onmousedown [RT Expr]
onmousemove [RT Expr]
onmouseout [RT Expr]
onmouseover [RT Expr]
onmouseup [RT Expr]
property [Required] [RT Expr]
style [RT Expr]
styleClass [RT Expr]
styleId [RT Expr]
tabindex [RT Expr]
title [RT Expr]
titleKey [RT Expr]
value [RT Expr]

Back to top

options - Nested Extension - Render a Collection of Select Options

This tag is an extension of the <html:options> tag. Please consult its documentation for information on tag attributes and usage details.

Note: The nested context of this tag relies on the use of the "property" property, and the internal use of the "name" property. The nested tags rely on these properties and will attempt to set them itself. The <html:options> tag this tag extended allows other options for the tag which don't use these properties. To take advantage of these options, markup using the <html:options> tag instead of the nested tag.

For example, the "collections" option allows you to specify a separate bean reference which itself is a list of objects with properties to access the title and value parts of the html option tag. You can use this in a nested context (the list is a property of a nested bean) by using the nested define tag and the original options tag.

<nested:nest property="myNestedLevel" />
  <nested:define property="collectionList" />
  <html:options collection="collectionList"
                  property="labelProperty"
             valueProperty="valueProperty" />
</nested:nest >
Attribute Name Description
collection [RT Expr]
filter [RT Expr]
labelName [RT Expr]
labelProperty [RT Expr]
name [RT Expr]
property [RT Expr]
style [RT Expr]
styleClass [RT Expr]

Back to top

optionsCollection - Nested Extension - Render a Collection of Select Options

This tag is an extension of the <html:optionsCollection> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
filter [RT Expr]
label [RT Expr]
name [RT Expr]
property [Required] [RT Expr]
style [RT Expr]
styleClass [RT Expr]
value [RT Expr]

Back to top

password - Nested Extension - Render A Password Input Field

This tag is an extension of the <html:password> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
accesskey [RT Expr]
alt [RT Expr]
altKey [RT Expr]
bundle

Since: Struts 1.2.7

[RT Expr]
disabled [RT Expr]
errorKey

Since: Struts 1.2.5

[RT Expr]
errorStyle

Since: Struts 1.2.5

[RT Expr]
errorStyleClass

Since: Struts 1.2.5

[RT Expr]
errorStyleId

Since: Struts 1.2.5

[RT Expr]
indexed [RT Expr]
maxlength [RT Expr]
name [RT Expr]
onblur [RT Expr]
onchange [RT Expr]
onclick [RT Expr]
ondblclick [RT Expr]
onfocus [RT Expr]
onkeydown [RT Expr]
onkeypress [RT Expr]
onkeyup [RT Expr]
onmousedown [RT Expr]
onmousemove [RT Expr]
onmouseout [RT Expr]
onmouseover [RT Expr]
onmouseup [RT Expr]
property [Required] [RT Expr]
readonly [RT Expr]
redisplay [RT Expr]
style [RT Expr]
styleClass [RT Expr]
styleId [RT Expr]
size [RT Expr]
tabindex [RT Expr]
title [RT Expr]
titleKey [RT Expr]
value [RT Expr]

Back to top

radio - Nested Extension - Render A Radio Button Input Field

This tag is an extension of the <html:radio> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
accesskey [RT Expr]
alt [RT Expr]
altKey [RT Expr]
bundle

Since: Struts 1.2.7

[RT Expr]
disabled [RT Expr]
errorKey

Since: Struts 1.2.5

[RT Expr]
errorStyle

Since: Struts 1.2.5

[RT Expr]
errorStyleClass

Since: Struts 1.2.5

[RT Expr]
errorStyleId

Since: Struts 1.2.5

[RT Expr]
indexed [RT Expr]
name [RT Expr]
onblur [RT Expr]
onchange [RT Expr]
onclick [RT Expr]
ondblclick [RT Expr]
onfocus [RT Expr]
onkeydown [RT Expr]
onkeypress [RT Expr]
onkeyup [RT Expr]
property [Required] [RT Expr]
onmousedown [RT Expr]
style [RT Expr]
styleClass [RT Expr]
styleId [RT Expr]
tabindex [RT Expr]
title [RT Expr]
titleKey [RT Expr]
value [Required] [RT Expr]
idName [RT Expr]

Back to top

select - Nested Extension - Render A Select Element

This tag is an extension of the <html:select> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
accesskey [RT Expr]
alt [RT Expr]
altKey [RT Expr]
bundle

Since: Struts 1.2.7

[RT Expr]
disabled [RT Expr]
errorKey

Since: Struts 1.2.5

[RT Expr]
errorStyle

Since: Struts 1.2.5

[RT Expr]
errorStyleClass

Since: Struts 1.2.5

[RT Expr]
errorStyleId

Since: Struts 1.2.5

[RT Expr]
indexed [RT Expr]
multiple [RT Expr]
name [RT Expr]
onblur [RT Expr]
onchange [RT Expr]
onclick [RT Expr]
ondblclick [RT Expr]
onfocus [RT Expr]
onkeydown [RT Expr]
onkeypress [RT Expr]
onkeyup [RT Expr]
onmousedown [RT Expr]
onmousemove [RT Expr]
onmouseout [RT Expr]
onmouseover [RT Expr]
onmouseup [RT Expr]
property [Required] [RT Expr]
style [RT Expr]
styleClass [RT Expr]
styleId [RT Expr]
tabindex [RT Expr]
size [RT Expr]
title [RT Expr]
titleKey [RT Expr]
value [RT Expr]

Back to top

submit - Nested Extension - Render A Submit Button

This tag is an extension of the <html:submit> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
accesskey [RT Expr]
alt [RT Expr]
altKey [RT Expr]
bundle

Since: Struts 1.2.7

[RT Expr]
disabled [RT Expr]
indexed [RT Expr]
onblur [RT Expr]
onchange [RT Expr]
onclick [RT Expr]
ondblclick [RT Expr]
onfocus [RT Expr]
onkeydown [RT Expr]
onkeypress [RT Expr]
onkeyup [RT Expr]
onmousedown [RT Expr]
onmousemove [RT Expr]
onmouseout [RT Expr]
onmouseover [RT Expr]
onmouseup [RT Expr]
property [RT Expr]
style [RT Expr]
styleClass [RT Expr]
styleId [RT Expr]
tabindex [RT Expr]
title [RT Expr]
titleKey [RT Expr]
value [RT Expr]

Back to top

text - Nested Extension - Render An Input Field of Type text

This tag is an extension of the <html:text> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
accesskey [RT Expr]
alt [RT Expr]
altKey [RT Expr]
bundle

Since: Struts 1.2.7

[RT Expr]
disabled [RT Expr]
errorKey

Since: Struts 1.2.5

[RT Expr]
errorStyle

Since: Struts 1.2.5

[RT Expr]
errorStyleClass

Since: Struts 1.2.5

[RT Expr]
errorStyleId

Since: Struts 1.2.5

[RT Expr]
indexed [RT Expr]
maxlength [RT Expr]
name [RT Expr]
onblur [RT Expr]
onchange [RT Expr]
onclick [RT Expr]
ondblclick [RT Expr]
onfocus [RT Expr]
onkeydown [RT Expr]
onkeypress [RT Expr]
onkeyup [RT Expr]
onmousedown [RT Expr]
onmousemove [RT Expr]
onmouseout [RT Expr]
onmouseover [RT Expr]
onmouseup [RT Expr]
property [Required] [RT Expr]
readonly [RT Expr]
size [RT Expr]
style [RT Expr]
styleClass [RT Expr]
styleId [RT Expr]
tabindex [RT Expr]
title [RT Expr]
titleKey [RT Expr]
value [RT Expr]

Back to top

textarea - Nested Extension - Render A Textarea

This tag is an extension of the <html:textarea> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
accesskey [RT Expr]
alt [RT Expr]
altKey [RT Expr]
bundle

Since: Struts 1.2.7

[RT Expr]
cols [RT Expr]
disabled [RT Expr]
errorKey

Since: Struts 1.2.5

[RT Expr]
errorStyle

Since: Struts 1.2.5

[RT Expr]
errorStyleClass

Since: Struts 1.2.5

[RT Expr]
errorStyleId

Since: Struts 1.2.5

[RT Expr]
indexed [RT Expr]
name [RT Expr]
onblur [RT Expr]
onchange [RT Expr]
onclick [RT Expr]
ondblclick [RT Expr]
onfocus [RT Expr]
onkeydown [RT Expr]
onkeypress [RT Expr]
onkeyup [RT Expr]
onmousedown [RT Expr]
onmousemove [RT Expr]
onmouseout [RT Expr]
onmouseover [RT Expr]
onmouseup [RT Expr]
property [Required] [RT Expr]
readonly [RT Expr]
rows [RT Expr]
style [RT Expr]
styleClass [RT Expr]
styleId [RT Expr]
tabindex [RT Expr]
title [RT Expr]
titleKey [RT Expr]
value [RT Expr]

Back to top

empty - Nested Extension - Evaluate the nested body content of this tag if the requested variable is either null or an empty string.

This tag is an extension of the <logic:empty> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
name [RT Expr]
property [RT Expr]
scope [RT Expr]

Back to top

equal - Nested Extension - Evaluate the nested body content of this tag if the requested variable is equal to the specified value.

This tag is an extension of the <logic:equal> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
cookie [RT Expr]
header [RT Expr]
name [RT Expr]
parameter [RT Expr]
property [RT Expr]
scope [RT Expr]
value [Required] [RT Expr]

Back to top

greaterEqual - Nested Extension - Evaluate the nested body content of this tag if the requested variable is greater than or equal to the specified value.

This tag is an extension of the <logic:greaterEqual> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
cookie [RT Expr]
header [RT Expr]
name [RT Expr]
parameter [RT Expr]
property [RT Expr]
scope [RT Expr]
value [Required] [RT Expr]

Back to top

greaterThan - Nested Extension - Evaluate the nested body content of this tag if the requested variable is greater than the specified value.

This tag is an extension of the <logic:greaterThan> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
cookie [RT Expr]
header [RT Expr]
name [RT Expr]
parameter [RT Expr]
property [RT Expr]
scope [RT Expr]
value [Required] [RT Expr]

Back to top

iterate - Nested Extension - Repeat the nested body content of this tag over a specified collection.

This tag is an extension of the <logic:iterate> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
collection [RT Expr]
id [RT Expr]
indexId [RT Expr]
length [RT Expr]
name [RT Expr]
offset [RT Expr]
property [RT Expr]
scope [RT Expr]
type [RT Expr]

Back to top

lessEqual - Nested Extension - Evaluate the nested body content of this tag if the requested variable is greater than or equal to the specified value.

This tag is an extension of the <logic:lessEqual> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
cookie [RT Expr]
header [RT Expr]
name [RT Expr]
parameter [RT Expr]
property [RT Expr]
scope [RT Expr]
value [Required] [RT Expr]

Back to top

lessThan - Nested Extension - Evaluate the nested body content of this tag if the requested variable is less than the specified value.

This tag is an extension of the <logic:lessThan> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
cookie [RT Expr]
header [RT Expr]
name [RT Expr]
parameter [RT Expr]
property [RT Expr]
scope [RT Expr]
value [Required] [RT Expr]

Back to top

match - Nested Extension - Evaluate the nested body content of this tag if the specified value is an appropriate substring of the requested variable.

This tag is an extension of the <logic:match> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
cookie [RT Expr]
header [RT Expr]
location [RT Expr]
name [RT Expr]
parameter [RT Expr]
property [RT Expr]
scope [RT Expr]
value [Required] [RT Expr]

Back to top

messagesNotPresent - Nested Extension - Generate the nested body content of this tag if the specified message is not present in this request.

This tag is an extension of the <logic:messagesNotPresent> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
name [RT Expr]
property [RT Expr]
message [RT Expr]

Back to top

messagesPresent - Nested Extension - Generate the nested body content of this tag if the specified message is present in this request.

This tag is an extension of the <logic:messagesPresent> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
name [RT Expr]
property [RT Expr]
message [RT Expr]

Back to top

notEmpty - Nested Extension - Evaluate the nested body content of this tag if the requested variable is neither null nor an empty string.

This tag is an extension of the <logic:notEmpty> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
name [RT Expr]
property [RT Expr]
scope [RT Expr]

Back to top

notEqual - Nested Extension - Evaluate the nested body content of this tag if the requested variable is not equal to the specified value.

This tag is an extension of the <logic:notEqual> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
cookie [RT Expr]
header [RT Expr]
name [RT Expr]
parameter [RT Expr]
property [RT Expr]
scope [RT Expr]
value [Required] [RT Expr]

Back to top

notMatch - Nested Extension - Evaluate the nested body content of this tag if the specified value is not an appropriate substring of the requested variable.

This tag is an extension of the <logic:notMatch> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
cookie [RT Expr]
header [RT Expr]
location [RT Expr]
name [RT Expr]
parameter [RT Expr]
property [RT Expr]
scope [RT Expr]
value [Required] [RT Expr]

Back to top

notPresent - Nested Extension - Generate the nested body content of this tag if the specified value is not present in this request.

This tag is an extension of the <logic:notPresent> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
cookie [RT Expr]
header [RT Expr]
name [RT Expr]
parameter [RT Expr]
property [RT Expr]
role [RT Expr]
scope [RT Expr]
user [RT Expr]

Back to top

present - Nested Extension - Generate the nested body content of this tag if the specified value is present in this request.

This tag is an extension of the <logic:present> tag. Please consult its documentation for information on tag attributes and usage details.

Attribute Name Description
cookie [RT Expr]
header [RT Expr]
name [RT Expr]
parameter [RT Expr]
property [RT Expr]
role [RT Expr]
scope [RT Expr]
user [RT Expr]

Back to top