Using the img you have to set the src attribute to: a) To a graphically already generated (by the previous action) and put on a specific folder b) To a servlet that generates the image
Or you can use as well the tomahawk sandbox s:graphicImageDynamic component, like in this example: http://example.irian.at/example-sandbox-20071213/graphicImageDynamic.jsf Where you use a specific Image Renderer class (as far as I remember) where you generate the image on the fly... Cheers, Bruno On 13/12/2007, Wolfgang <[EMAIL PROTECTED]> wrote: > Hi, > > I tried this solution and it works, but that is not what I want. > Do you know if it is possible to save the image in an object? > Maybe the <h:graphicImage> with the value="#{class.image} can then get > the image? > > Of course, you can use the JFreeChart in your JSF projects, you only > > need to add the .JAR libraries that comes with the JFreeChart, add > > them to your project. > > > > When you use the JFreeChart, you can build Graphics dinamicaly, and > > generate it to Graphics files like as JPG and then that graphic can be > > put on your page response by using an <img> tag. > > > > Good Luck, > > > > Oscar Duque > > > > > Date: Thu, 13 Dec 2007 14:25:58 +0100 > > > From: [EMAIL PROTECTED] > > > To: [email protected] > > > Subject: JFreeChart and JSF > > > > > > Hi, > > > > > > in my project I use the jsf chartcreator but since it has limited > > > parameters > > > concerning the appearance (and I need to change the appearance of my > > > chart) I wondered if there is a possibility to use the JFreeChart > > > library to design the graph? > > > > > > Thaks, > > > wolfgang > > > > > > ------------------------------------------------------------------------ > > Express yourself instantly with MSN Messenger! MSN Messenger > > <http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/> > >

