Interface FormattableForm
- All Superinterfaces:
Form
- All Known Implementing Classes:
AbstractFormattableForm
Interface for Struts 2 forms that can be processed by
FormFormatterInterceptor and
StrutsMiscellaneousLibrary.updateDisplay(java.lang.Class<?>, java.lang.Object, java.lang.Object).-
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, 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.manualParameterConvert(java.util.Map<java.lang.String, java.lang.String>, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.TextProvider)andValidateable.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.
-