// So we will not be carrying the old error. So that we will try to collect the error from the Session variable
// Then destory it after getting the Session value
if (session.getAttribute("listErrorMessage") != null) {
ActionErrors allErrors = (ActionErrors)session.getAttribute("listErrorMessage");
saveErrors(request, allErrors);
session.removeAttribute("listErrorMessage");
}
relatedInfoListForm.set("riListType", riListType);
// recordID is the ID of the record in the top frame
Integer recordID = (Integer)relatedInfoListForm.get("recordId");