Jump to content
Changes to the Jaspersoft community edition download ×

jluix

Members
  • Posts

    8
  • 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 jluix

  1. Same for me. I've tried with 4.7 jasperserver version and the problem is there too.
  2. Hi! I know it's been a lot of time since this thread was right alive, but just today I was fighting with this very problem and this post has helped me so much I needed to say THANK YOU. Bye. P.S.: Is there any detailed guide to learn straithg forward this kind of hidden properties?
  3. Hi all! I've been trying to access jasperserver from php using jasperserver's web services. Starting from /jasperserver-ce-3.7.0/samples/php-sample files, I've had to change old fashion global var calls in order to get php files working with PHP5 ($HTTP_SESSION_VARS to $_SESSION and so on) After that, almost everything has worked fine except the hyperlinks in "Employee List" jasperserver example (using jasperserver directly that report works great), where the "view" words appears as flat text instead of hyperlinks. Does anyone know a solution for that? Thanks.
  4. Hi! I'm having troubles setting Timestamp values from jasperserver's params window. As you can see in Params.bmp, when changing the date using the calendar button associated to the input field, it doesn't add a blank space before and after the date (see "Desde fecha" param and compare to "Hasta fecha" param [with default value]). It seems that jasperserver needs those blanks because, when pressing Ok, it gives me the error seen in Param2.bmp (in spanish). If I add manually those two blanks, jasperserver doesn't complain and the report is executed. A second problem is that, even following this forum instructions trying to change dates patterns (modifying jasperserver_config.properties, calendar.properties and its respective locales jasperserver_config_es.properties and calendar_es.properties) I haven't achieved to modify the dates displays (I'm trying dd/mm/yyyy and %d/%m/%Y in date.format and so on...) as you can see in the .bmps. I'd appreciate your help.
  5. Hi! I'm having troubles setting Timestamp values from jasperserver's params window. As you can see in Params.bmp, when changing the date using the calendar button associated to the input field, it doesn't add a blank space before and after the date (see "Desde fecha" param and compare to "Hasta fecha" param [with default value]). It seems that jasperserver needs those blanks because, when pressing Ok, it gives me the error seen in Param2.bmp (in spanish). If I add manually those two blanks, jasperserver doesn't complain and the report is executed. A second problem is that, even following this forum instructions trying to change dates patterns (modifying jasperserver_config.properties, calendar.properties and its respective locales jasperserver_config_es.properties and calendar_es.properties) I haven't achieved to modify the dates displays (I'm trying dd/mm/yyyy and %d/%m/%Y in date.format and so on...) as you can see in the .bmps. I'd appreciate your help.
  6. Hi! I'm having troubles setting Timestamp values from jasperserver's params window. As you can see in Params.bmp, when changing the date using the calendar button associated to the input field, it doesn't add a blank space before and after the date (see "Desde fecha" param and compare to "Hasta fecha" param [with default value]). It seems that jasperserver needs those blanks because, when pressing Ok, it gives me the error seen in Param2.bmp (in spanish). If I add manually those two blanks, jasperserver doesn't complain and the report is executed. A second problem is that, even following this forum instructions trying to change dates patterns (modifying jasperserver_config.properties, calendar.properties and its respective locales jasperserver_config_es.properties and calendar_es.properties) I haven't achieved to modify the dates displays (I'm trying dd/mm/yyyy and %d/%m/%Y in date.format and so on...) as you can see in the .bmps. I'd appreciate your help.
  7. Hi! I've just installed Jasperserver under an existing tomcat and an existing mysql database, and I'm trying to add new users/roles. It seems to work ok for the roles, but after I've added a couple of users (and removed default ones), Jasperserver gives me an "An unexpected exception has occurred" whenever I try to add a new user. This happend even if I erase all other users after that (except the current user). Could you help me? Thanks in advanced.
  8. Hi! This is my first post in this forum. I'd appreciate a lot a bit of help. I've been trying to create my first testing bean based report using jasper+ireport under jdeveloper for a while. This is the report I've prepared: <?xml version="1.0" encoding="UTF-8"?> <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="report4" language="groovy" pageWidth="792" pageHeight="612" orientation="Landscape" columnWidth="752" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20"> <property name="ireport.zoom" value="1.0"/> <property name="ireport.x" value="0"/> <property name="ireport.y" value="0"/> <field name="nombre" class="java.lang.String"/> <background> <band splitType="Stretch"/> </background> <title> <band height="79" splitType="Stretch"/> </title> <pageHeader> <band height="35" splitType="Stretch"/> </pageHeader> <columnHeader> <band height="61" splitType="Stretch"/> </columnHeader> <detail> <band height="125" splitType="Stretch"> <textField> <reportElement x="107" y="37" width="100" height="20"/> <textElement/> <textFieldExpression class="java.lang.String"><$F{nombre}></textFieldExpression> </textField> </band> </detail> <columnFooter> <band height="45" splitType="Stretch"/> </columnFooter> <pageFooter> <band height="54" splitType="Stretch"/> </pageFooter> <summary> <band height="42" splitType="Stretch"/> </summary> </jasperReport> I've developed this pojo bean class: public class Persona{ private String nombre; public Persona(String pnombre){ nombre=pnombre; } public void setNombre(String nombre) { this.nombre = nombre; } public String getNombre() { return nombre; } } --- After this, I've used the next code inside my program: ArrayList al = new ArrayList(); al.add(new Persona("Pedro")); al.add(new Persona("Juan")); JRBeanCollectionDataSource ds = new JRBeanCollectionDataSource(al,false); try { JasperReport jasperReport = JasperCompileManager.compileReport("~/report4.jrxml"); JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, new HashMap(),ds); JasperExportManager.exportReportToPdfFile(jasperPrint, "~/report4.pdf"); } catch (JRException e) { System.out.println("error "); } When executing this code, at the line marked in yellow, jdeveloper throws an exception saying: Unknown property nombre. Error retrieving field value from bean : nombre I've look on the Internet (and I've tried a lot of things) but I haven't found any solution to this. I'm getting mad. Please, Help me.
×
×
  • Create New...