use of com.haulmont.cuba.gui.components.TwinColumn in project cuba by cuba-platform.
the class TwinColumnLoader method loadDatasource.
@Override
protected void loadDatasource(DatasourceComponent component, Element element) {
String datasource = element.attributeValue("optionsDatasource");
if (!StringUtils.isEmpty(datasource)) {
Datasource ds = context.getDsContext().get(datasource);
((TwinColumn) component).setOptionsDatasource((CollectionDatasource) ds);
}
super.loadDatasource(component, element);
}
Aggregations