Jump to content
We've recently updated our Privacy Statement, available here ×

devilsavocado

Members
  • Posts

    6
  • Joined

  • Last visited

devilsavocado's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. oops, guess it didn't transfer Code:<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Population" pageWidth="595" pageHeight="842" columnWidth="535" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" scriptletClass="Population">
  2. If it helps, this is the beginning of the XML: The Package is Population and the Class is PopulationSorter, I attempted to do scriptletClass="Population.PopulationSorter" but it didn't work either. (This is probably me being a dimwit at Java as opposed to an iReport problem now that you pointed it out to me, I will try to look around a little bit but hopefully someone here can also help me)
  3. Thanks for the help. I added the scriptlets to the classpath, and then added the name of the scriptlet like you explained, but I still get the "Cannot find Class Path" error. I also tried to add the original folder that contains the scriptlets to the classpath screen (in iReportNB's Options pane) and that gave the same error as well. Not really sure what I'm doing wrong :-S Thanks again.
  4. Anyone? I have a feeling the answer is easy, but I just can't seem to find it!
  5. Hi there, I've gone through the scriptlet sample in Jasper, and I think I've written a scriptlet that should work... my question is how to link the two in iReport so I can preview it? It looks like the sample JR points the jrxml to the .class file in the build.xml- but iReport doesn't ask for a location of the scriptlet, so where would I go to tell it to look for the scriptlet? Or should they both be in the same directory? Thanks!
  6. Hi there. I want to have one PDF with multiple reports on it, as most of these reports are small graphs. I am led to believe that subreports are the way to go with this. I can create a report, and it will run just fine. If I try to use that created report as a subreport on a new blank report, I receive the error "the page is blank." I figure this is because the master report makes no SQL query. So I try using the same SQL query as my subreport, just as a test. The result when I try to preview is a hanging report, one that never finishes compiling until java crashed due to a memory error. I've tried to look up how to create a report, but I don't see what I'm doing wrong- I assume this is because any tutorial I have found is out of date, I'm using the latest iReport NB. Any thoughts? TIA!
×
×
  • Create New...