public static ActionErrors | toActionErrors(ValidationErrors validationErrors, Locale locale)
Convert the errors to instances of ActionError for use in
a Struts project.
Parameters: locale - Current system locale we should use in error messagetexts. Parameters: validationErrors - contains error references which should beconverted to plain text errors. |