ValueListVO listObject = valueList.getValueList(individualId, listParameters);
ArrayList buttonList = new ArrayList();
ValueListDisplay displayParameters = null;
if (actionType != null && actionType.equals("lookup")) {
buttonList.add(new Button("Select", "select", "lu_selectList('Order');", false));
displayParameters = new ValueListDisplay(buttonList, false, false);
displayParameters.setRadio(true);
listObject.setLookup(true);
listObject.setLookupType(actionType);
request.setAttribute("hideMarketingList", new Boolean(true));
request.setAttribute("dynamicTitle", "Order");
request.setAttribute("lookupType", "Order");
} else {
buttonList.add(new Button("Delete", "delete", "vl_deleteList();", false));
buttonList.add(new Button("Duplicate", "duplicate", "vl_duplicateList();", false));
displayParameters = new ValueListDisplay(buttonList, true, true);
}
displayParameters.setSortable(true);
displayParameters.setPagingBar(true);