glennodickson
-
Posts
3 -
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
Posts posted by glennodickson
-
-
Hi
I'm desperate for a solution or guidance, please. I'm using JasperReports 3.5 and embedding text and charts in application.
When I run my text reports (in either the Jasper Admin Console or emedded appo) all text appears are expected however, it's a difference case for charts.
Chart appears in the Jasper Admin console as expected but not when using the Web Services API in the ebeded app. In either case the all the accompanying text surrounding the chart (i.e. not in the chart image) appears.
What I Did:
Using webservices I obtain the JPRINT object, convert to HTML using the HTMLExporter and then display to webpage.
Unfortunately, though the page doesn't render the graph image. I've tried suncessfully setting the IMAGES_URI parameter using the values of :
IMAGES_URI="images/"
IMAGES_URI="http://someserver/jasperreports/images/"
IMAGES_URI="http://someserver/jasperreports/reportimage?image="
None of these produced an error nor an image.
Can some one please provide any guidance or and example?
Thanks
Glenn
Post Edited by glennodickson at 02/17/2010 16:33 -
Hi
I'm having trouble displaying a graph using WEBSERVICEs. Using webservices I obtain the JPRINT object, convert to HTML using the HTMLExporter and then display to webpage.
Unfortunately, though the page doesn't render the graph image. I've tried suncessfully setting the IMAGES_URI parameter using the values of :
IMAGES_URI="images/"
IMAGES_URI="http://someserver/jasperreports/images/"
IMAGES_URI="http://someserver/jasperreports/reportimage?image="
None of these produced an error nor an image.
When running the report directly thorugh the JaperAdmin console I noticed the URLs issued to the jasper server contained an image (named - img_0_0_3) as I expected. However, a parameter called 'jrprint' was also dynamically generated and appended by jasperserver which isn't documented in the WS docs.
Here is the URL:
http://someserver/jasperreports/reportimage?jrprint=2323445665_243465382&image=img_0_0_3
If I assign this value to IMAGES_URI parameters and re-retrieve the report via the application(i,e. embedded ), the graph image appears(as I require), but since the JRPRINT value is dynamic, hardcoding is probably an incorrect approach( I assume)?
The WS documentation mentions to use the IMAGES_URI parameter and to set it (e.g. "image/") in order to display display graphs and other report images but no mention of the JRPRINT parameter in the context of displaying graphs.
Can some one please provide any guidance?
Thanks
Glenn
Jasper Report printing
in Products
Posted
Hi
I woudl ike to confirm that this code resides somewhere in a JSF backing bean or alike but not a directly coded into in a jsp/jsf page?