It will do a getText("'invalid.fieldvalue.user.dob'") so if you provide
that message in either your Action's resource bundle or a default
resource bundle it will pull up your message.

> -----Original Message-----
> From: Francisco Hernandez [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, November 20, 2003 1:34 AM
> To: [EMAIL PROTECTED]
> Subject: [OS-webwork] how do i change the error message for 
> badly inputted fields?
> 
> 
> i have a field of type Date, if i put in junk as the input 
> ill get this 
> message:
> 
> Invalid field value for field "user.dob".
> 
> how can i change this message to something more friendly like 
> "Please input a value for Date of Birth, example: 03/18/1980)"
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program. 
> Does SourceForge.net help you be more productive?  Does it 
> help you create better code?  SHARE THE LOVE, and help us 
> help YOU!  Click Here: http://sourceforge.net/donate/ 
> _______________________________________________
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to