You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2010/06/02 13:09:47 UTC
svn commit: r950494 -
/myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/taglib/component/SubmittedValueLengthValidatorTag.java
Author: lofwyr
Date: Wed Jun 2 11:09:47 2010
New Revision: 950494
URL: http://svn.apache.org/viewvc?rev=950494&view=rev
Log:
javadoc
Modified:
myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/taglib/component/SubmittedValueLengthValidatorTag.java
Modified: myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/taglib/component/SubmittedValueLengthValidatorTag.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/taglib/component/SubmittedValueLengthValidatorTag.java?rev=950494&r1=950493&r2=950494&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/taglib/component/SubmittedValueLengthValidatorTag.java (original)
+++ myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/taglib/component/SubmittedValueLengthValidatorTag.java Wed Jun 2 11:09:47 2010
@@ -17,22 +17,19 @@ package org.apache.myfaces.tobago.taglib
* limitations under the License.
*/
-import org.apache.myfaces.tobago.validator.SubmittedValueLengthValidator;
import org.apache.myfaces.tobago.apt.annotation.Tag;
import org.apache.myfaces.tobago.apt.annotation.TagAttribute;
+import org.apache.myfaces.tobago.validator.SubmittedValueLengthValidator;
-import javax.faces.webapp.ValidatorTag;
import javax.faces.validator.Validator;
+import javax.faces.webapp.ValidatorTag;
import javax.servlet.jsp.JspException;
-/*
- * Date: Oct 17, 2006
- * Time: 12:35:01 AM
- */
-
/**
* Register an SubmittedValueLengthValidator instance on the UIComponent
* associated with the closest parent UIComponent custom action.
+ * The standard LengthValidator validate the length on the converted value.toString()
+ * not on the submitted value. Sometime you need to check the length of the submitted value.
*/
@Tag(name = "validateSubmittedValueLength")
public class SubmittedValueLengthValidatorTag extends ValidatorTag {