Julian,
Can you explain the code and configuration behind
#{myBackingBean.chartURL} and the servlet you have created?
I need to understand where the graphic is created, i.e. in the managed
bean or servlet, how the servlet gets what is needs, and any
housekeeping that is performed.
Paul Spencer
Julian Ray wrote:
Hi Paul,
We use JFreeCharts by creating a servlet which serves up the charts and then
creating a URL in the backingbean which is set as the value for the
graphicImage
Eg <h:graphicImage styleClass="..." value="#{myBackingBean.chartURL}" />
-----Original Message-----
From: Paul Spencer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 28, 2006 11:14 PM
To: MyFaces Discussion
Subject: How to displayi an images generated by a managed bean?
I need to include a graphic image generated by JFreeCharts. Currently the
generation of the image is in an action of a managed bean and is displayed
in a separate windows via <h:commandButton>. How should I convert this to a
<h:graphicImage> so it can be displayed in an existing page?
Paul Spencer