Hi,
I have started writing a small app using JSF. This app needs to draw
some chart/graph with data input from user.
Some googling on this topic has led me towards using JFreechart/Cewolf
package.
I am trying to do a POC and I am having problem getting JSF's session
context(it's always null) when I implement required methods of
intefaces in Cewolf. Has anybody faced similar problem?
Besides Cewolf package, can you suggest me other similar tools that I
can use with JSF?
regards,
prabhat
Roedy Green - 19 Oct 2005 05:31 GMT
>I have started writing a small app using JSF. This app needs to draw
>some chart/graph with data input from user.
You are going to create a png and ship it back to the user?
The other way to solve that is to send the raw data to the client
Applet and let it draw it.
The advantage of that approach is smaller bandwidth and much less
server CPU load.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.
Andrea Desole - 19 Oct 2005 08:59 GMT
> I am trying to do a POC and I am having problem getting JSF's session
> context(it's always null) when I implement required methods of
> intefaces in Cewolf. Has anybody faced similar problem?
I don't know Cewolf, but I have never had problems with a null context.
If you set up correctly the faces servlet in the web.xml and put your
code in the view tag you should be fine.
Maybe you can post some sample code
hiwa - 19 Oct 2005 10:09 GMT
> it's always null
If the session is not used ...