This is a legacy API. For the new API available since v.7.0, see Screen Controllers.
setLookupComponent()– sets the component, which will be used to select entity instances.
As a rule, component for selection is defined in screen XML-descriptor and there is no need to call this method in the application code.
Window.Lookup.Validatorobject to the screen, which
validate()method is invoked by the framework before returning selected entity instances. If
false, the lookup and window closing process is interrupted.
By default, the validator is not set.