Jump to content
Changes to the Jaspersoft community edition download ×


  • Posts

  • Joined

  • Last visited

aeid's Achievements


Apprentice (3/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges



  1. Please ignore this post. It turned out to be an initialization issue. Regards, Ashraf
  2. Doc file with both screenshots attached to the original post. Post edited by: aeid, at: 2007/10/18 22:31
  3. I am not able to attach the file that contains the two screenshots :-( How can I attach them to the post? Regards, Ashraf
  4. Hi, I am using JR 1.3.4 and I am seeing a very strange behavior. The report is a simple chart added to the summary band. When the report is exported to HTML, the chart is not complete ... while it is complete if it is exported to PDF or XML!!! See attachment for details. Regards, Ashraf Eid Post edited by: aeid, at: 2007/10/18 22:26 [file name=htmlVsPdf.doc size=53760]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/htmlVsPdf.doc[/file] Post edited by: aeid, at: 2007/10/18 22:29
  5. Hi, If you are still having the same problem, check if you have any .jasper files in the directory containing your .jrxml files that you are trying to compile. I had the same problem. Make sure that you save your .jasper in a separate folder which is NOT a subfolder of the one that contains the .jrxmk files that you trying to compile. Code: <jasperReportCompile srcdir="${report.src.dir}" destdir="${www.dir}/reports" Regards, Ashraf
  6. I have figured out the issue. It looks that JR 1.3.4 is using CLASSPATH that needs to be set correctly to be able to see the scriplets. Thanks for your help. Regards, Ashraf
  7. Hi Lucian, You are right. The problem is that when I use JR 1.3.4, I get this error during compilation: Code:[jasperReportCompile] net.sf.jasperreports.engine.design.JRValidationException: Report design not valid : [jasperReportCompile] 1. java.lang.ClassNotFoundException: com.speakesl.server.admin.web.esl.reports.ClassesOverallDashboardReportScriplets [jasperReportCompile] at net.sf.jasperreports.engine.design.JRAbstractCompiler.verifyDesign(JRAbstractCompiler.java:260) [jasperReportCompile] at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:144) [jasperReportCompile] at net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:105) [jasperReportCompile] at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:128) [jasperReportCompile] at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:110) [jasperReportCompile] at net.sf.jasperreports.ant.JRAntCompileTask.compile(JRAntCompileTask.java:413) [jasperReportCompile] at net.sf.jasperreports.ant.JRAntCompileTask.execute(JRAntCompileTask.java:259) [jasperReportCompile] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [jasperReportCompile] at org.apache.tools.ant.Task.perform(Task.java:364) [jasperReportCompile] at org.apache.tools.ant.Target.execute(Target.java:341) [jasperReportCompile] at org.apache.tools.ant.Target.performTasks(Target.java:369) [jasperReportCompile] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) [jasperReportCompile] at org.apache.tools.ant.Project.executeTarget(Project.java:1185) [jasperReportCompile] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40) [jasperReportCompile] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32) [jasperReportCompile] at org.apache.tools.ant.Project.executeTargets(Project.java:1068) [jasperReportCompile] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423) [jasperReportCompile] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137) BUILD FAILED However, if if I move back to JR 1.3.1, I do not get this error. Any ideas? Regards, Ashraf
  8. Hi, The non-english characters issue turned out to be an issue with tiles settings. See http://forum.java.sun.com/thread.jspa?threadID=539309&start=15 . I am still haviving the problem with the single-quote being translated to ' Regards, Ashraf
  9. Thanks Marty for your reply. But as I mentioned in my original post, I already have other JSPs in the SAME web application that are displaying the non-english characters correctly. Note that the default encoding for JasperReports is UTF-8 which should do the job. Regards, Ashraf
  10. Hi, I am seeing very strange behaviour when using JRHtmlExporter: - The report contains special characters like single quotes and non-english characters. - When the report is generated as HTML through iReport, the characters are displayed correctly. - When generating the same report through my web application as part of a JSP page, the non-english characters appear as ????? and the single quote is displayed as ' - When generating the same exact report as PDF through the same web application (using JRPdfExporter), all characters are displayed correctly. - I am using arialuni.ttf for PDF encoding: Code: FontKey key = new FontKey("Arial", false, false); PdfFont pdfFont = new PdfFont( reportsPath + "/fonts/arialuni.ttf", "Identity-H", true); Map fontMap = (Map) pdfExporter.getParameter( JRExporterParameter.FONT_MAP ); - The same web application is displaying non-english characters correctly through other JSPs. All help is highly appreciated. Regards, Ashraf
  11. Hi, I am seeing the exact same behavior with JR 1.3.4. I was wondering if you found the solution already. Best Regards, Ashraf
  12. Hi, I am seeing the exact same behavior with JR 1.3.4. I was wondering if you found the solution already. Best Regards, Ashraf
  13. Hi, I am facing the same problem ... Have you found a solution? Regards,
  14. Hi, I would appreciate if you could describe how you pre-process the query to substitute :mySortField at runtime while executing the .jasper file. Regards, Ashraf Eid
  15. Hi, I am using jasperReports 1.3.4. I am trying to use the hyperlink feature but I am having problem with passing the hyperlink parameter. Here is a snippet of my report code: Code: <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="LocalAnchor" hyperlinkTarget="Self" > <reportElement x="267" y="5" width="267" height="17" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement> <font size="12"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{NAME}]]></textFieldExpression> <hyperlinkAnchorExpression><![CDATA["/classDetails.do"]]></hyperlinkAnchorExpression> <hyperlinkParameter name="classid"> <hyperlinkParameterExpression><![CDATA[$F{CLASSID}.toPlainString()]]></hyperlinkParameterExpression> </hyperlinkParameter> </textField> The hyperlink generated in the html file looks as follows: Code:[code]<td colspan="5"><a href="classDetails.do"><span style="font-family: sansserif; font-size: 12.0px;">Guest</span></a></td> I was expecting the classid parameter to be set in the hyperlink. Please advice. Regards, Ashraf Eid Post edited by: aeid, at: 2007/06/28 04:07
  • Create New...