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

gusamasan

Members
  • Posts

    29
  • 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

Posts posted by gusamasan

  1.  Hello, all.


    I have the  code:

     

    reporte = JasperFillManager.fillReport(

                                                        rutaReporte         ,

                                                        parametrosReporte   ,

                                                        new JRBeanArrayDataSource( listaDetalles ) );

     

     

    ByteArrayOutputStream output = new ByteArrayOutputStream();

    JROdsExporter exporterODS = new JROdsExporter();

    exporterODS.setParameter( JRExporterParameter.JASPER_PRINT , reporte           );

    exporterODS.setParameter( JRExporterParameter.OUTPUT_STREAM, output            );

    exporterODS.exportReport();                

    vectorReporte = output.toByteArray();

     

    When i try execute it, i get the message:

     

    Exception in thread "main" java.lang.NoSuchMethodError: net.sf.jasperreports.engine.export.oasis.JRO

    penDocumentExporter.createFilter(Ljava/lang/String;)Lnet/sf/jasperreports/engine/export/ExporterFilt

    er;

     

    What i can do?


    Thank you, in advance.

     

     

  2. Hello, all. I have a report done in iReport 3.7.0. When I do this: "right click->Field pattern->pattern specification->apply", the pattern is not applied; it is not saved. What I can do?

     

    Thank you, in advance.

     

    ------------------------

    gusamasan

  3. Hello all.

    I have tow report in my application;

    I use, for each report,  the follow:

    JasperPrint jp= JasperFillManager.fillReport(   this.jasperFilePath,
                                                                                        this.parameters,
                                                                                         new JRBeanArrayDataSource( this.vectorBeans ) );

     

    Now, I need insert those reports ( as subreports ) into a master report; I find tutorials where subreports uses SQL queries, but I use the JRBeanArrayDataSource object.

    How I can do it?.

     

    Thank you, in advance.

    Code:
    JasperPrint jp= JasperFillManager.fillReport(   this.jasperFilePath,                                                                                    this.parameters,                                                                                     new JRBeanArrayDataSource( this.vectorBeans ) );
  4. dnvsrikanth, I note, in the static text and text field borders property, that no color can to be asigned; for example, I put the "border" property as "thin" ( black color ), but no color is asigned.

     

    What You say?.

     

     

    Thank, in advance.

  5. I am sorry.

     

    I can not get the correct View.

     

    I attach my results. Can you see it?

     

    I use the .jasper in JSF application and the pdf is showed correctly. But, in JSP ( pure ) application, no.

     

     

    Thank you in advace. size=384]http://www.jasperforge.org/components/com_joomlaboard/uploaded/images/Border.GIF

  6. Hello,

     

    The TextField bordes of my .jasper file are not showed in the PDF report. However, in the iReport preview it is.

     

    I attach to my project:

     

    barbecue-1.1.jar

    commons-beanutils-1.7.jar

    commons-collections-2.1.jar

    commons-digester-1.7.jar

    iReport.jaritext-1.3.1.jar

    JasperBabylon-1.0.0.jar

    jasperreports-2.0.2.jar

    jxl-2.6.jar

    looks-2.0-rc.jar

    png-encoder-1.5.jar

     

    files.

     

    I need more?.

     

     

    Thank you, in advance.

  7. Hello,

     

    I have a .jasper file.

     

    In the JSF application the output show text field bordes; in my jsp ( pure ) applicattion are not.

     

    The JSF applicattion have:

     

    jasperreports-2.0.2.jar

    itext-1.3.1.jar

    iReport.jar

    barbecue-1.1.jar

     

     

    I attach those libraries in my JSP applicattion and the text field border are not showed.

     

    What I can do?.

     

    Post edited by: gusamasan, at: 2008/03/24 15:02

    Post edited by: gusamasan, at: 2008/03/24 15:03

  8. Hello,

     

    I have a ".jasper" file; this file use un Scriptlet.

     

    I need reference report parameters from the Scriptlet.

     

    I try with

    Code:
    getParameter() function, but I adquire un 
    Code:
    [code]NullPointerException
    .

     

    Please, showme a code example, if possible.

     

    How I can do it?.

     

     

    Thank you in advance.

×
×
  • Create New...