{
typeOfSave = request.getParameter("buttonpress");
}
LicenseHome lh = (LicenseHome)CVUtility.getHomeObject("com.centraview.license.LicenseHome", "License");
License remote = (License) lh.create();
remote.setDataSource(dataSource);
LicenseVO licenseVO = remote.getPrimaryLicense();
if (typeOfSave.equals("save"))
{
if (dynaForm.get("licenseKey") != null && !((String)dynaForm.get("licenseKey")).equalsIgnoreCase(""))
{
licenseVO.setLicenseKey((String) dynaForm.get("licenseKey"));
remote.updateLicense(licenseVO);
LicenseUtil.fetchLicenseFile(dataSource);
} //end of if statement (dynaForm.get("licenseKey") != null ...
FORWARD_final = FORWARD_save;
} //end of if statement (typeOfSave.equals("save"))
else if (typeOfSave.equals("verify"))