protected DataList getDataList() throws BeansException {
// get datalist
ApplicationContext ac = AppUtil.getApplicationContext();
AppService appService = (AppService) ac.getBean("appService");
DataListService dataListService = (DataListService) ac.getBean("dataListService");
DatalistDefinitionDao datalistDefinitionDao = (DatalistDefinitionDao) ac.getBean("datalistDefinitionDao");
String id = getPropertyString("datalistId");
AppDefinition appDef = appService.getAppDefinition(getRequestParameterString("appId"), getRequestParameterString("appVersion"));
DatalistDefinition datalistDefinition = datalistDefinitionDao.loadById(id, appDef);
DataList dataList = dataListService.fromJson(datalistDefinition.getJson());
if (getPropertyString(Userview.USERVIEW_KEY_NAME) != null && getPropertyString(Userview.USERVIEW_KEY_NAME).trim().length() > 0) {
dataList.addBinderProperty(Userview.USERVIEW_KEY_NAME, getPropertyString(Userview.USERVIEW_KEY_NAME));
}