org.apache.tapestry5.beaneditor
Annotation Type DataType
@Target(value={FIELD,METHOD})
@Retention(value=RUNTIME)
@Documented
@UseWith(value={BEAN,COMPONENT,MIXIN,PAGE})
public @interface DataType
Used to explicitly set the data type used to select an editor (or display) block. Normally, the data type is
determined from the type of the property (for example, property type java.lang.String would map to data type "text").
This annotation may be attached to a getter or setter method, or the matching field.
- See Also:
DataTypeConstants
Required Element Summary |
java.lang.String |
value
|
value
public abstract java.lang.String value
Copyright © 2003-2012 The Apache Software Foundation.