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

crusty_collins

Members
  • Posts

    31
  • 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 crusty_collins

  1. I have been working on this for some time and have never seen anyone post how to do it. This morning the light bulb went on. I wrote a small app to parse a mal formed xml document and pass the results as a collection to ireports. I was very happy to get it working and several posts in this forum helped me accomplish this. So now I wanted to use this data in a much larger report. Here is how I did it. Create a subreport using your current datasource settings. Create a new Parameter called MyDataSource set the class type to net.sf.jasperreports.engine.data.JRAbstractBeanDataSource Set the default value expression to your bean info new JRBeanCollectionDataSource(com.chris.jasper.xmlFactory.getURL()) Open the properties of the sub report. Select the subreport tab.
  2. You have to manually add the fields to the fields section in ireport I have a function called getValue that returns the field value so I added $F{value} (Case matters!)
  3. I use iReport and If I remeber right you have to select print in first full band.
  4. Nice but I get sax parse errors. Code:ERROR - Digester.error(1538) | Parse Error at line 189 column 46: Element type "pen" must be declared.org.xml.sax.SAXParseException: Element type "pen" must be declared.
  5. Chris Collins Wrote: Posting is very strange in FF3 Can not create new topics and most of the time the wysywig does not show up.
×
×
  • Create New...