• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Scott Selikoff
  • salvin francis
  • Piet Souris

Creating a custom datasource in Jasper Reports and iReport

 
Ranch Hand
Posts: 751
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So many unanswered questions here... But I really need help.

I created a custom datasource class



Now, I have my jrxml which I created with iReport(and doesn't compile BTW). I wasn't able to specify my JavaBean datasource through iReport because I don't know how(my class is from a project folder)... So, I just replaced the field names manually as they would appear in the FixedInventoryJRDataSource class like this:




It just bothers me why I can't produce a .jasper file out of my jrxml file. There seems to be something wrong. My fields are highlighted in read in iReport and iReport doesn't show any error message.

Here's my jrxml

 
See where your hand is? Not there. It's next to this tiny ad:
Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Apps
https://coderanch.com/t/722574/Sauce-Labs-World-Largest-Continuous
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!