GeeCON Prague 2014*
The moose likes Struts and the fly likes validwhen returns required error messge Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "validwhen returns required error messge" Watch "validwhen returns required error messge" New topic
Author

validwhen returns required error messge

Hiroyuki Suzuki
Greenhorn

Joined: Jul 25, 2007
Posts: 24
hello guys!
by default, validwhen uses required error message,
How can I overwrite the required error message instead
use invalid error message for my validwhen validation?
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
If you add a <msg> stanza, it will substitute your message for the default message. Example:


Merrill
Consultant, Sima Solutions
Hiroyuki Suzuki
Greenhorn

Joined: Jul 25, 2007
Posts: 24
thank you very much..
it works now...
 
GeeCON Prague 2014
 
subject: validwhen returns required error messge