Commit 6beb144f authored by smanohar's avatar smanohar

jasperreportgenerator argument changed

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@205381 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 9a058491
......@@ -3,6 +3,7 @@ package ibase.webitm.ejb.dis;
import ibase.system.config.ConnDriver;
import ibase.utility.E12GenericUtility;
import ibase.utility.EMail;
import ibase.utility.UserInfoBean;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.ProcessEJB;
import ibase.webitm.reports.utility.JasperReportGenerator;
......@@ -247,7 +248,8 @@ public class ReminderDueCustPrc extends ProcessEJB implements ReminderDueCustPrc
System.out.println("argumentString:::"+argumentString);
XSDParser xsdParser = new XSDParser(objName);
System.out.println(":::::::::::::xsd parsed:::::::::::::");
JasperReportGenerator jasperReport = new JasperReportGenerator();
UserInfoBean userInfo = new UserInfoBean(xtraParams);
JasperReportGenerator jasperReport = new JasperReportGenerator(userInfo);
System.out.println("after generating report");
TreeMap argMap = jasperReport.createArgMap(argumentString);
argMap.put("report_save_type", "PDF");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment