if (submitValidate)
{
Map<String,Object> map = new HashMap<String,Object>();
if (query.toUpperCase().indexOf("$P") > -1)
{
ReportUser reportUser = (ReportUser) ActionContext.getContext().getSession().get(ORStatics.REPORT_USER);
map = ORUtil.buildQueryParameterMap(reportUser, query, parameterProvider);
}
ChartReportEngine chartReportEngine = new ChartReportEngine(
dataSourceProvider, directoryProvider, propertiesProvider);