String dataSource = Settings.getInstance().getSiteInfo(
CVUtility.getHostName(super.getServlet().getServletContext())).getDataSource();
String returnStatus = "failure";
ContactFacadeHome aa = (ContactFacadeHome)CVUtility.getHomeObject(
"com.centraview.contact.contactfacade.ContactFacadeHome", "ContactFacade");
try {
EntityVO entityVO = new EntityVO();
String rowId[] = null;
if (request.getParameterValues("selectId") != null) {
rowId = request.getParameterValues("selectId");
} else {
rowId[0] = new String(request.getParameter(Constants.PARAMID));
}
ContactFacade remote = aa.create();
remote.setDataSource(dataSource);
entityVO = remote.getEntity(Integer.parseInt(rowId[0]));
DynaActionForm dynaForm = (DynaActionForm)form;