pickpeters

Members
  • Content count

    3
  • Joined

  • Last visited

About pickpeters

  • Rank
    Forum Newbie
  1. Fusion charts integration with RichFaces

    Could successfully solve the above issue too. Just tweaked the FusionCharts.js. (Though I am not usre whether this is allowed or not .) I added this two lines in getSWFHTML: function() 1. swfNode = '<embed type="application/x-shockwave-flash" wmode="transparent" src="'+ this.getAttribute('swf') +'" width="'+ this.getAttribute('width') +'" height="'+ this.getAttribute('height') +'" '; (for netscape) 2.swfNode += '<param name="wmode" value="transparent" />'; (for IE) Regards, pickpeters
  2. Fusion charts integration with RichFaces

    Hi, I was actually using a wrong JSF1.2 taglib for fusion charts... I am now able to successfully see the charts working. Now I have one small problem and a bit strange one. I also have a rich:modalPanel in the same page. After the charts are rendered if the user clicks a link I show him the modal panel. The panle works fine without the charts but the problem is that the modal panel opens at the background of the flash movie if I open the modal panel when the charts are present. Is there any way to make my rich:modal panel appear on top of the flash movie??? Regards, pickpeters
  3. I have a project with JBoss richFaces 3.3.0 GA . I am trying to integrate Fusion charts with this but i am stuck on one thing. The XML string that i have on the beacking bean is not getting reflected on the front end chart. The chart's dataURL returns null. I haven't formatted the chart anyways. I tried hardcoding the same chart value outside my panel and the chart got displayed correctly. Does Fusion charts does not support Ajax rendering. Please find below some snippets from my code. < script type="text/javascript" src="../../FusionCharts/FusionCharts.js"></script>< a4j:form id="myform"><!--This works fine as hardcoded--><fc:render chartId="ViewChart1" filename="../../FusionCharts/Doughnut3D.swf" width="600" height="200" xml="#{myBaseBean.myExtendedBean.viewChart}" debugMode="true" registerWithJS="true"></fc:render> <a4j:form> but when i put the same in : < a4j:outputPanel ajaxRendered="true" style="vertical-align: center"> <fc:render chartId="ViewChart" filename="../../FusionCharts/Doughnut3D.swf" width="300" height="300" debugMode="true" registerWithJS="true" xml="#{myBaseBean.myExtendedBean.viewChart}"></fc:render> </a4j:outputPanel>This doesn't show anything. My main aim is to set the viewChart atribute of the myExtendedBean dynamically. I have seen that this is changed in the bean by printing the same but the chart is not rendered. Any help would be vey useful. Regards, pickpeters