Commit ca30b75f authored by smanohar's avatar smanohar

jasperreportgenerator argument changed

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@205386 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 9cc63ee1
......@@ -17,6 +17,7 @@ import ibase.ejb.*;
import ibase.utility.CommonConstants;
import ibase.utility.E12GenericUtility;
import ibase.utility.EMail;
import ibase.utility.UserInfoBean;
import ibase.webitm.ejb.*;
import ibase.system.config.*;
......@@ -382,7 +383,9 @@ public class DistRcpExShConf extends ActionHandlerEJB implements DistRcpExShConf
XSDParser xsdParser = new XSDParser(reportName);
ArgumentHandler argObj = new ArgumentHandler(xsdParser);
argObj.init();
JasperReportGenerator jasperReport= new JasperReportGenerator();
UserInfoBean userInfo = new UserInfoBean(xtraParams);
JasperReportGenerator jasperReport= new JasperReportGenerator(userInfo);
TreeMap argMap = jasperReport.createArgMap(argumentString);
argMap.put("report_save_type", reportType);
String rptExt = "";
......
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