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:26:22 UTC

svn commit: r680758 - /myfaces/commons/branches/jsf_11/myfaces-commons-validators/src/main/java/org/apache/myfaces/commons/validator/ValidatorBaseTag.java

Author: lu4242
Date: Tue Jul 29 09:26:20 2008
New Revision: 680758

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

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

Modified: myfaces/commons/branches/jsf_11/myfaces-commons-validators/src/main/java/org/apache/myfaces/commons/validator/ValidatorBaseTag.java
URL: http://svn.apache.org/viewvc/myfaces/commons/branches/jsf_11/myfaces-commons-validators/src/main/java/org/apache/myfaces/commons/validator/ValidatorBaseTag.java?rev=680758&r1=680757&r2=680758&view=diff
==============================================================================
--- myfaces/commons/branches/jsf_11/myfaces-commons-validators/src/main/java/org/apache/myfaces/commons/validator/ValidatorBaseTag.java (original)
+++ myfaces/commons/branches/jsf_11/myfaces-commons-validators/src/main/java/org/apache/myfaces/commons/validator/ValidatorBaseTag.java Tue Jul 29 09:26:20 2008
@@ -60,7 +60,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.");
 
         String detailMessage = _message;