• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Creating a custom datasource in Jasper Reports and iReport

 
Ranch Hand
Posts: 751
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic