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 from unprocessed form fields of the implementing class.Methods inherited from interface name.matthewgreet.strutscommons.form.Form
doValidate, manualParameterConvert, resetFields
-
Method Details
-
format
FormatResult format()Returns formatted text 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 annotated with
ManualParameterConversion. - Form field is a non-string single value, array, or collection with no converter/list converter annotation and no default converter/list converter exists.
- Form field is annotated with
-