• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
D Trinity
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is our jsf viewer code:

 
D Trinity
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic