4.5.1.3.3. AbstractLookup
AbstractLookup
is the base class for lookup screen controllers. It is a subclass of AbstractWindow and defines the following own methods:
-
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.
-
setLookupValidator()
– setsWindow.Lookup.Validator
object to the screen, whichvalidate()
method is invoked by the framework before returning selected entity instances. Ifvalidate()
method returnsfalse
, the lookup and window closing process is interrupted.By default, the validator is not set.