CVS: plexus-components/formica/src/java/org/codehaus/plexus/formica/validation AbstractValidator.java,1.1.1.1,1.2
[email protected] Sun, 1 Jun 2003 15:55:03 -0500
| Newsgroups | gmane.comp.java.plexus.devel |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/plexus/plexus-components/formica/src/java/org/codehaus/plexus/formica/validation
In directory eng.werken.com:/tmp/cvs-serv8457/src/java/org/codehaus/plexus/formica/validation
Modified Files:
AbstractValidator.java
Log Message:
o Switching over to using messageKey and labelKey so that I can use a message
store of some sort to take into account localization.
Index: AbstractValidator.java
===================================================================
RCS file: /cvsroot/plexus/plexus-components/formica/src/java/org/codehaus/plexus/formica/validation/AbstractValidator.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- AbstractValidator.java 1 Jun 2003 19:12:19 -0000 1.1.1.1
+++ AbstractValidator.java 1 Jun 2003 20:55:00 -0000 1.2
@@ -69,9 +69,9 @@
protected String message;
protected String errorMessage;
- /** Return the validator error message using the default Locale.
+ /** Return the validator error messageKey using the default Locale.
- @return The error message
+ @return The error messageKey
*/
public String getErrorMessage()
@@ -79,12 +79,12 @@
return getErrorMessage( Locale.getDefault() );
}
- /** Get the validator error message for the given locale. If
- no error message is specified in the configuration then this
+ /** Get the validator error messageKey for the given locale. If
+ no error messageKey is specified in the configuration then this
method returns null.
@param locale The locale
- @return The error message
+ @return The error messageKey
*/
public String getErrorMessage( Locale locale )