org.apache.tapestry5.beaneditor
Annotation Type Width
@Target(value={FIELD,METHOD})
@Retention(value=RUNTIME)
@Documented
@UseWith(value={BEAN,COMPONENT,MIXIN,PAGE})
public @interface Width
Defines the desired width of the field used to edit the property. Note that width (generally equivalent to the size
attribute of an HTML <input> element) is only used for presentation; validation must be used to actually
enforce a maximum input length.
May be placed on an getter or setter method, or on the matching field.
Required Element Summary |
int |
value
The width used to display the field for the property (values less than one indicate unspecified). |
value
public abstract int value
- The width used to display the field for the property (values less than one indicate unspecified).
Copyright © 2003-2012 The Apache Software Foundation.