public interface WidgetSelectOption extends Serializable
WidgetDefinition
and Widget
generated from the definition.Modifier and Type | Method and Description |
---|---|
WidgetSelectOption |
clone() |
Serializable |
getItemDisabled()
Returns the disabled behaviour for the select option.
|
String |
getItemLabel()
Returns the item label for the select option.
|
String |
getItemLabel(String locale)
Getter to handle l10n localization of select options.
|
Map<String,String> |
getItemLabels()
Getter to handle l10n localization of select options.
|
Serializable |
getItemRendered()
Returns the rendered behaviour for the select option.
|
String |
getItemValue()
Returns the item value for the select option.
|
String |
getTagConfigId()
Returns the unique identifier of this select option to be used in tag configuration.
|
Serializable |
getValue()
Returns the value representing the option.
|
String |
getVar()
Returns the var representing the value returned by
getValue() |
Serializable getValue()
This value is optional when using static label and values, it can be useful to use it in conjunction with the
getVar()
method to retrieve the id and label from the object.
String getVar()
getValue()
This value can be used in the potential EL expressions returned by getItemLabel()
,
getItemValue()
, getItemDisabled()
and getItemRendered()
.
String getItemLabel()
This can be an EL expression if getValue()
and getVar()
return a non-null value.
String getItemLabel(String locale)
Map<String,String> getItemLabels()
String getItemValue()
This can be an EL expression if getValue()
and getVar()
return a non-null value.
Serializable getItemDisabled()
This value can either be an EL expression that should resolve to a boolean value, either a string representing a boolean ("true" or "false") either a Boolean value.
Serializable getItemRendered()
This value can either be an EL expression that should resolve to a boolean value, either a string representing a boolean ("true" or "false") either a Boolean value.
String getTagConfigId()
Layout#getTagConfigId()}.
WidgetSelectOption clone()
Copyright © 2018 Nuxeo. All rights reserved.