public void tableRowSelected(ValueChangeEvent event) { LoadBalancerDto loadBalancer = (LoadBalancerDto) loadBalancerTable.getValue(); if (loadBalancer != null) { loadBalancerButtonsBottom.show(loadBalancer); loadBalancerDesc.show(loadBalancer, true); } else { loadBalancerButtonsBottom.initialize(); loadBalancerDesc.initialize(); } }
public void refreshDesc() { LoadBalancerDto loadBalancer = (LoadBalancerDto) loadBalancerTable.getValue(); if (loadBalancer != null) { loadBalancerButtonsBottom.show(loadBalancer); loadBalancerDesc.show(loadBalancer, false); } else { loadBalancerButtonsBottom.initialize(); loadBalancerDesc.initialize(); } }
public void refreshTable() { ((LoadBalancerDtoContainer) loadBalancerTable.getContainerDataSource()).refresh(); loadBalancerTable.setValue(null); loadBalancerDesc.initialize(); }