added web.utils.getTableFromModel