}
valueList.setDataSource(dataSource);
ValueListVO listObject = valueList.getValueList(individualId, listParameters);
ArrayList buttonList = new ArrayList();
ValueListDisplay displayParameters = null;
displayParameters = new ValueListDisplay(buttonList, false, false);
StringBuffer parameterValues = new StringBuffer();
parameterValues.append(ValueListConstants.AMP);
parameterValues.append("contactID=" + contactID);
parameterValues.append(ValueListConstants.AMP);
parameterValues.append("contactType=" + contactType);
listObject.setCurrentPageParameters(parameterValues.toString());
listObject.setLookup(true);
listObject.setLookupType("address");
request.setAttribute("hideMarketingList", new Boolean(true));
// When we select the lookup then we should add the Select button to the
// valueList
buttonList.add(new Button("Select", "select", "lu_selectList('address');", false));
request.setAttribute("dynamicTitle", "Address");
request.setAttribute("lookupType", "Address");
displayParameters.setRadio(true);
displayParameters.setSortable(true);
displayParameters.setPagingBar(true);
displayParameters.setLink(true);
listObject.setDisplay(displayParameters);
request.setAttribute("valueList", listObject);
// For the searchBar
request.setAttribute("listType", "address");