#4 Enable chartlet in portal environment.

open
nobody
None
5
2008-02-11
2008-02-11
No

If you want to use the chartlet instead of the phaseListener to render the image in an portlet environment you have to take care to pass the data from portlet context to servlet context. For this you can use a special setting PortletSession.APPLICATION_SCOPE.

Attached you find an patch against net.sf.jsfcomp.chartcreator.renderkit.ChartRenderer (Revision: 745) which fixes the chartlet in an portal.

Tested with JBoss Portal 2.6.3 on Win and Linux.

Discussion