Jump to content
JasperReports Library 7.0 is now available ×

jorgew.moura

Members
  • Posts

    3
  • Joined

  • Last visited

jorgew.moura's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. I'm studying iReport Design and I started using Connection at my fillReport. Until then, it's ok. The problem is that, now, I'm using Collection, with the commands: List<Sales> sales = new SalesDAO().getSalesByDate( new SimpleDateFormat("yyyyMMdd").parse("20180101"), new SimpleDateFormat("yyyyMMdd").parse("20180131") );JRDataSource dataSource = new JRBeanCollectionDataSource(sales); In those way, when I try execute, it's show me the following error:
  2. I'm studying the iReport Design report tool and, when I tried convert a String object to Date, I received the message: Error filling print... java.util.Date cannot be cast to java.lang.String[/code]I tried convert it using: new SimpleDateFormat("yyyyMMdd").parse($F{date})[/code]$F{date} is the String that I get from the query. I try convert it in the Pattern Expr. of Text Field Properties of the $F{date}. This don't work with Expression Class java.land.String and don't work with java.util.Date.
  3. Hello! Basically, my problem is this. I try run the iReport 5.6 on Ubuntu and Java 7, using the command: sudo iReport-5.6.0/bin/ireport[/code]But, i get an error message: No protocol specified. And, when I try run it without sudo, I get a permission denied error and a windows alertint that the file Preferences on Default System are only read.
×
×
  • Create New...