use of org.eclipse.scout.rt.client.services.lookup.FormFieldProvisioningContext in project scout.rt by eclipse.
the class AbstractListBox method execLoadTableData.
@ConfigOperation
@Order(230)
protected List<? extends ILookupRow<KEY>> execLoadTableData() {
List<? extends ILookupRow<KEY>> data;
// (1) get data by service
if (getLookupCall() != null) {
ILookupCall<KEY> call = BEANS.get(ILookupCallProvisioningService.class).newClonedInstance(getLookupCall(), new FormFieldProvisioningContext(AbstractListBox.this));
prepareLookupCall(call);
data = call.getDataByAll();
data = filterLookupResult(call, data);
} else // (b) get data direct
{
data = filterLookupResult(null, null);
}
return data;
}
Aggregations