File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Controlling Crystal Reports Viewer with JSF 1.2 (and some Apache Tomahawk) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Controlling Crystal Reports Viewer with JSF 1.2 (and some Apache Tomahawk)" Watch "Controlling Crystal Reports Viewer with JSF 1.2 (and some Apache Tomahawk)" New topic
Author

Controlling Crystal Reports Viewer with JSF 1.2 (and some Apache Tomahawk)

D Trinity
Greenhorn

Joined: Jun 01, 2010
Posts: 4
We have been trying to work with Crystal Reports in JSF.... the only sample code available from SAP (which
acquired business objects recently) are all either using JSP or some Swing client programs....

we were able to get a few demo programs translated and working with JSF....there does seem to be a
somewhat outdated and small API/Developer
Guide for JSF with a few tags (although it actually says DHTML) but no real examples.

With the reportviewer tags we are able to view documents, but we have a strange problem, that the documents which
get data from a report with a sql query, or which open reports where the data were changed on a database in a view
arent able to be seen until a refresh click on the viewer or a second click on our submit button. We found
a CrystalReportViewer class which seems to have more options for controlling a viewer, than do the the jsf tags, such
as height, size, refresh, etc. etc....but simply creating an instance of this a trying to connect it with a report source doesnt
seem to have any effect. Does anyone know how - if its even possible - to use CrystalReportViewer class with JSF?

thanks and regards.
D Trinity
Greenhorn

Joined: Jun 01, 2010
Posts: 4
Here is our jsf viewer code:

D Trinity
Greenhorn

Joined: Jun 01, 2010
Posts: 4
And here is the meat of our report bean which tries to submit a report and/or create a viewer class to further manipulate the viewer...


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Controlling Crystal Reports Viewer with JSF 1.2 (and some Apache Tomahawk)