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

javapedant

Members
  • Posts

    25
  • 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 javapedant

  1. I found a similar example as you have told above. When I try to implement the o/p is still the same. A new page is being created for each row in the data source. And so 4 pages are being created. I understand it should be in 1 page..But unable to figure why multiple pages are being created. Any idea ??
  2. Ohh..Thanks for the reply agn. Ok. I'm doing the same thing. But do I need to pass this as a datasource to my main reoprt or the subreport. And if it is to the main report..How about the other collections..do i need to have everything into the same bean ? Post Edited by javapedant at 11/13/2009 15:16
  3. Thank you for your reply. I started making a subreport for displaying my collection. But i'm not sure wether to pass my collection through the main rreport datasource. DO I actually need to create a new datasource for subreport??
  4. Thank you for the reply. I used this code and tried to generate the report. I have a total 10 documents. But unfortunately a new page is created for every record(for each document). But I want to display all of them in one single page. Can you please let me know what the mistake i'm doing
  5. Thanks for the reply. SO do you mean need to convert all my fields in a row to string and pass ??
  6. Hi I have five collections that are to be passed to my report and displayed in five different locations in my report. I have to use only the JRDataSource. So how do i achieve it ? Can anyone please help me with a code sample
  7. Hi I have a collection that is to be passed to the report for displaying. When I pass the collection through JRMapCollectionDataSource, the entire report is being generated for each row of the collection. But I want to display all the rows in the same area . I'm sorry if my english is poor. But please go through the attached files and i'm sure u'll understand what i mean. Attached are my files java file - GenerateReports.java JRXML - FlightReport.jrxml PDF report i'm able to generate currently : FlightReport.pdf My required output : show.bmp ( which i'm desperately in need of ) Please help me with a possible solution. Thanks in Advance Post Edited by javapedant at 11/10/2009 21:38 Post Edited by javapedant at 11/10/2009 21:38 Post Edited by javapedant at 11/11/2009 22:53
  8. Yes IT IS inside the <detail> !!! Post Edited by javapedant at 11/10/2009 20:47
  9. Hi. I have a collection in my java code. Now i want to display this on ireport. I'm using a JRMapCollectionDataSource to pass the data to my ireport Here is my Java COde HashMap<String, String> docsreceived = new HashMap<String, String>(); for (DocumentName doc : splclass.getDocumentNames()) { docsreceived.put("document", doc); } I'm passing this through JRMapCollectionDataSource In my JRXML i have the code : <field name="document" class="java.lang.String"/> <textField isStretchWithOverflow="true"> <reportElement stretchType="RelativeToBandHeight" x="12" y="25" width="100" height="24" isPrintInFirstWholeBand="true" isPrintWhenDetailOverflows="true"/> <textElement/> <textFieldExpression class="java.lang.String"><![CDATA[$F{document}]]></textFieldExpression> </textField> As per my understanding after following a few examples, It should display all the values from the collection in a column. But unfortunately I'm getting each each document name in a different page. I want to compel it to display all the values in one page. Please help me in fixing this THanks in Advance
  10. Hi. I have a collection in my java code. Now i want to display this on ireport. I'm using a JRMapCollectionDataSource to pass the data to my ireport Here is my Java COde HashMap<String, String> docsreceived = new HashMap<String, String>(); for (DocumentName doc : splclass.getDocumentNames()) { docsreceived.put("document", doc); } I'm passing this through JRMapCollectionDataSource In my JRXML i have the code : <field name="document" class="java.lang.String"/> <textField isStretchWithOverflow="true"> <reportElement stretchType="RelativeToBandHeight" x="12" y="25" width="100" height="24" isPrintInFirstWholeBand="true" isPrintWhenDetailOverflows="true"/> <textElement/> <textFieldExpression class="java.lang.String"><![CDATA[$F{document}]]></textFieldExpression> </textField> As per my understanding after following a few examples, It should display all the values from the collection in a column. But unfortunately I'm getting each each document name in a different page. I want to compel it to display all the values in one page. Please help me in fixing this THanks in Advance Post Edited by javapedant at 11/06/2009 17:08 Post Edited by javapedant at 11/06/2009 17:08 Post Edited by javapedant at 11/06/2009 17:45 Post Edited by javapedant at 11/09/2009 16:45
  11. Hi how do I get the Ireport plugin for Eclipse. I followed a thread in this forum but it does not work with the new ireport3.6 version. Some one please help me how I can get the ireport plugin for eclipse
  12. Hi.. Is there anyone to help me to get out of this problem
  13. Hi Guilio When I go into the log file of ireport I got the following error. Please help me in sorting this out <B> java.lang.NoClassDefFoundError: org/hibernate/id/factory/IdentifierGeneratorFactory at org.hibernate.ejb.Ejb3Configuration.(Ejb3Configuration.java:107) at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:124) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:52) at com.jaspersoft.ireport.designer.connection.EJBQLConnection.getEntityManager(EJBQLConnection.java:129) at com.jaspersoft.ireport.designer.connection.EJBQLConnection$1.run(EJBQLConnection.java:179) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) Please let me know the mistake i'm committing thanks in advance
  14. Hi I'm using ireport3.6.0 to generate reports. I added my persistence.xml, hibernate-annotations.jar, ejb3persistance.jar,hibernate-commons-annotations.jar, hibernate-intitymanager.jar, jta.jar to my class path. When I try to create a datasource connection through ejbql, I dont get any success or error prompt. So when i check the log(in ireport)Ireport throws me the error java.lang.NoClassDefFoundError: org/hibernate/id/factory/IdentifierGeneratorFactory at org.hibernate.ejb.Ejb3Configuration.<clinit>(Ejb3Configuration.java:107) at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:124) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:52) at com.jaspersoft.ireport.designer.connection.EJBQLConnection.getEntityManager(EJBQLConnection.java:129) at com.jaspersoft.ireport.designer.connection.EJBQLConnection$1.run(EJBQLConnection.java:179) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) Please help me..to sort out this problem
  15. Hi Guilio. A very good day. I have your book "The defenitive guide for ireport". I'm following the steps exactly as you mentioned in the book. Initially I got Exception Description: The entity class[Varia] was not found using class loader[oracle.toplink.essentials.internal.ejb.cmp3.javasecmpinitializer$TempEntityLoader@162bd90]. Internal Exception:java.lang.ClassNotFoundException:Varia Later after checking through the forum i understood it is some problem with the hibernate jar. So i added the latest jars into class path. And now when I click on Test button i donot get any error or success message. Please help me out
  16. Hi Stanley Please tell me how yuou fixed this issue????
  17. Hi Shibin I have the very same enviroment set up now and I'm getting the same error. Can you please help how you sorted out this problem
  18. Also..can anyone tel me what are the jars to be placed in classpath for ireports if my project has hibernate and ejb combined..?? As per the book it says 2 jars in lib from the demo example. they are toplink-essentials and toplink-essentials-agent. Are these to enough for my proj scenario ??
  19. HI I'm pretty new to ireport and started working with the example. I have The Definitive Guide to IReport - By Giulio Toffoli (Spent 48$) which says to create the EJBQL connection. I have the jasper reports 3.6(new latest version). I followed all the steps perfectly as in the book. After adding the classpath and restarting ireport i'm trying to create the ejb connection. I enetered name as ejbql and persistance unit name : pu1 as said in the book. Once I click on the test button below I get Exception Description: The entity class[Varia] was not found using class loader[oracle.toplink.essentials.internal.ejb.cmp3.javasecmpinitializer$TempEntityLoader@162bd90]. Internal Exception:java.lang.ClassNotFoundException:Varia Please ..please help me.. Is there any other book or tutorial that can help me better than this book??
  20. Hi I downloaded the new jasper 3.6 and ireport 3.6 Please help me how I can make the reports using these tools. I'm looking to develop reports that can get data from my beans. Please refer to some kind of tutorials or sample apps.
×
×
  • Create New...