CVUtility.getHostName(super.getServlet().getServletContext())).getDataSource();
// initialization of required parameter
SaleFacadeHome sfh = (SaleFacadeHome) CVUtility.getHomeObject("com.centraview.sale.salefacade.SaleFacadeHome",
"SaleFacade");
AccountFacadeHome accountFacadeHome = (AccountFacadeHome) CVUtility.getHomeObject(
"com.centraview.account.accountfacade.AccountFacadeHome", "AccountFacade");
EmailFacadeHome emailFacade = (EmailFacadeHome) CVUtility.getHomeObject(
"com.centraview.email.emailfacade.EmailFacadeHome", "EmailFacade");
try {
Boolean openAddItem = (request.getAttribute("openAddItem") == null) ? new Boolean(false) : (Boolean) request
.getAttribute("openAddItem");
request.setAttribute("openAddItem", openAddItem);
int counter = 0;
int row = 0;
ItemLines itemLines = null;
String viewOperation = (request.getParameter(ProposalConstantKeys.TYPEOFOPERATION) == null) ? "" : request
.getParameter(ProposalConstantKeys.TYPEOFOPERATION);
HttpSession session = request.getSession();
UserObject userObject = (UserObject) session.getAttribute("userobject");
int individualID = userObject.getIndividualID();
ProposalListForm proposallistform = (ProposalListForm) form;
proposallistform.convertItemLines();
try {
row = Integer.parseInt(request.getParameter("eventid"));
} catch (Exception ex) {
row = Integer.parseInt(proposallistform.getProposalid());
}
AccountFacade accountFacade = accountFacadeHome.create();
accountFacade.setDataSource(dataSource);
Vector taxJurisdiction = accountFacade.getTaxJurisdiction();
proposallistform.setJurisdictionVec(taxJurisdiction);
EmailFacade remoteEmail = emailFacade.create();