Jump to content
Changes to the Jaspersoft community edition download ×

akash12_06

Members
  • Posts

    14
  • Joined

  • Last visited

akash12_06's Achievements

Apprentice

Apprentice (3/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

0

Reputation

  1. This is due to version mismatch of jasper. User jreport version 3.0 or higher it will work..
  2. Please check the place where you are compiling and generating the report. At time of generating the report, you need to pass the hash map of parameters which will be evaluted in jasper layers for parameters. So i guess , some code might be retriving value from query string and setting in hash map with key Report_Applicant_ID. the same way you can pass value for your SUBREPORT_DIR parameter.
  3. Where are you mapping your sub report parameteres with query result field ? you are running query in main report so when you are adding subreport, you need to add these parameters from parent report and need to map with query result. if you are using ireport, 1. when you will run query , the result will be there in fields. 2. When you will add subreport, do right click on subreport icon in parent report and go to add parameters for subreport. Click add parameter and assign values from field.
  4. When you are using JavaBean datasource, i would suggest to run your query in java layer only and set the the data in java bean itself. Then this data set you can map in reports and iterate. Make sure to wrap your list/collection in java bean to JRDataSource data type.
  5. Hi All, I am facing problem with colors in pdf exported report. In excel and JRViewer, it looks fine but when i export it as pdf, they looks purely different. This issue is mostly with all shades of Blue Color. Thanks Akash
  6. Got it. There is bit different way when you are defining data source for main report and for sub data sets ( sub report, charts ). If you want to define collection as datasource for sub data sets, just wrape it arround JDataSource and give this JDataSource property as datasource for sub data set. Let me know if any one want related example also..
  7. I dont' think it is possible as bands related to details, groups, and column are treated as one type of column which is only display if data exists
  8. Hi All, I am using Java Bean data source in my master report. My parent bean has few properties and few collections. Properties, i want to display in main report where for collections, i want to display separate graphs. I got success in displaying properties from bean to master report. But now wondering how to show collections from bean as charts ? Sub report is correct way to do so or some way is also possible? I really stuck how I can bind sub report's data source with collection from bean. Plz help me.
  9. Hi , I got the issue. Actually the problem was in main report we need to correctly specify the data source setting for sub report.
  10. Thanks for reply. But my both the reports has 2 rows. When i run them separately , i am able to see both reports. I am attaching corresponding jrxml also. Just for your knowledge i am using JavaBean Data source in both the reports.
  11. Also it there any specific band where i need to data in sub reports. Currently i have added static text in detail band.
  12. Hi all, I have added one sub report in my main report but when i am running main report, i am not able to see sub report. In sub report i have just added one static text and it has been added in details band in main report. I am not getting any exception also regarding path of subreport . If i change sub report path, it gives me error saying object not found . That means it's trying to pick up sub reports. But why it is not getting displayed.. Is there any specific band of sub reports ?
  13. Hi All, I am using JavaBeanDataSource as data source. I have defined factory class to populate the data set (Collection of bean) and it is working fine. My Bean DataVO looks like as shown in code. Now as my requirement is to define many sub data sets, how can i handle this using JavaBeanDataSource ? The same i have done with JDBC connection and worked superb. But now i can define sub data set using Java Bean ? What should be data type and how i can map with sub data set and charts ? I am strugling with this from last 2 days. Please help me.. My data structure is like Parent Bean has collection of child bean . 1. Print values from Parent Bean. 2. Draw graph of child collection . Code:public class DataVO { private String reportName; private String date; private String categoryCaption; private Integer rangeValue; private List innerVOs; public String getDate() { return date; } public void setDate(String date) { this.date = date; } public List getInnerVOs() { return innerVOs; } public void setInnerVOs(List innerVOs) { this.innerVOs = innerVOs; }
×
×
  • Create New...