Hi,

It has been done by "/xwork-core/src/main/java/com/opensymphony/xwork2/conversion/impl/XWorkConverter.java" inside Struts.

"By default, all conversion errors are reported using the generic i18n key xwork.default.invalid.fieldvalue, which you can override (the default text is Invalid field value for field "xxx", where xxx is the field name) in your global i18n resource bundle."

Reference: http://struts.apache.org/release/2.3.x/docs/type-conversion.html#TypeConversion-TypeConversionErrorHandling

On 12/27/2013 06:40 PM, Chris wrote:
Hello,

Testing the  Age (int age ) value with space or some letters, with
https://svn.apache.org/repos/asf/struts/sandbox/trunk/struts2examples/annotations/
I don't understand where the message " Invalid field value
for field 'personBean.age'." come from ( and the red color too)

 From convention.plugin or anything else  ?

Chris


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to