passKPItoUI(kpi);
}
protected void passKPItoUI(KPI kpi) {
KPIEditor kpiEditor = UIBeanLocator.lookup().getEditor();
KPIViewer kpiViewer = UIBeanLocator.lookup().getViewer();
if (kpiEditor.getKpi() == null) kpiEditor.setKpi(kpi);
if (kpiViewer.getKpi() == null) kpiViewer.setKpi(kpi);
}