srividya_sharma Report post Posted May 11, 2009 (edited) Hi everybody, I will post all the FusionCharts JSF tag libraries and samples here. Please use the version that suits your environment. Regards. Edited May 11, 2009 by Guest Share this post Link to post Share on other sites
srividya_sharma Report post Posted May 11, 2009 (edited) Java : 6 JSF: 1.2 Taglibrary attached. Please find the latest jar with new attributes added, in the post below: http://www.fusioncharts.com/forum/Topic14110-33-1.aspx#bm17718 fusionchartstaglibJSF1-2.zip Edited September 4, 2009 by Guest Share this post Link to post Share on other sites
srividya_sharma Report post Posted May 11, 2009 (edited) Java: 5 JSF : 1.2 Tag library attached. This attachment is an older version, for latest version of this jar, please see below post : http://www.fusioncharts.com/forum/FindPost17718.aspx fusionchartstaglibJSF1-2-java5.zip Edited September 1, 2010 by Guest Share this post Link to post Share on other sites
srividya_sharma Report post Posted May 11, 2009 Java: 5 & 6 JSF : 1.1 Tag library attached. fusionchartstaglibJSF1_1.zip Share this post Link to post Share on other sites
srividya_sharma Report post Posted May 11, 2009 FusionCharts Pro JSF 1.1 Sample Application This application shows how to use the JSF 1.1 tag library with FusionCharts v3. To try this application, please Place the FusionCharts.js and swf files in the FusionCharts folder. Place the JSF 1.1 related library files in WEB-INF/lib folder. FusionChartsProJSF1_1SampleApp.zip Share this post Link to post Share on other sites
binamra Report post Posted May 14, 2009 Hi,I am new to Fusion charts.We are trying to use Fusion charts in JSF 1.2.Earlier we were using JFree charts. I have downloaded FusionChartsFree_JSF.war file and fusionchartstaglibJSF1-2.jar from this site and deployed the WAR. I am able to see all the charts except "Simple Chart with data from Backing Bean " .Whenever i click on this link,the page gets loaded and in place of Chart i get "No Data to display". I am using JSF1.2,JDK 6 and Apache Tomcat 6. Thanks, Binamra Share this post Link to post Share on other sites
srividya_sharma Report post Posted May 15, 2009 It works for me in the same environment. Please turn the debugMode "on" and tell us what the message there is. This can be done in BackingBeanChart.jsp by providing another attribute to the chart debugMode="true". I request you to please start a new Topic for your queries. I want to leave this topic only for posting new samples/jars. Thanks. Share this post Link to post Share on other sites
srividya_sharma Report post Posted September 2, 2009 (edited) Hello everybody, Here I am again, with the latest JSF tag library jar. This time I have added the windowMode, color and other useful attributes. ArrayIndexOutOfBoundsError in saveState has been fixed. Minor error in wMode has also been fixed. Please see the tld or the Version History.txt for all the attributes added in this version 1.4 of the tag library. Java: 5 JSF: 1.2 Tag library Jar version: 1.4.1 Srividya Keep asking and keep getting more out of FusionCharts! fusionchartstaglibJSF1-2-java5-Version1_4_1.zip Edited January 20, 2010 by Guest Share this post Link to post Share on other sites
dongrenke Report post Posted September 3, 2009 very very thank U , everything is perfect , i used it in seam , it works very well Share this post Link to post Share on other sites
srividya_sharma Report post Posted September 3, 2009 Thank you. It is always Nice to hear some positive feedback. Keeps you motivated. Srividya Ask and get more out of FusionCharts everyday! Share this post Link to post Share on other sites
sachin257 Report post Posted September 29, 2009 (edited) Thnx Edited September 30, 2009 by Guest Share this post Link to post Share on other sites
srividya_sharma Report post Posted December 7, 2009 Hello everybody, Attached is the Sample Application with the latest FusionCharts JSF jar. ( v1.4 ) Please see the tld or the Version History.txt for all the attributes added in this version 1.4 of the tag library. Java: 5 JSF: 1.2 Tag library Jar version: 1.4 To try this application, please Place the FusionCharts.js and swf files in the FusionCharts folder. Place the JSF 1.2 related library files in WEB-INF/lib folder. For viewing Tabbed example, you would need rich faces. Srividya FusionChartsProJSF1_2v1_4SampleApp.zip Share this post Link to post Share on other sites
srividya_sharma Report post Posted December 25, 2009 Merry Christmas to all FusionCharts JSF users. Share this post Link to post Share on other sites
devika Report post Posted January 19, 2010 hi, i am new to Seam framework. can anybody help in embending fusioncharts in seam. if i can get sample application it will be great. Devika Share this post Link to post Share on other sites
Guest Rajroop Report post Posted January 19, 2010 Hi Devika,You might find this helpful. That thread has an example of FusionCharts/JSF integration, all you have to do is add Seam to the mix. Also, another useful FusionCharts Forum thread would be: http://www.fusioncharts.com/forum/Topic8629-33-2.aspx Please do revert with your comments on this. I hope this helps. Share this post Link to post Share on other sites
srividya_sharma Report post Posted January 20, 2010 Hi everybody, Please find the latest JSF 1.2 jar at http://www.fusioncharts.com/forum/FindPost17718.aspx Version of the jar: 1.4.1 A minor fix related to wMode in Firefox was made in this version. Srividya Share this post Link to post Share on other sites
liyaqatm Report post Posted January 26, 2010 Hi, I had a question around the BackingBean Example, does it specify the filename of the xml file in this line: filename="#{exampleChartData.filename}" Does this imply we need to have this file and we cannot stream raw XML into this template? Apologies if i sound a bit confusing I cannot access all the classes to look more into it. Thanks Share this post Link to post Share on other sites
srividya_sharma Report post Posted January 26, 2010 Hello Liyaqat, Thanks for trying out this tag library. I hope you like it. filename attribute is for specifying the name and path of the .swf file. Here are some sample usages: Using dataURL method: <fc:renderHTML chartId="BasicChart" filename="FusionCharts/Column3D.swf" width="700" height="300" url="Data/Data.xml" debugMode="false"/> Using inline xml or dataXML method: <fc:renderHTML chartId="BasicChart" filename="FusionCharts/Column3D.swf" width="700" height="300"> <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> </fc:renderHTML> With Backing Bean: <fc:render chartId="#{exampleChartData.chartId}" filename="#{exampleChartData.filename}" width="#{exampleChartData.width}" height="#{exampleChartData.height}" xml="#{exampleChartData.xml}"></fc:render> sample values in the backing bean: String xml="<chart></chart>"; // will have the chart specifi xml String chartId="Chart1"; String url="Data/Data.xml"; String width="700"; String height="300"; String filename = "../FusionCharts/Column3D.swf"; You can use fc:render or fc:renderHTML. fc:render requires that you import the FusionCharts.js in your page ( <javascript src=... > ) whereas fc:renderHTML uses the object embed tag. Hope this clarifies your question. Srividya Share this post Link to post Share on other sites
spikytiger2001 Report post Posted January 27, 2010 (edited) Hi there, are there any taglibs for Java5, JSF1.2, that support expressions? eg #{} or ${} ??? Cause I keep getting: 'According to TLD or attribute directive in tag file, attribute chartId does not accept any expressions' when I use the taglib 1.4 Edited January 27, 2010 by Guest Share this post Link to post Share on other sites
srividya_sharma Report post Posted January 27, 2010 Hi Did you try the sample application posted here: http://www.fusioncharts.com/forum/FindPost21235.aspx It has example using EL - Backing Bean Example. Please try it out. Srividya Share this post Link to post Share on other sites
spikytiger2001 Report post Posted February 1, 2010 yes thanks, I didnt notice the addition of the xml attribute in the tag:P was putting my chart xml between the fusionchart tags. Share this post Link to post Share on other sites
Guest Madhumita Report post Posted February 1, 2010 Hey, Glad that you solved the issue. Happy FusionCharting. Share this post Link to post Share on other sites
javierp Report post Posted March 22, 2010 Hello, is the taglib source code available to download? Thanks is advance, Javi Share this post Link to post Share on other sites
srividya_sharma Report post Posted March 23, 2010 (edited) Hi Javi, Here is the Source Code for FusionCharts JSF taglib version 1.4.1. Java: 5 JSF: 1.2 Source code for Tag library Jar version: 1.4.1 Please find attached. Hope this helps. Srividya Ask and get more out of FusionCharts everyday! FusionChartsJSFTagLibSourceCode1_4_1.zip Edited March 23, 2010 by Guest Share this post Link to post Share on other sites
ringoswy Report post Posted May 14, 2010 Hi all The Tag library Jar version 1.4.1 is very useful. Thanks a lot But I have a problem of setting the wMode of the flash. I have set the wMode of flash by using the following code in jsf <fc:renderHTML windowMode="opaque" but it doesn't work. Does anyone know how to set the wMode?? Share this post Link to post Share on other sites
srividya_sharma Report post Posted May 14, 2010 Hi Can you please post the source code of the page? We can then determine whether wMode has been applied to the chart or not. Srividya Share this post Link to post Share on other sites
ringoswy Report post Posted May 16, 2010 Thanks for your help <fc:renderHTML chartId="BasicChart" width="700" height="400" filename="FusionCharts/#{listItem.rptFileName}.swf" xml="#{listItem.XML}" windowMode="opaque" /> Share this post Link to post Share on other sites
ringoswy Report post Posted May 16, 2010 The reason I need to set the wmod of flash to "opaque" is I have added a datepicker on the top of the flash, but the <div> layer has been covered by the flash. And the solution is set the wMode to "opaque" Thanks Share this post Link to post Share on other sites
srividya_sharma Report post Posted May 18, 2010 are you using the latest fusioncharts JSF jar? please verify the version of jar. Share this post Link to post Share on other sites