if (els[0] != null && els[1] != null) {
// get the model from the DataModel manager
DataModelManager mgr = DataModelManager.getInstance();
DataModel mod = mgr.getModel(els[0]);
if (mod == null) {
LOG.error(Messages.getString("DataSetDataItem.26")+els[0]); //$NON-NLS-1$
} else {
try {
// set the data element in the model
mod.setElement(els[1], savedElement,params );
} catch (Exception ex) {
errorMessage(Messages.getString("DataSetDataItem.27")+ex.getMessage()); //$NON-NLS-1$
}
}
}