esanin

Members
  • Content count

    3
  • Joined

  • Last visited

About esanin

  • Rank
    Forum Newbie
  1. Fusion Charts intergration with JSF

    Thanks Srividya. So you are suggesting to include the fusion chart rendered JSP using sx:include? Ok, how that jsp will be populated, from tabbedpanel should I call the respective jsp and get it populated? Pls keep me posted. Thanks /Abhi
  2. Hello All, Already I have posted the same in this forum http://www.fusioncharts.com/forum/Topic8629-33-11.aspx#bm17229, but no answer yet. So decided to post as a new topic. I am working with Struts 2 and want some short of dashboard like pages, where multiple chart will be displayed, may be in tabbed panel. So what should be my approach. And more over, is there any tag library available for the same? Thanks /Abhi
  3. Fusion Charts intergration with JSF

    Hello,Thanks for sharing integration of FusionChart with JSF. Do you have any similar integration solution for Struts 2 as well. Recently I'm wokring on the same for my latest project, where we are preparing some dashboard like view that will display multiple FusionChart on same page and sometimes in different tabbed pane. For that I have used an raw approach : Here is a code snippet from my jsp < sx:tabbedpanel id="chartTabs" cssStyle="overflow-x: hidden;" cssClass="tabmenu" selectedTab="1"> <sx:div id="chart" label="Sample Chart" href="chartData" theme="ajax" loadingText="Loading.."> </sx:div>where chartData is my action class which on the turn returns another jsp page < script type="text/javascript"> var responseXML = ajaxCall('type=chart'); var myChart = new FusionCharts("WebTrack/Chart/FCF_MSLine.swf", "myChartId", "400", "270", "0", "0");myChart.setDataXML(responseXML); myChart.render( "chart");</ script>Here the method ajaxCall calls the another servlet for input xml. It's working fine, but definately I'm hacking the Struts Framework. Can you share related tld for the same? My environment: 1. Tomcat 6.0.14 2. Struts 2 (struts2-core-2.1.6.jar & xwork-2.1.2.jar) Thanx /Abhi