Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here is our jsf viewer code:

 
D Trinity
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...


 
I wasn't selected to go to mars. This tiny ad got in ahead of me:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic