use of io.jmix.ui.component.Component in project jmix by jmix-framework.
the class SideMenuLoader method loadSidePanel.
protected void loadSidePanel(SideMenu component, Element element) {
String sidePanelId = element.attributeValue("sidePanel");
if (StringUtils.isNotEmpty(sidePanelId)) {
Component sidePanel = resultComponent.getFrame().getComponent(sidePanelId);
if (sidePanel == null) {
throw new GuiDevelopmentException("Unable to find sidePanel component for SideMenu", context, "sidePanel", sidePanelId);
}
component.setSidePanel(sidePanel);
}
}
Aggregations