Jump to content
Changes to the Jaspersoft community edition download ×

shravanthit

Members
  • Posts

    1
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by shravanthit

  1. Hello all, I just started experimenting with Jasper for a project requirement and stuck on the below issue. How do we access values of a bean sent as parameter to Jasper Report? I have to display the data of a model (which is not a collection) in Jasper Report. I pass the model to the Jasper Report in parameters in a Map. Map<String,Object> params = new HashMap<String,Object>(); params.put("object", object); [/code]Now this object has fields whose data I need to display in the Jasper report header section. like in jsp we do ${object.name}, ${object.phone} etc., how do we achieve this in Jasper Report. I tried doing $P{object.name} but it doesn't work. Can anyone please let me know how to achieve this. Thanks in advance. Laxmi.
×
×
  • Create New...