Sign in to follow this  
lastcow

Fc:renderhtml Not Render Anything

Recommended Posts

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:

[color=#4239F5][font=Monaco][size=2]	<f:view>[/size][/font][/color]		<a4j:outputPanel ajaxRendered="true" style="vertical-align:middle;">

		<tags:template2>

		<fc:renderHTML chartId="SimpleChart" height="200" width="400" swfFilename="../fusion_components/widgets/AngularGauge.swf" debugMode="true" xmlData="#{ChartControl.xml}"></fc:renderHTML>

		</tags:template2>

	</a4j:outputPanel>


[color=#4239F5][font=Monaco][size=2]	</f:view>[/size][/font][/color]

 

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.

 

Thanks for help.

post-15839-053044000 1303780397_thumb.jpg

Edited by lastcow

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your reply.

 

We are looking into the issue and will get back to you once we come up with a solution.

 

Thank you very much for your continued patience and patronage.

 

Hope you have a great day!

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

I am afraid, we are not able to understand your question.

 

Could you please elaborate your query a little bit more?

 

Awaiting for your reply.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this