Interface FormattableForm
- All Superinterfaces:
Form
- All Known Implementing Classes:
AbstractFormattableForm
Interface for Struts 2 forms that can be processed by
FormFormatterInterceptor and
StrutsMiscellaneousLibrary#updateDisplay.-
Method Summary
Modifier and TypeMethodDescriptionformat()Returns formatted text and/or sets string fields from unprocessed form fields of the implementing class.Methods inherited from interface name.matthewgreet.strutscommons.form.Form
doValidate, doValidate2, manualParameterConvert, resetFields
-
Method Details
-
format
FormatResult format()Returns formatted text and/or sets string fields from unprocessed form fields of the implementing class. This is the reverse of
Form#manualParameterConvertandValidateable#validate.Unprocessed form fields are those not processed by
FormFormatterInterceptorfor a number of reasons.- Form field is a string, string array, or string collection, which are already formatted.
- Form field is annotated with
ManualParameterConversion. - Form field is a non-string array.
- Form field is a non-string collection without a converter annotation.
-