org.apache.tapestry.beaneditor
Annotation Type Validate
@Target(value=METHOD)
@Retention(value=RUNTIME)
@Documented
public @interface Validate
Used to attach validation constraints directly to a property (either the getter or the setter
method). The annotation value is a comma separated list of validation constraints,
each one identifying a validator type (such as "required", "minlength") and optionally, a
constraint value. Most validators need a constraint value, which is separated from the type by an
equals size (i.e., "maxlength=30").
value
public abstract String value
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.