public void tableRowSelected(ValueChangeEvent event) { InstanceDto instance = (InstanceDto) serverTable.getValue(); if (instance != null) { serverButtonsBottom.refresh(instance); serverDesc.show(instance); } else { serverButtonsBottom.initialize(); serverDesc.initialize(); } }
public void refreshDesc() { InstanceDto instance = (InstanceDto) serverTable.getValue(); serverButtonsTop.initialize(); if (instance != null) { serverButtonsBottom.refresh(instance); serverDesc.show(instance); } else { serverButtonsBottom.initialize(); serverDesc.initialize(); } }