Re: Error Message for Struts Validation

2004-10-01 Thread Caroline Jen
Thanks for your help. The explanation is very clear. --- Matt Bathje <[EMAIL PROTECTED]> wrote: > I've never used the attribute myself, but I > think when you do, you > need to specify the key, and a name attribute for > which validation the > message applies to. So in your case it would be: >

Re: Error Message for Struts Validation

2004-09-30 Thread Matt Bathje
I've never used the attribute myself, but I think when you do, you need to specify the key, and a name attribute for which validation the message applies to. So in your case it would be: You may also need to specify a bundle and resource attribute, but I don't think so in your case. The erro

Error Message for Struts Validation

2004-09-30 Thread Caroline Jen
I use the validation.xml to validate the properties in my form bean. The validation works; but, the error messages do not work as I expected. While I have customized error messages prepared, the error message displayed in the browser window for my intentional violation are like: . null is require