logger.error("[execute] Exception thrown.", e);
throw new ServletException(e);
}
valueList.setDataSource(dataSource);
ValueListVO listObject = valueList.getValueList(individualId, listParameters);
listObject.setCurrentPageParameters(ValueListConstants.AMP+"rowId="+marketingListId);
ArrayList buttonList = new ArrayList();
ValueListDisplay displayParameters = null;
listObject.setMoveTo(false);
buttonList.add(new Button("Import Members", "Import Members", "vl_addMembers();", false));
buttonList.add(new Button("Delete", "delete", "vl_deleteList();", false));
displayParameters = new ValueListDisplay(buttonList, true, true);
displayParameters.setSortable(true);
displayParameters.setPagingBar(true);
displayParameters.setLink(true);
listObject.setDisplay(displayParameters);
// Stick the list on the request and then the custom list tag will handle
// it.
if (logger.isDebugEnabled()) {
long debugTime = (System.currentTimeMillis() - start);
logger.debug("[execute] End to End: " + debugTime + " ms");
listObject.getParameters().setDebugTime(debugTime);
}
request.setAttribute("valueList", listObject);
request.setAttribute("listType", "MarketingListMembers");
} //end of buildSubList method