You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2008/07/29 18:29:08 UTC

svn commit: r680760 - /myfaces/commons/trunk/myfaces-commons-validators/src/main/java/org/apache/myfaces/commons/validator/ValidatorBaseTag.java

Author: lu4242
Date: Tue Jul 29 09:29:07 2008
New Revision: 680760

URL: http://svn.apache.org/viewvc?rev=680760&view=rev
Log:
fix text when message and detailMessage are both set

Modified:
    myfaces/commons/trunk/myfaces-commons-validators/src/main/java/org/apache/myfaces/commons/validator/ValidatorBaseTag.java

Modified: myfaces/commons/trunk/myfaces-commons-validators/src/main/java/org/apache/myfaces/commons/validator/ValidatorBaseTag.java
URL: http://svn.apache.org/viewvc/myfaces/commons/trunk/myfaces-commons-validators/src/main/java/org/apache/myfaces/commons/validator/ValidatorBaseTag.java?rev=680760&r1=680759&r2=680760&view=diff
==============================================================================
--- myfaces/commons/trunk/myfaces-commons-validators/src/main/java/org/apache/myfaces/commons/validator/ValidatorBaseTag.java (original)
+++ myfaces/commons/trunk/myfaces-commons-validators/src/main/java/org/apache/myfaces/commons/validator/ValidatorBaseTag.java Tue Jul 29 09:29:07 2008
@@ -59,7 +59,7 @@
         FacesContext facesContext = FacesContext.getCurrentInstance();
 
         if(_message != null && _detailMessage != null)
-            throw new JspException("you may not set detailMessage and detailMessage together - they serve the same purpose.");
+            throw new JspException("you may not set message and detailMessage together - they serve the same purpose.");
 
         ValueExpression detailMessage = _message;