IDataSource tmpDS = dao.loadDataSourceByLabel(dsNew.getLabel());
dsNew.setDsId(tmpDS.getDsId());
mod = SpagoBIConstants.DETAIL_MOD;
} else {
//update ds
dao.modifyDataSource(dsNew);
}
IDomainDAO domaindao = DAOFactory.getDomainDAO();
List dialects = domaindao.loadListDomainsByType("DIALECT_HIB");
serviceResponse.setAttribute(NAME_ATTR_LIST_DIALECTS, dialects);