Thanks Gustavo, I am downloading it now. I will update you with my feedback.
Amad
Thanks Gustavo, I am downloading it now. I will update you with my feedback.
Amad
Hi gfaerman
just wanted say that this components sould not only work within a J2EE environment.
thanx for clarify!
Claudio
That's my feeling too -- the existing Spring support for JasperReports seems to be targeted at web apps.Originally Posted by afida
We are using JasperReports in our rich client project. I have made some simple classes and interfaces for generating reports and displaying them in a Spring Rich Client app. For example, I made a DialogPage which encapsulates a JRViewer. In addition, I made a JRViewer than can be configured (i.e. you can set which buttons are visible) via an "options" object. This options object can be created in an application context and set on the DialogPage via dependency injection.
I have not, however, made any sort of report designer classes. Our users will not be designing reports. We are designing them ourselves, using the JasperAssistant Eclipse plugin.
If are interested in having at look at my code, please private message me. (If this has broad appeal, perhaps I can upload the code to JIRA?). The code is very basic but it should give you a start, at least.
Cheers,
Joe
"All your bean are belong to us" - Spring Framework's IOC Container
Cyboc,
It has broad appeal to me.Nevertheless, I shall private message you.
- Andy
Originally Posted by cyboc
Joe, I just send you a private message as well, but I think as Andy said it would be better if we share it here on the forum, so everyone can take advantage of it.
Amad
Just fixed some bugs. We've also posted a "working" sample. It's a scaled down RC app based in petsample. It takes data from a database using OJB.
It uses the standar Jasper viewer, but since the framework is pluggable, it can be replaced..
URL is http://oso.websa.com.ar/lyno
As soon as I have some time, I will post a working client server demo (the code is almost completed in the zip file). Just need to configure Spring remoting and do the bootstraping in a new starting class.
Gustavo.
Okay afida and adepue, I have created a feature request in JIRA and I have uploaded my code as a starting point for you guys and the Rich Client project guys. I hope it works for you. It works well for my needs.
The issue number is RCP-92. Here's a link:
http://opensource.atlassian.com/proj.../browse/RCP-92
Cheers,
Joe
"All your bean are belong to us" - Spring Framework's IOC Container
Cyboc,
Thanks! This is exactly what I am looking for. I think you do a good job on this one!
Stefano Rossi
"If I want your opinion, I'll give it to you."
Today I got the latest version of Spring Rich Client from CVS. I noticed that the included Spring Framework jars (in the "spring-richclient\lib\spring" directory) were updated to version 1.1.4, which depends on jasperreports-0.6.4.jar. So, I updated my jasper jar to that one. Upon doing that, I got deprecation warnings from one of my classes that I uploaded to JIRA.Originally Posted by cyboc
Anyway, to make a long story short, I fixed those deprecation warnings and uploaded a new version of "DefaultJasperReportGenerator.java" to JIRA. You will want to get the version that I uploaded on 22/Feb/05.
In addition, I had to recompile my test jasper report (for JUnit test) because I was getting InvalidClassExceptions because it was compiled with 0.6.3 but I was trying to run it with 0.6.4. I have uploaded that newly compiled file to JIRA. It is called MyPersonBean_JavaBeanNamingConvention.jasper. Having said that, instead of using my ".jasper" file, I recommend you recompile it from the source, "MyPersonBean_JavaBeanNamingConvention.jrxml".
Cheers,
Joe
"All your bean are belong to us" - Spring Framework's IOC Container
Check the answer in the following
helptodeveloper.blogspot.com/2010/02/way-of-printing-jasper-report-at-client.html