ActionUtil.mapOldView(columns, viewColumns, ValueListConstants.KNOWLEDGEBASE_LIST_TYPE);
listParameters.setColumns(columns);
// Get the list!
ValueListHome valueListHome = (ValueListHome)CVUtility.getHomeObject("com.centraview.valuelist.ValueListHome", "ValueList");
ValueList valueList = null;
try {
valueList = valueListHome.create();
} catch (CreateException e) {
logger.error("[execute] Exception thrown.", e);
throw new ServletException(e);
}
valueList.setDataSource(dataSource);
ValueListVO listObject = valueList.getValueList(individualId, listParameters);
ArrayList buttonList = new ArrayList();
buttonList.add(new Button("Delete", "delete", "vl_deleteList();", false));
buttonList.add(new Button("Duplicate", "duplicate", "vl_duplicateList();", false));
ValueListDisplay displayParameters = new ValueListDisplay(buttonList, true, true);