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

ragnarokkrr

Members
  • Posts

    6
  • 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 ragnarokkrr

  1. Greetings, I have A Report that references a subReport, using relative path from the first package in a ear like that: app.ear -/app.war (archived in app.ear) --/WEB-INF ---/lib ----/my-app.jar -----/com/app/MyReport.jasper (archived in myapp.jar) -----/com/app/MySubReport.jasper (sibling file archived in myapp.jar) The reference from MyReport to MySubReport is as follows: Code: <subreport isUsingCache="true"> <!-- ommited for brevity --> <subreportParameter name="BaseDir"> <subreportParameterExpression><![CDATA[$P{BaseDir}]]></subreportParameterExpression> </subreportParameter> <subreportExpression class="java.lang.String"><![CDATA["/com/app/MySubReport.jasper"]]></subreportExpression> </subreport> When I call MyReport in an RHAS running IAS 10gR3 (with container OC4J 10.1.3) I get an erro saying that the Main Reoprt could not find the subreport. Code:[code] 06/08/22 11:42:41 Caused by: net.sf.jasperreports.engine.JRException: Could not load object from location : /com/app/MySubReport.jasper 06/08/22 11:42:41 at net.sf.jasperreports.engine.util.JRLoader.loadObjectFromLocation(JRLoader.java:282) 06/08/22 11:42:41 at net.sf.jasperreports.engine.fill.JRFillSubreport.evaluate(JRFillSubreport.java:316) 06/08/22 11:42:41 at net.sf.jasperreports.engine.fill.JRFillElementContainer.evaluate(JRFillElementContainer.java:275) 06/08/22 11:42:41 at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:399) 06/08/22 11:42:41 at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillFixedBand(JRVerticalFiller.java:1333) 06/08/22 11:42:41 at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnFooter(JRVerticalFiller.java:722) 06/08/22 11:42:41 at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillSummarySamePage(JRVerticalFiller.java:863) 06/08/22 11:42:41 at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillSummary(JRVerticalFiller.java:768) 06/08/22 11:42:41 at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportEnd(JRVerticalFiller.java:259) 06/08/22 11:42:41 at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:135) 06/08/22 11:42:41 at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:730) 06/08/22 11:42:41 at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:651) 06/08/22 11:42:41 at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:89) 06/08/22 11:42:41 at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601) 06/08/22 11:42:41 at org.springframework.ui.jasperreports.JasperReportsUtils.renderAsPdf(JasperReportsUtils.java:164) Any help will be apreciated. Thank you! Post edited by: ragnarokkrr, at: 2006/08/22 15:19 Post edited by: ragnarokkrr, at: 2006/08/22 15:23
  2. and of course, i change the regional settings on XP and obtained no result.
  3. Greetings, I gotta a report that must be exported to PDF. I´m running it on WinXP and RHAS boxes. When I run the report in a WinXP machine with proper regional settings for Brazil, I got all latin characters with tilde "~" properly printed in PDF generated file. When i run it in a machine, WinXP or RH, setted for US profile, the tilded "~" characters (a, n, o...) are substituted by an "?" character. I´ve tried different encodings (UTF-8, ISO-8859-1) for both JRXML and Resource files (including combinations) but the result wasn´t so different. I´ve forced explicitly pass the PT_BR locale to report also, but without results. If anyone has any hint about I will appreciate. Thank you in advance.
  4. Pretty weird, I know. I´m not using any custom library, jasper itself or it´s dependencies. I´m using: - poi-2.0-final-20040126.jar - jasperreports-1.2.0.jar Whats the differnce between poi and jexcelapi?
  5. Thank you for the quick reply! I saw that my post wasn´t clear enough. Let me explain it better. I´m deploying it on a web app using net.sf.jasperreports.engine.export.JRCsvExporter. Jasper Version is 1.2.0 I´ve opened the generated CSV with a text editor and , when I run from JBoss, I´ve obtained a file with the value 4/feb hardcoded on it. When I run it from IReport 1.2.0, and run both excel view and csv view, IReport config generates for me the same field with the raw(and correct) text value 4-2 and not a hardcoded 4/feb. Again, thank you for your attention.
  6. Greetings, I have a problem with a String Field and the CSV export feature. I have an unformatted java.lang.String Field in which it´s data is a concatenated code. It´s values can be: 4-2 6-2 8-2 and so on. When I use the jasper Excel Exporter, in some machines, the exported file assumes the value 4/FEB on the exported CSV file, thus a day-month date format. On other machines I have no problems, POI does not assume the value as a date value. How could I force the string type on generated Excel file? Thank you in advance.
×
×
  • Create New...