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

dytenstan

Members
  • Posts

    2
  • Joined

  • Last visited

dytenstan's Achievements

Newbie

Newbie (1/14)

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

Recent Badges

0

Reputation

  1. Hi Hozawa, Ok, but how to fill that dataSet? I mean, I can pass the data to dataSet as parameter, than I can pass it to dataSourceExpression of dataSet as below; <parameter name="list1" class="net.sf.jasperreports.engine.data.JRBeanCollectionDataSource"/> <datasetRun subDataset="dsList1" uuid="bcc71b8c-7287-427c-a26e-20c49c38c30a"> <dataSourceExpression><![CDATA[$P{list1}]]></dataSourceExpression> </datasetRun> Is that a wrong approach? Should I feed the dataSource with Field instead of Parameter? Thank you.
  2. Hi, I am new on JasperReports and I want to learn, what is the main difference when filling the report data by JRBeanCollectionDataSource with Parameters or Fields. I have a big report which has 10 tables in it. I pass the table datasources as parameters to the report. Should I pass the data to the fields, or passing data to params is just OK? Thank you for your answers.
×
×
  • Create New...