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

mymark100

Members
  • Posts

    10
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Downloads

Everything posted by mymark100

  1. Hi! A Question about "JR design" I've a situation like this: PAGE: Width=1000 CROSSTAB: Widh=1000 EXPORTED Like XHTML (in a WebApp) NOTE: The page with crosstab is a subreport of another page (same width) Now, my crosstab can have a different width, depending of the quantity of data that I'm getting, and often can have a dimensione > of 1000. My Goal is: It's possible have a page with a dynamic width, and not have my crosstab split into multiple lines (In case of great width)? Certainly, I can use a page (and a crosstab) with a great width, but in this case when the crosstab is small I've a great quantity of empty space on my web pages... I'm not an artist, but: (a) - little crosstab, much empty space [[CROSSTAB] .... empty space (PAGE) ......] (b) - great crosstab, splitting on the page [[CROSSTAB ===================== =CROSSTAB==========] .........................] GOAL: (a): [[CROSSTAB]] (b): [[CROSSTAB ======================CROSSTAB==========]] Have you tips for me? Txs!!!!
  2. shertage Wrote: Hi, The Oracle driver jar is missing. Download it and add it to the classpath in iReport Tools --> Options --> iReport --> Classpath. Hope this helps, sanda yes... now I'm able to use iReport + Oracle without porblems! T'ks a lot again....
  3. Hi! I'm tring to use iReport with an Oracle connection (I've used without problems iReport + MySql), but I've this error: ClassNotFoundError! Msg: oracle.jdbc.driver.OracleDriver Possible not found class: oracle.jdbc.driver.OracleDriver ... A JRXML file in my webapp with oracle work well, It's only iReport thet don't work... why??? Missing anything?? T'ks!
  4. Hello Experts! (sorry for my bad English.. >_<") I've a strange behavior with my WebApp, and I'm not able to understand if is a problem of Jasper, of Tomcat or what else. Normally the WebApp work well, but sometimes everything "seems to die": The generation work for a long time, The output page is broken or empty (also my 'pure' HTML code is broken...) and no other report work. The only solution it's a restart of Tomcat. For the moment my work it's all in local. What do you think the problem may be? Jasper? Tomcat? Other? This is my environment: OS Linux Ubuntu 10.04 Jasper Report 1.4.0 Java 1.6.0_20 Tomcat 6.0.24-2ubuntu1.6 NetBeans 6.9.1 WebApp It's a JSP Page for the XHTML export and a servlet for the XSL export. For all your tips.... T'ks!!!!! Code:<%@ page import="net.sf.jasperreports.engine.*" %><%@ page import="net.sf.jasperreports.engine.util.*" %>....<body>.... (Pure HTML code)<%.... (I'm pasting only the final code part)JRXhtmlExporter exporter = new JRXhtmlExporter();exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);exporter.setParameter(JRHtmlExporterParameter.IS_WHITE_PAGE_BACKGROUND, Boolean.FALSE);exporter.setParameter(JRHtmlExporterParameter.HTML_HEADER, ""); //I must use my HEDAR and My Footer..exporter.setParameter(JRHtmlExporterParameter.HTML_FOOTER, ""); exporter.setParameter(JRHtmlExporterParameter.IGNORE_PAGE_MARGINS, Boolean.TRUE);exporter.setParameter(JRHtmlExporterParameter.IS_USING_IMAGES_TO_ALIGN, Boolean.FALSE);exporter.setParameter(JRHtmlExporterParameter.IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS, Boolean.TRUE);exporter.setParameter(JRHtmlExporterParameter.IS_WRAP_BREAK_WORD, Boolean.FALSE);exporter.setParameter(JRExporterParameter.OUTPUT_WRITER, out);exporter.exportReport(); /*********************************/ // manually cleaning up virtualizer.cleanup(); /*********************************/%>....</body></html>
  5. T'ks! I've used correctly the 'ROW_COUNT' variable with a style in a crosstab! Your answer was correct and very useful!!
  6. I'm not able to understanding. Apparently, 'LateOrdersReport.jrxml' have exactly what I want, if I run it via 'ant' all work correctly. But if I cut & past this part of code in my report: <style name="CellStyle" mode="Opaque"> <conditionalStyle> <conditionExpression> <![CDATA[new Boolean($V{ROW_COUNT}.intValue() % 2 == 0)]]> </conditionExpression> <style backcolor="#E0E0E0"/> </conditionalStyle> </style> I've an error: "Report design not valid : 1. Variable not found : ROW_COUNT" But... also the report 'LateOrdersReport' has nothing for define this 'ROW_COUNT'... It's not an "internal" variable? how it works exactly??? Post Edited by mymark100 at 02/01/2011 16:58
  7. it sounds interesting. I'll see if it will resolve my case. Thanks for your help!
  8. Another question linked at the previous: It's possible "Keep Track" of the number of the row of a crosstable (with a variable?) for adding different styling for (for example) all the even rows?
  9. Hi to everyone, I'm trying to use a "conditional style" under my "Crosstab Data text" Style for a crosstab, but I've a strange behavior. My Goal is to use a variable defined in the crosstab, for example crosstab/rowGroup@name="TYPE", for add a background color only for some rows (for example, style/conditionalStyle/conditionExpression = ($V{TYPE}%2)==0) I'm not able to understand if this is possible or not (use a crosstable variable in a conditional style context), because I've a case in which this works fine, ad other case similar in which this don't work (Variable not Found: TYPE) Can you help me to understand this behavior? Normally It's possible use a crosstab variable in a conditional style context? T'ks!!
  10. Hi to everyone. I'm trying to use a report with internationalization, in a webapp (servlet, J2EE), but I've a proble: I can't see my report (HTML export) and I've this error message: Can't find bundle for base name i18n, locale fr_FR If I use iReport for testing my report all work fine, but via servlet I'm not able to point to the write properties file: why? where to put the properties files?
×
×
  • Create New...