Struts nested tags

This documentation describes the HTML elements that are available in the Struts Nested Tags drawer.

Nested tags and supporting classes extend the base Struts tags to let them relate to each other in a nested relationship. The fundamental logic of the original tags does not change except that all references to beans and bean properties are managed in a nested context.

When you are editing a Struts JSP page in Page Designer, you can open the Struts Nested Tags drawer on the palette and add to the page any of the elements that are listed in the table below. The Nested Tags drawer is hidden by default. To make it visible, right-click the palette and customize it.

The elements are listed in alphabetical order. Some elements may be hidden on the palette. To show a hidden element in the palette, right-click the Struts HTML Tags drawer and choose Customize. Remove the check next to Hide for each component that you want to display on the palette.

Each element has a number of properties you can set by using the element's Properties view. For an alphabetical listing and description of all the properties, refer to Properties for Struts bean elements. To look up properties for which you want additional detail, use the Attribute listings while working with the component's Properties view.

For each element in the table, the tag has a nested prefix. For example, checkbox is nested:checkbox.

Element Description
checkbox Extends the html:checkbox tag.
define Extends the bean:define tag.
empty Extends the logic:empty tag.
equal Extends the logic:equal tag.
errors Extends the html:errors tag.
file Extends the html:file tag.
form Extends the html:form tag.
greaterEqual Extends the logic:greaterEqual tag.
greaterThan Extends the logic:greaterThan tag.
hidden Extends the html:hidden tag.
image Extends the html:image tag.
img Extends the html:img tag.
iterate Extends the logic:iterate tag.
lessEqual Extends the logic:lessEqual tag.
lessThan Extends the logic:lessThan tag.
link Extends the html:link tag.
match Extends the logic:match tag.
message Extends the bean:message tag.
messages Extends the html:messages tag.
messagesNotPresent Extends the logic:messagesNotPresent tag.
messagesPresent Extends the logic:messagesPresent tag.
multibox Extends the html:multibox tag.
nest Defines a new level of nesting for child tags to reference.
notEmpty Extends the logic:notEmpty tag.
notEqual Extends the logic:notEqual tag.
notMatch Extends the logic:notMatch tag.
notPresent Extends the logic:notPresent tag.
options Extends the html:options tag.
optionsCollection Extends the html:optionsCollection tag.
password Extends the html:password tag.
present Extends the logic:present tag.
radio Extends the html:radio tag.
root Starts a nested hierarchy without the need for a form.
select Extends the html:select tag.
size Extends the bean:size tag.
submit Extends the html:submit tag.
text Extends the html:text tag.
textarea Extends the html:textarea tag.
write Extends the bean:write tag.
writeNesting Writes or makes a scripting variable of the current nesting level.

 

Related tasks

Adding Struts tags to a JSP file

Related reference
Struts bean tags
Struts HTML tags
Struts logic tags
Struts tiles tags
Struts drawers on the Web tools palette

Feedback