org.apache.myfaces.orchestra.dynaForm.annot.ui
Annotation Type Length


@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface Length

Set the minimum and maximum characters allowed for input.

The input component rendered for the field annotated with this component will use this information to constrain the number of characters the user may type.

TODO: does this control the amount of space the input component takes up on the screen, or the number of characters that the user can type into it (including scrolling support), or both?


Optional Element Summary
 int max
           
 int min
           
 

min

public abstract int min
Default:
0

max

public abstract int max
Default:
2147483647


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.