Re: Conversion error message

Prasanth Pasala <[email protected]> Wed, 12 Mar 2025 09:17:57 -0500
Newsgroups gmane.comp.jakarta.struts.user
Organization The Pangburn Group
Message-ID <[email protected]>
Thank you.

On 3/12/25 12:57 AM, Lukasz Lenart wrote:
> pon., 10 mar 2025 o 18:10 Prasanth<[email protected]>  napisał(a):
>
>> com.opensymphony.xwork2.validator.annotations.ConversionErrorFieldValidator
>> Are we supposed to use this annotation for a method to override the
>> default validator?
>>
> This annotation only exposes any conversion errors for a given field. It
> doesn't override anything. If you want to define a different message, using
> .properties file is the solution.
> https://struts.apache.org/core-developers/type-conversion.html#type-conversion-error-handling
>
> Regards
> Łukasz
>