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

magarwal

Members
  • Posts

    8
  • Joined

  • Last visited

magarwal'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. I want to construct my query in my struts action calss and pass the entire query as a parameter to my JRXML file. How can I do this?? Also what will be the name of the parameter in which I store my query??
  2. I cannot use java.lang.string, cause we compile our jrxml file into a .jasper at run time and then store the .jasper in our database.
  3. Basically I have to generate a report, which has a header and that information comes from a query. Then the actual report, and the data for that comes from a different query. So I need info as to how I can get this to work using subreports. How do I link the master and detail reports, is wat I cannot understand. Individually both the reports work, but together, the master report works but the subreport comes out empty.
  4. I have 2 reports that work fine independently. Now I need to make 1 report by using these 2 reports as a master detail report. But it is not working. Both the individual reports are using queries to get the data. Can someone help me. [file name=awardsListparent.jrxml size=7830]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/awardsListparent.jrxml[/file]
  5. I am trying to increase the width more than 530 in IReport. How do I do that, without it giving me an indication in red saying out of bounds? Any help would be appreciated
  6. IReport gives 2 options - Add a folder and Add a Jar. I have added the folder where this class file resides on my machine but that did not help
  7. I am trying to set a parameter in my jrxml to - <parameter name="MapValue" isForPrompting="false" class="gov.fema.paegrants.util.PdfDataSource"/> and I do have an import statement - <import value="gov.fema.paegrants.util.*" /> but when I compile my JRXML using IReport, I get the following error - net.sf.jasperreports.engine.JRException:ÂErrorsÂwereÂencounteredÂwhenÂcompilingÂreportÂexpressionsÂclassÂfile: 1.Âgov.fema.paegrants.util.PdfDataSourceÂcannotÂbeÂresolvedÂtoÂaÂtype ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ valueÂ=Â(net.sf.jasperreports.engine.JRDataSource)(((gov.fema.paegrants.util.PdfDataSource)parameter_MapValue.getValue())); Any help would be appreciated.
×
×
  • Create New...