JSF application that needs to create and display graphics on request
Posted on 2006-06-30
I have a JSF application that needs to create and display graphics on request.
I need to do the following:
1) User selects attributes and pushes a button.
2) Server side generates a graph in a BufferedImage
3) The image from the BufferedImage is displayed in an image (h:graphicImage or ui:image) component.
I need an explanation and code example that goes through this process in detail. (Everything I found so far does not provide enough details to understand the process)
To date, I have been able to generate the BufferedImage graphic, but have not been successful in getting the image to display in the graphics component.
Thank you in advance for you help.