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

jesus_jfri

Members
  • Posts

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

Posts posted by jesus_jfri

  1. Hey People,   I made some reports in windows in a web project, it works fine , perfect ,   but now i am on Ubuntu, the reports works fine but  the width of the columns in a table unconfigures for example

     

    in windows one column is like this:      I--column--l

    in ubuntu the column is like this l--colu--l

    some sizes changed, any idea people_?

     

  2. hey people.  i have in a jsp code of my report (it works fine) , but the data what i use on it is in a javascript file.

    All is good, i send my data with http post, i can read it in my jsp ( i use some system.out and i saw my data)

    but the thing is how can i display it in my browser?

     

    note: before i used a method in js called window.open(url+"?data="+JSON.stringify(params), "_blank"); but i had to change it for http post because i could not send big data.

    but i worked fine with small data..

     

    Any idea Thanks..!

  3. Hey people, i am sending data from my Javascript file to Jsp ( is where the report has been written )
    using this method :    window.open(url+"?data="+JSON.stringify(params), "_blank");  
     

    it works fine when de data is small, but when i send a list of 50 elements that fail,

    Any idea about how to send data from my js to my jsp?

    thanks

  4. hey people, i have a tittle in my report, and i want to put some things over that like number page, time and user
     

    but i dont know where put thoses elements ( i mean what band )

    Any Idea, thanks!

  5. i am sending an object to report  , this object has a atribute Time called hour (java.sql.Time) ,   the report in my Dataset  has a field called hour ( class java.sql.Time )
    good all its working fine, but when the report is displayed the field hour only shows this data :  1/01/70

    Any idea? , thanks

  6. the error is:

    net.sf.jasperreports.engine.JRRuntimeException: net.sf.jasperreports.engine.JRException: Error retrieving field value from bean: .
        at net.sf.jasperreports.engine.fill.JRFillSubreport.prepare(JRFillSubreport.java:872)
        at net.sf.jasperreports.components.table.fill.FillTableSubreport.prepareSubreport(FillTableSubreport.java:166)
        at net.sf.jasperreports.components.table.fill.FillTable.prepare(FillTable.java:417)
        at net.sf.jasperreports.engine.fill.JRFillComponentElement.prepare(JRFillComponentElement.java:150)
        at net.sf.jasperreports.engine.fill.JRFillElementContainer.prepareElements(JRFillElementContainer.java:330)
        at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:382)
        at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:357)
        at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:2031)
        at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:755)
        at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:262)
        at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:122)
        at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:551)
        at net.sf.jasperreports.engine.fill.BaseReportFiller.fill(BaseReportFiller.java:411)
        at net.sf.jasperreports.engine.fill.JRFiller.fill(JRFiller.java:122)
        at net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:667)
        at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:983)

    Caused by: java.lang.NoSuchMethodException: Unknown property ' ' on class 'class MyObject'
        at org.apache.commons.beanutils.PropertyUtilsBean.getSimpleProperty(PropertyUtilsBean.java:1313)
        at org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(PropertyUtilsBean.java:762)
        at org.apache.commons.beanutils.PropertyUtilsBean.getProperty(PropertyUtilsBean.java:837)
        at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:426)
        at net.sf.jasperreports.engine.data.JRAbstractBeanDataSource.getBeanProperty(JRAbstractBeanDataSource.java:112)
        ... 14 more

  7. hey,  i am filling my report using a parameter(  class  =   net.sf.jasperreports.engine.data.JRBeanCollectionDataSource)
     

    the object what i am sending has 2 atributes:   class object {  private int code, private float value ...}

    then in my table in jasper report , i used the dataset with 2 fields(code and value),

    i changed the class of this fields ( by defect was String)  to java.lang.Integer and java.lang.Float

    but the report does not work  ( i used this method when i have objects with String atributes and it works very fine )

     

    Any idea?? Thanks

     

  8. hi people i have a table with 4 columns but i want have border in the 2nd column (only that)
    Example:
          data  !  data2 ! data3  data4
             1     !----------!    a         aa
             2     !----------!    b         bb
             3     !----------!    c         cc

    Any idea?  ( the idea  is have border for only the 2nd column ,   i need  this border to writte with a pencil. Thanks!

  9. hey people ,    I have a table like this  with just 1 column:                    

            Column
              data1
              data2
              data3
              data4

    but i need for each 2 rows show a line

    Example:

            Column
              data1
              data2
             ---------
              data3
              data4
            ----------
    Any Idea?? . Thanks!

  10. Hello people:

    i have  this data:    {AAA , 18} ,{ BBB, 10} , {CCC ,20},{ DDD, 65}, ........ {SSS, 16}.
    i want to show it in the report like that:

    AAA    18     DDD  65    GGG 33    .......... SSS   16
    BBB   10     EEE   13    ...
    CCC  20     FFF    98    ...
     

     

    Any idea? , i am using a normal table, but all the data is under , Example : 

    AAA    18

    BBB   10

    CCC  20

    ....

  11. Hey people, i want to display my empty report( only with a tittle made in jasper studio) in my web broswer, using my jsp like i always do . because I am learning how to use it, the thing is I used this piece of code in my jsp:
     

    <%@ page contentType="application/pdf" %>
    <%@ page trimDirectiveWhitespaces="true" %>
    <%@ page import="net.sf.jasperreports.engine.*" %>
    <%@ page import="net.sf.jasperreports.engine.export.*" %>
    <%@ page import="java.util.*" %>
    <%
     
      JasperPrint print = JasperFillManager.fillReport("/resources/Reports/reportjasper", new HashMap(),new JREmptyDataSource());
     
      JasperExportManager.exportReportToPdfStream(print,response.getOutputStream());
     
    %>
     
    but when i try to charge the web page , i saw an error and it does not charge my pdf report,           the jar what I include were jasperreports-6.1.0.jar, jasperreports-fonts-6.1.0.jar and 
    jasperreports-functions-6.1.0.
     
     
    Any idea people? I will be gratefull with you all! 
×
×
  • Create New...