org.trails.descriptor.annotation
Annotation Type PossibleValues
@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
public @interface PossibleValues
Annotation used to declare filter options from a select based on
other property.
The most common example of this is selecting a State based on the value of
the country property. If the property you want to filter by is named
"countryFilter" and the Country class has a property named "states" you
should annotate the state property in this way:
- Author:
- pruggia
|
Required Element Summary |
java.lang.String |
value
The expression that when executed provides the options to select values
from. |
value
public abstract java.lang.String value
- The expression that when executed provides the options to select values
from.
Copyright © 2004-2008. All Rights Reserved.