if (session.getAttribute("listErrorMessage") != null) {
ActionMessages allErrors = (ActionMessages)session.getAttribute("listErrorMessage");
saveErrors(request, allErrors);
session.removeAttribute("listErrorMessage");
}
GroupVO groupVO = remote.getGroup(individualId, Integer.parseInt(row));
DynaActionForm dynaForm = (DynaActionForm)form;
IndividualVO ivo = remote.getIndividual(groupVO.getOwner());
if (ivo != null) {
dynaForm.set("ownerName", new String(ivo.getFirstName() + " " + ivo.getLastName()));
}
ivo = null;
dynaForm.set("groupname", groupVO.getGroupName());
dynaForm.set("groupdescription", groupVO.getDescription());
dynaForm.set("groupid", (new Integer(groupVO.getGroupID())).toString());
Date createdDate = groupVO.getCreatedate();
Date modifiedDate = groupVO.getModifydate();
// TODO common date formatter
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("MMM d, yyyy h:mm a");
dynaForm.set("create", simpleDateFormat.format(createdDate));
dynaForm.set("modify", simpleDateFormat.format(modifiedDate));
dynaForm.set("owner", (new Integer(groupVO.getOwner())).toString());
ListPreference listPreference = userObject.getListPreference("Individual");
ListView view = listPreference.getListView(String.valueOf(listPreference.getDefaultView()));
ValueListParameters listParameters = (ValueListParameters)request
.getAttribute("listParameters");