proposallistform.setItemLines((ItemLines) hm.get("itemLines"));
int iOpportunityId;
iOpportunityId = Integer.parseInt(proposallistform.getOpportunityid());
// **************** set the opportunity form bean start *************
OpportunityVO opportunityVO = remote.getOpportunity(individualID, iOpportunityId);
OpportunityForm opportunityForm = new OpportunityForm();
if (opportunityVO != null) {
opportunityForm.setEntityid("" + opportunityVO.getEntityID());
opportunityForm.setTitle(opportunityVO.getTitle());
opportunityForm.setDescription(opportunityVO.getDescription());
opportunityForm.setEntityname(opportunityVO.getEntityname());
opportunityForm.setOpportunityid(new Integer(opportunityVO.getOpportunityID()).toString());
opportunityForm.setStatusname(opportunityVO.getStatus());
opportunityForm.setStagename(opportunityVO.getStage());
opportunityForm.setOpportunitytypename(opportunityVO.getOpportunityType());
opportunityForm.setForecastedamount(currencyFormat.format(new Float(opportunityVO.getForecastedAmount())));
opportunityForm.setAcctmgrname(opportunityVO.getManagerName());
} // end of if statement (opportunityVO != null)
request.setAttribute("opportunityForm", opportunityForm);
session.setAttribute("opportunityForm", opportunityForm);
// **************** set the opportunity form bean end *************
} // end of if statement