Table 8-2.
Continued
Macro Description
Velocity
FreeMarker
formRadioButtons
#springFormRadioButtons($path $options $separator $attributes) <@spring.formRadioButtons path,
(a set of radio buttons
options separator, attributes/>
allowing a single selection to be made from the available choices)formCheckboxes
#springFormCheckboxes($path $options $separator $attributes) <@spring.formCheckboxes path, options,
(a set of check boxes
separator, attributes/>
allowing 0 or more values to be selected)showErrors
(simplify
#springShowErrors($separator $classOrStyle) <@spring.showErrors separator,
display of validation
classOrStyle/>
errors for the bound field)
244 CHAPTER 8 ■SUPPORTED VIEW TYPES