Jason Carreira wrote:
Create a Jira... You just want another level of defaulting, right? If there's a message for the key, it's used. Otherwise, if there's a default message, it's used. If there's no default message and the key is provided then use the key, right?
-----Original Message-----
From: Francisco Hernandez [mailto:[EMAIL PROTECTED] Sent: Saturday, December 06, 2003 6:44 PM
To: [EMAIL PROTECTED]
Subject: [OS-webwork] can change the way validators use messages?
for example if I use:
<message key="user.name.errors.required"></message>
and the key doesnt exist ill just get blank error, I know i could put a message in there myself to display if the key is not valid but can we change it so that if the message is blank like it is now it just displays 'user.name.errors.required'?
this would be consistent with the way getText() works.. just displaying the key if the message is not present.
-------------------------------------------------------
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
------------------------------------------------------- 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