User (Legacy) Posted June 6, 2005 Report Share Posted June 6, 2005 I am developing a JSR 168 portlet that will be running in WebSphere Portal. I would like to use ChartFX for Java to display a chart in my portlet. However, the ChartServer interface seems to assume that it is being called from a servlet. Its constructor takes a ServletContext, HttpServletRequest, and HttpServletResponse. These are not available in a portlet. Instead, you have a PortletContext, RenderRequest, and RenderResponse. Does anyone know how to use ChartFX in a portlet? Thanks, Dennis Link to comment Share on other sites More sharing options...
Software FX Posted June 9, 2005 Report Share Posted June 9, 2005 Hi Dennis, we are looking into this. The work around I can suggest until we give you a better solution is to create a Chart instead, and call the method exportChart to get the image. Regards, GA SoftwareFX "Dennis McCarthy" <dmccarthy@kronos.com> wrote in message news:TNIs85raFHA.4092@webserver3.softwarefx.com... >I am developing a JSR 168 portlet that will be running in WebSphere Portal. > I would like to use ChartFX for Java to display a chart in my portlet. > However, the ChartServer interface seems to assume that it is being called > from a servlet. Its constructor takes a ServletContext, > HttpServletRequest, > and HttpServletResponse. These are not available in a portlet. Instead, > you have a PortletContext, RenderRequest, and RenderResponse. Does anyone > know how to use ChartFX in a portlet? > > Thanks, > Dennis > > Link to comment Share on other sites More sharing options...
User (Legacy) Posted September 13, 2005 Author Report Share Posted September 13, 2005 It may not be exactly what you would like to do but for the short term, you could maintain your existing ChartServer configuration and them deploy an iFrame or other proxy portlet. The end result is your chart will be on your portal page but the content of your chart will feed direct from ChartFX to the browser. - Glen. "Dennis McCarthy" <dmccarthy@kronos.com> wrote in message news:TNIs85raFHA.4092@webserver3.softwarefx.com... >I am developing a JSR 168 portlet that will be running in WebSphere Portal. > I would like to use ChartFX for Java to display a chart in my portlet. > However, the ChartServer interface seems to assume that it is being called > from a servlet. Its constructor takes a ServletContext, > HttpServletRequest, > and HttpServletResponse. These are not available in a portlet. Instead, > you have a PortletContext, RenderRequest, and RenderResponse. Does anyone > know how to use ChartFX in a portlet? > > Thanks, > Dennis > > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.