channa_it Report post Posted August 1, 2011 Hi ! Can you please explain how to use FusionCharts with JSF 2.0, I am using file extension as "sample.xhtml" it seems that script file called "FusionCharts.js" not compatible with that extension. If you have some sample application that done with .xhtml can you please upload that. Thanks a lot, -channa Share this post Link to post Share on other sites
Guest Angshu Report post Posted August 1, 2011 Hi, Welcome to FusionCharts Forum! Please refer to this forum link: http://forum.fusioncharts.com/topic/4077-fusioncharts-jsf-all-tag-libraries-samples/page__pid__39191__st__30#entry39191 for your reference. Hope this helps. Share this post Link to post Share on other sites
channa_it Report post Posted August 1, 2011 Hi, Welcome to FusionCharts Forum! Please refer to this forum link: http://forum.fusionc...__30#entry39191 for your reference. Hope this helps. Hi Angshu ! Many thanks for your reply. But it seems those samples done with jsf 1.2, but I want to know how to integrate fusioncharts with jsf 2.0 (with .xhtml files) Thanks & Best Regards, -channa Share this post Link to post Share on other sites
srividya_sharma Report post Posted August 2, 2011 hi, Currently the tag library has not been updated for JSF 2. Sorry about that. Srividya Sharma Share this post Link to post Share on other sites
channa_it Report post Posted August 2, 2011 Hi Srividya ! Many thanks for your reply. Is there any alternative way to me do integrate fusioncharts jsf 2.0 ? I mean I have try with jQuery (FusionChartsFree-jQuery-1.0.0b2) but those scripts are not compatibility with .xhtml extension, currently biggest problem I have faced integrate fusioncharts with .xhtml files , if you have any idea please help me. Thanks & Best Regards -channa Share this post Link to post Share on other sites
channa_it Report post Posted August 3, 2011 Hi Srividya ! Once I put that jQuery (FusionChartsFree-jQuery-1.0.0b2) inside my .xhtml page it show some syntax error (I have attached sample with this) , but those jQueries work fine with .html pages. Can you please give me some feed back If you have any idea about this. Thanks & Best Regards -channa Share this post Link to post Share on other sites
srividya_sharma Report post Posted August 23, 2011 Can you please attach the file, I could not find it. thanks Srividya Sharma Share this post Link to post Share on other sites
hutagaol Report post Posted February 7, 2012 hi guys , can anyone show me how to use fusioncharts with jsf 2.0 help me please. Share this post Link to post Share on other sites
Guest Sumedh Report post Posted February 7, 2012 Hi I am afraid, currently we don't have a sample code for FusionCharts with JSF 2.0 You will need to create your own code implementation for the integration of FusionCharts with JSF 2.0. However, .jar files from download package>>Code>>J2EE>>WEB-INF might help, for the code implementation. Please refer the following link for more information. http://docs.fusioncharts.com/charts/contents/?Code/J2EE/JSP_GettingStarted.html Hope this helps. Share this post Link to post Share on other sites
hutagaol Report post Posted February 8, 2012 hi sumedh, thanks for your reply. so far i've tried to implement like srividya's explanation in other topic i used Tag library Jar version: 1.4.1 but it doesn't work in my (.xhtml) page <f:verbatim>This is JSF example</f:verbatim> <fc:renderHTML chartId="MyChart" filename="/secure/FusionCharts/Column3D.swf" width="700" height="300" xml="#{dataInvestorBean.xmlString}" debugMode="true" registerWithJS="true"> </fc:renderHTML> values in the bean xmlString ="<chart caption='Monthly Unit Sales' xAxisName='Month' yAxisName='Units' decimals='0' formatNumberScale='0'><set label='Jan' value='462' color='AFD8F8' /><set label='Feb' value='857' color='F6BD0F' /><set label='Mar' value='671' color='8BBA00' /></chart>"; is there something wrong in my code? and can i use Tag library Jar version: 1.4.1 in jsf 2.0? thanks hutagaol Share this post Link to post Share on other sites
Guest Sumedh Report post Posted February 8, 2012 Hi. In the .xhtml page, there is no such attribute as xml, you can use only xmldata and xmlurl. I am afraid, we don' t have sample for implementation of FusionCharts with JSF 2.0. You would have to modify your own code for implementation of FusionCharts with JSF 2.0. Hope you have a great day. Share this post Link to post Share on other sites
hutagaol Report post Posted February 23, 2012 hi I got the solution actually i use primefaces 3.0 tag library and put this code in my xhtml page <p:fieldset id="panel"> <p:outputPanel rendered="#{xxBean.boolChartFlag}"> <p:media value="/Charts/MSLine.swf?&dataXML=#{xxBean.xmlData}" player="flash" width="425" height="300"> <f:param name="wmode" value="transparent"/> </p:media> </p:outputPanel> </p:fieldset> thanks for fushioncharts Share this post Link to post Share on other sites
Guest Sumedh Report post Posted February 23, 2012 Hi, Its glad to know that, you have managed to resolve your issue. Happy FusionCharting ! Share this post Link to post Share on other sites
paulineg Report post Posted April 11, 2012 Is there a tag library that supports JSF2? If not will one be created anytime soon? Share this post Link to post Share on other sites
Guest Bindhu Report post Posted April 13, 2012 Hi, I am afraid, there isn't any tag library for JSF2, as of now. We are unable to commit on any time line. Thank you for your continued support and patience. Share this post Link to post Share on other sites
riad loucif Report post Posted May 27, 2012 hi I got the solution actually i use primefaces 3.0 tag library and put this code in my xhtml page <p:fieldset id="panel"> <p:outputPanel rendered="#{xxBean.boolChartFlag}"> <p:media value="/Charts/MSLine.swf?&dataXML=#{xxBean.xmlData}" player="flash" width="425" height="300"> <f:param name="wmode" value="transparent"/> </p:media> </p:outputPanel> </p:fieldset> thanks for fushioncharts please can you give us step to use fusionchart with JSF 2.0 , i don't find any way to do it thank you Share this post Link to post Share on other sites
Guest Bindhu Report post Posted May 28, 2012 Hi, I am afraid, we do not support JSF 2, as of now. Hope this helps! Share this post Link to post Share on other sites
Shweta k Report post Posted June 25, 2012 Hi , I am working on FusionCharts .I have created a project on fusioncharts with .jsp but actually i need .xhtml. For jsp the supporting file i.e FusionChartsRenderer.jsp has a scriptlet in it.I want to know whether .xhtml supports scriptlets? And also please provide me a demo project of fusioncharts in xhtml. Thanks & Regards, Shweta K Share this post Link to post Share on other sites
Guest Bindhu Report post Posted June 25, 2012 (edited) Hi Shweta, In XHTML, the JSP's sciptlet(<% code %>), expression(<%= expression %>), declaration(<%! declarationCode %>) do not work. You may have to use a different syntax to support the same. Like for example, you may use <jsp:declaration> String fname="amit";</jsp:declaration> for declaration, <td>First Name</td><td><jsp:expression> fname</jsp:expression></td> for expression and <jsp:scriptlet> ...</jsp:scriptlet> for Scriptlets. Please refer to a third party link for more information on the same, http://www.roseindia.net/jsp/xml-xhtml-jsp.shtml Also, please note that FusionCharts works with JSP, html, xhtml, etc., with out any issues. Just take care of the syntax. Hope this helps! Edited June 25, 2012 by Bindhu Share this post Link to post Share on other sites
Shweta k Report post Posted June 25, 2012 (edited) Thanks Bindu.....I will go through it and reply you.....Hope it works..... Edited June 25, 2012 by Shweta k Share this post Link to post Share on other sites
Guest Bindhu Report post Posted June 26, 2012 Sure Shweta, will await your response. Hope that helps! Share this post Link to post Share on other sites
Shweta k Report post Posted June 26, 2012 Hi, Actually i am working on Icefaces and that <jsp:declaration> and <jsp:expression> tag is not compatable in Icefaces project. So can you please guide me in this. Share this post Link to post Share on other sites
Guest Bindhu Report post Posted June 26, 2012 Hi, I am afraid, we do not have any implementation on FusionCharts with IceFaces. Share this post Link to post Share on other sites
Shweta k Report post Posted June 26, 2012 Hi, You said that FusionCharts work with xhtml , so can you please explain how? Thanks & Regards, Shweta Share this post Link to post Share on other sites
Guest Bindhu Report post Posted June 26, 2012 Hi Shweta, It works the same way how it works with html. There is no change in the code. You just have to take care of the syntax. Provide the input in XML or JSON format and FusionCharts charting engine will render the charts without any issues. Hope this helps! Share this post Link to post Share on other sites
jeffery.k Report post Posted March 18, 2013 Hi, I am afraid, we do not support JSF 2, as of now. Hope this helps! Has this changed yet? Is there a JSF2 compatible Tag library for fusion charts?? Share this post Link to post Share on other sites
Swarnam Report post Posted March 19, 2013 Hey, Please refer to the forum post: http://forum.fusioncharts.com/topic/12840-jsf-20-fusionchart/ Share this post Link to post Share on other sites