Hi Karam,
Yes, you should be able to use JFreeChart w/o too much difficulty,
especially if there are already JSF components which provide this
capability. You can use the <component componentType="theComponentType"
attributexyz="..." ... /> tag to use ANY jsf component. If you want a
specific tag for your charting component, then you simply have to create
a ComponentFactory for it, which is very easy to do... take a look at
any of the existing component factories in
com.sun.jsftemplating.component.factory.* packages.
I hope this helps!
Good luck,
Ken
Karam Singh Badesha wrote:
> Ken/Anissa,
> I know that you guys are trying to get jMaki:chart component working
> inside jsftemplating. Is it possible to get some kind of hook for
> jfreechart? jfreechart is more mature and also there is some jsf
> component already available for jfreechart. Right now the problem I
> see with both of these is the way the data gets passed. There needs to
> be an easier way to pass a array, list etc to these and that is where
> jsftemplating can help. Please let me know if I should submit this
> request.
>
> thanks
> Karam
>
> Anissa Lam wrote:
>>
>> There are some attributes in a component that gets evaluated only
>> when the component is created, not during refresh. So, when the
>> page refresh, the component exists and so won't go through the
>> creation again.
>> This seems to be the case of the 'text' of a button. I also need to
>> re-create the jmaki:chart component with new data set.
>> I am sure there is a way to force the recreate, but not sure how.
>>
>> thanks
>> Anissa.