Struts HTML tags
When you are editing a Struts JavaServer Pages (JSP) page in Page Designer, you can open the Struts HTML Tags drawer on the palette and add to the page any of the elements that are listed in the table below.
The tags are listed in alphabetical order. Some tags may be hidden on the palette. To show a hidden tag in the palette, right-click the tags drawer and select Customize. Clear the Hide check box for each component that you want to display on the palette.
Each tag has a number of attributes you can set by using the Properties view of the tag. For an alphabetical listing and description of all the attributes, refer to the related reference. To look up attributes for which you want additional detail, use the Attribute listings while working with the Properties view of the tag.
Each tag has an html prefix. For example, base is html:base.
| Element | Description |
|---|---|
| Base | Renders an HTML base element. |
| Button | Renders a button input field. |
| Cancel | Renders a Cancel button. |
| Check Box | Renders a check-box input field. |
| Errors | Conditionally displays a set of accumulated error messages. |
| File | Renders a file-select input field. |
| Form | Defines an input form. |
| Frame | Renders an HTML frame element. |
| Hidden | Renders a hidden field. |
| Image | Renders an input tag of type image. |
| Img | Renders an HTML img tag. |
| Javascript | Renders JavaScript validation based on the validation rules loaded by the ValidatorPlugIn. |
| Link | Renders an HTML anchor or hyperlink. |
| Messages | Conditionally displays a set of accumulated messages. |
| Multibox | Renders a check-box input field. |
| Option | Render a select option. |
| Options | Renders a collection of select options. |
| Options Collection | Renders a collection of select options. |
| Password | Renders a password input field. |
| Radio | Render a radio button input field. |
| Reset | Render a reset button input field. |
| Rewrite | Renders a universal resource identifier (URI). |
| Select | Renders a select element. |
| Submit | Renders a Submit button. |
| Text | Renders a text input field. |
| Text Area | Renders a text area. |
| Xhtml | Renders HTML tags as XHTML. |