Take a look at the localization section in our documentation, and override the messages for those validation error keys.
Don On 7/6/07, Wei Xu <[EMAIL PROTECTED]> wrote:
In my scenario, I didn't use any Struts validation frame. <s:textfield name="field1" /> Here, "field1" is a numeric field in Java bean. If I input a validate numeric, for instance, a random string, there is an error validation message appearing automatially by Struts. >>Invalid field value for field "field1" My question is how I could generate a self-defined string instead of this system validation message. Thanks. _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]