I tried integrated fusion chart into my existing jboss seam (using richface 3.3) project, but I getting nothing rendered with fc:renderHTML tag, here is the steps:
I have build ChartControl java bean and getXml() can return data.
The above code return null, but following code works:
[color=#4239F5][font=Monaco][size=2]<script language="JavaScript" src="../js/charts/FusionCharts.js"></script>[/size][/font][/color] <div id="chartdiv" align="center">The chart will appear within
this DIV. This text will be replaced by the chart.</div>
<script type="text/javascript">
var myChart = new FusionCharts(#{ChartControl.xml});
myChart.render('chartdiv');
[color=#4239F5][font=Monaco][size=2] </script>[/size][/font][/color]
Any idea how I can solve this problem, I know this is definitely the setting issue.
Fc:renderhtml Not Render Anything
in FusionCharts and JSP
Posted · Edited by lastcow · Report reply
I tried integrated fusion chart into my existing jboss seam (using richface 3.3) project, but I getting nothing rendered with fc:renderHTML tag, here is the steps:
- define xmlns: xmlns:fc="http://www.fusioncharts.com/jsp/core"
- define tags lib: xmlns:tags="/WEB-INF/tags"
- copy templates into /WEB-INF/tags folder
- Code:
I have build ChartControl java bean and getXml() can return data.
The above code return null, but following code works:
Any idea how I can solve this problem, I know this is definitely the setting issue.
Thanks for help.