Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Passing HashTable to the Reporting Engine

 
Ashish Uniyal
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to organise the passed HashTable to the Report filling operation at run time.

code:
Hashtable activityDataMax = new Hashtable();
parameters.put("maxActivityTime",activityDataMax);

JasperPrint jasperPrint = JasperManager.fillReport(jasperReport,
parameters, conn);


Though I have the Hashtable available, the problem is how to retrieve the key & values (iterate the hastable), and organize it in a well formatted way in the Designer XML.

Regards,
Ashish Uniyal
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic