net.sf.bimbo
Annotation Type Constraint


@Retention(value=RUNTIME)
@Documented
@Target(value=FIELD)
public @interface Constraint

Use this to add a constraint to an input field. If a constraint is not met, then the user will see an error message besides the corresponding input element.

Author:
fcorneli

Optional Element Summary
 boolean required
          Marks the input field as required.
 

required

public abstract boolean required
Marks the input field as required.

Returns:
Default:
false


Copyright © 2008 Frank Cornelis IT. All Rights Reserved.