req.setAttribute("refreshTableFunction", "refreshCompanyTabele");
targetPage = "/pages/default/closeAndRefresh.jsp";
} else if(PRE_EDIT_ACTION.equals(method)) {
try {
//prepareDataForSelect(req);
Company company = companyService.load(Integer.valueOf(req.getParameter("id")));
req.setAttribute("id", String.valueOf(company.getIdCompany()));
req.setAttribute("name", company.getName());
req.setAttribute("address", company.getAddress());
req.setAttribute("userLogin", company.getUserLogin());
req.setAttribute("userPassword", company.getUserPassword());