...
- Standard two-column table layout for the HTML Struts Tags (form, textfield, select, and so forth)
- Labels for each of the HTML Struts Tags on the left hand side (or top, depending on the
labelposition
attribute) - Validation and error reporting
- Pure JavaScript Client Side Validation using 100% JavaScript on the browser
...
The xhtml form template sets up the wrapping table around all the other xhtml theme form elements. In addition to creating this wrapping table, the opening and closing templates also, if the validate
parameter is set to true, enable Pure JavaScript Client Side Validation.
Wiki Markup |
---|
{snippet:id=all|lang=xml|url=struts2/core/src/main/resources/template/xhtml/form.ftl} |
...