Interface RemoteField
- All Superinterfaces:
Component,DataComponent,Field,InputComponent,LabeledComponent,Selectable
- All Known Subinterfaces:
MultiRemoteField
- All Known Implementing Classes:
MultiRemoteFieldImpl,MultiRemoteFieldWrapper,RemoteFieldImpl,RemoteFieldWrapper
Deprecated.
A component for selecting one or multiple values where the options to choose from
are loaded lazily (remotely) based on user typing.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.model.form.api.components.Component
Component.ComponentFilter, Component.DataNavigationType, Component.DisplayType, Component.PositionNested classes/interfaces inherited from interface ch.tocco.nice2.model.form.api.components.LabeledComponent
LabeledComponent.UseLabel -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.The entity system uses: 'scope' eg 'list' WARNING i believe the case is different, maybe in the form of 'List' now.Deprecated.intDeprecated.voidsetDataSourceProps(Map<String, Object> dataSourceProps) Deprecated.voidsetDisplayCreateButton(Boolean displayCreateButton) Deprecated.voidsetMinChars(int minChars) Deprecated.Methods inherited from interface ch.tocco.nice2.model.form.api.components.Component
addComponent, addComponent, collectDataParts, collectDataParts, createCopy, createCopy, find, findByName, findByType, findFirst, findFirstByName, getAttributeProps, getChild, getChildren, getDataNavigationType, getDisplayType, getEventHandler, getExtProps, getForm, getName, getParent, getParentOrEx, getPosition, getRelativeToPositionName, getScopes, getType, hasParent, isForceEditable, isLeaf, isReplace, overrideParent, removeComponent, replaceComponent, replaceComponent, setAttributeProps, setChildren, setDisplayType, setEventHandler, setExtProps, setForceEditable, setName, setPosition, setRelativeToPositionName, setReplace, setScopes, wrapMethods inherited from interface ch.tocco.nice2.model.form.api.datanavigation.DataComponent
getConstriction, getDataType, getDefaultDataType, getDefaultValue, getLocalizedLanguage, getPath, getReverseRelationName, getValidator, hasNonEmptyValidator, isDefaultLangOnly, isIgnoreCopy, isLocalized, setConstriction, setDataType, setDefaultLangOnly, setDefaultValue, setIgnoreCopy, setLocalizedLanguage, setPath, setReverseRelationName, setValidatorMethods inherited from interface ch.tocco.nice2.model.form.api.components.simple.Field
mapAllAttributesToMethods inherited from interface ch.tocco.nice2.model.form.api.components.LabeledComponent
getLabel, getUseLabel, setLabel, setUseLabelMethods inherited from interface ch.tocco.nice2.model.form.api.components.simple.Selectable
isMultiple
-
Method Details
-
getMinChars
int getMinChars()Deprecated. -
setMinChars
void setMinChars(int minChars) Deprecated. -
getDisplayCreateButton
Boolean getDisplayCreateButton()Deprecated. -
setDisplayCreateButton
Deprecated. -
getDataSourceProps
Deprecated.The entity system uses:- 'scope' eg 'list' WARNING i believe the case is different, maybe in the form of 'List' now. also it may not be the scope you expect. it's from the remote field config, not the current form scope.
- 'source' eg 'Address'
- 'entityType' eg 'STANDARD' (enum)
- 'allowCreate' boolean
- Returns:
- See above for the list of params. They depend on which backend is using the field.
-
setDataSourceProps
Deprecated.
-