if (listType.equals("individual")) {
IndividualList DL = lg.getIndividualList(individualID, 1, 0, "", "Name", dbID);
DL.setTotalNoOfRecords(DL.size());
Set s = DL.keySet();
Iterator it = s.iterator();
while (it.hasNext()) {
String lim = (String)it.next();
ListElement ile = (ListElement)DL.get(lim);
StringMember smName = (StringMember)ile.get("Name");
String name = (String)smName.getMemberValue();
IntMember smid = (IntMember)ile.get("IndividualID");
int id = new Integer(smid.getMemberValue().toString()).intValue();
// attendeeList.addElement(new DDNameValue(id,name));
attendeeList.addElement(new DDNameValue("" + id + "#" + name, name));
}
put("attendee", attendeeList);
} else if (listType.equals("allindividual")) {
IndividualList DL = lg.getIndividualList(individualID, 0, 0, "", "Name");
DL.setTotalNoOfRecords(DL.size());
Set s = DL.keySet();
Iterator it = s.iterator();
while (it.hasNext()) {
String lim = (String)it.next();
ListElement ile = (ListElement)DL.get(lim);
StringMember smName = (StringMember)ile.get("Name");
String name = (String)smName.getMemberValue();