Package org.hippoecm.hst.core.parameters
Annotation Type DropDownList
-
@Retention(RUNTIME) @Target(METHOD) public @interface DropDownList
Indicates that the value of the annotated method should be selected from a drop-down list. The available options in the drop-down list are specified as an array of Strings.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String[]
value
Static list of options to show in the drop-down list.Class<? extends ValueListProvider>
valueListProvider
Deprecated.use valueListProviderKey instead.String
valueListProviderKey
Dynamic value list provider key that can be used to get aValueListProvider
instance from the ValueListProviderService.
-
-
-
-
valueListProvider
@Deprecated Class<? extends ValueListProvider> valueListProvider
Deprecated.use valueListProviderKey instead. Dynamic value list provider class that can return a list of options to show in the drop-down list dynamically from any data sources. The selected option value is converted from aString
to the return type- Returns:
- dynamic value list provider class that can return a list of options to show in the drop-down list dynamically from any data sources.
- Default:
- org.hippoecm.hst.core.parameters.EmptyValueListProvider.class
-
-
-
valueListProviderKey
String valueListProviderKey
Dynamic value list provider key that can be used to get aValueListProvider
instance from the ValueListProviderService. That instance will return a list of options to show in the drop-down list dynamically from any data sources. The selected option value is converted from aString
to the return type of the annotated method.- Returns:
- dynamic value list provider class that can return a list of options to show in the drop-down list dynamically from any data sources.
- Default:
- ""
-
-