srividya_sharma

FusionCharts JSF-All Tag Libraries & Samples

Recommended Posts

Hello.

 

 

 

I'm concerned that my application is using the incorrect taglib jar and taglib xml. I am using java 6 and jsf 1.2, so I am using the jar from http://www.fusioncharts.com/forum/FindPost14111.aspx but it seems a little old and I'm wondering if this is the latest version?

 

 

 

Also, I'm wondering where I can find the latest fusioncharts.taglib.xml. I version I have only refers to the tag "renderHTML" and there's no reference to "render" (which i often see referred to in examples).

 

 

 

Is there a download page for these jars and xmls? I've looked but all I can find is a couple forum threads with download links which makes me wonder if I indeed have the latest version.

 

 

 

Thanks

 

Talamond

Share this post


Link to post
Share on other sites

I am trying to build a graph using FusionChartsFree . I have included fusionchartstaglibJSF1-2-java5-Version1_4_1 in my war lib.

 

 

 

i am trying to use the chart in my JSF JSP page using

 

 

 

I have tried after removing all the tags from my page and just added this jar but just after adding this jar it starts giving this error while deploying:

 

Please help i am struck.

 

 

 

Initializing Sun's JavaServer Faces implementation (1.2_04-b22-p05) for context '/ers-war'

 

WebModule[/ers-war]PWC1275: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener

 

javax.faces.FacesException: Can't parse configuration file: jar:file:/C:/Backup/NetBeansProjects/ers/dist/gfdeploy/ers-war_war/WEB-INF/lib/fusionchartstaglibJSF1-2-java5-Version1_4_1.jar!/META-INF/faces-config.xml: Error at line 8 column 70: cvc-elt.1: Cannot find the declaration of element 'faces-config'.

 

at com.sun.faces.config.ConfigureListener.parse(ConfigureListener.java:1438)

 

at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:348)

 

at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4632)

 

at org.apache.catalina.core.StandardContext.start(StandardContext.java:5312)

 

at com.sun.enterprise.web.WebModule.start(WebModule.java:353)

 

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:989)

 

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:973)

 

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:704)

 

at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1627)

 

at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1232)

 

at com.sun.enterprise.web.WebContainer.loadJ2EEApplicationWebModules(WebContainer.java:1159)

 

at com.sun.enterprise.server.TomcatApplicationLoader.doLoad(TomcatApplicationLoader.java:141)

 

at com.sun.enterprise.server.ExtendedApplicationLoader.doLoad(ExtendedApplicationLoader.java:134)

 

at com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:238)

 

at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:336)

 

at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:210)

 

at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:645)

 

at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:959)

 

at com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:943)

 

at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:467)

 

at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:182)

 

at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)

 

at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:231)

 

at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)

 

at com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132)

 

at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)

 

at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:966)

 

at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:609)

 

at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:653)

 

at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:773)

 

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

 

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

 

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

 

at java.lang.reflect.Method.invoke(Method.java:597)

 

at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:381)

 

at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:364)

 

at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:477)

 

at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)

 

at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)

 

at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)

 

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

 

at java.lang.reflect.Method.invoke(Method.java:597)

 

at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)

 

at $Proxy1.invoke(Unknown Source)

 

at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)

 

at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)

 

at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:69)

 

at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:155)

 

at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:122)

 

at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:193)

 

at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)

 

at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

 

at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)

 

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)

 

at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)

 

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)

 

at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)

 

at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)

 

at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)

 

at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)

 

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)

 

at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)

 

at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)

 

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)

 

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)

 

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)

 

at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)

 

at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)

 

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)

 

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)

 

at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)

 

at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)

 

at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579)

 

at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831)

 

at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)

 

at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)

 

at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)

 

at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)

 

at com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:116)

Share this post


Link to post
Share on other sites

Hell Srividya,

 

I am new to the Fusion Charts and JSF. Can you please send me the sample WAR of JSF 1.2 in java 1.6. (please don't send the link of fusioncharts.com because i tried to download it but it is working.)

 

 

Thank You,

Vasanth

Share this post


Link to post
Share on other sites

Hello srividya_sharm,

 

Thank you very much for this great tag library, I think you make a great job.

 

I want to learn more about the license, and if is possible to modify the code.

 

Thanks a lot.

Share this post


Link to post
Share on other sites

Hi

 

Thank you for your kind words. That made my day! :)

 

Yes, you can modify the code.

 

If you are making any improvements, please be kind enough to share it with us, so that we can enhance the library for other users as well.

 

Srividya Sharma

Share this post


Link to post
Share on other sites

Seems like your server is trying to validate before deploying.

 

Please try to replace the faces-config.xml in the jar/ META-INF folder with the one I have attached here.

 

Hope this helps. :)

 

Srividya

 

The XSD file name in xsi:schemaLocation is invalid. Instead of web-facesconfig_1_2_.xsd, it should be web-facesconfig_1_2.xsd

 

 

Share this post


Link to post
Share on other sites

Hi everybody,

 

I will post all the FusionCharts JSF tag libraries and samples here. Please use the version that suits your environment.

 

Regards.

 

Have you given any thought to including the namespace and schema information in the fusioncharts.tld?

 

We are having an issue deploying the taglib jar file in our WAR file under JBoss AS 6 because the parser cannot validate the xml.

 

 

Share this post


Link to post
Share on other sites

We are using fusionchartstaglibJSF1-2-java5-Version1_4.jar

 

Everything was working fine until we upgraded to FusionCharts XT v3.2.2

 

Problems:

1. The charts don’t fill up the space of the div correctly

 

2. The Font size increased

 

3. Javascript error when rendering the chart the 2nd time ( #06091847 chartobject-1 Warning >> A FusionChart oject with the specified id "00" already exists. Renaming it to chartobject-1 )

 

Is there an newer tag library that we should be using?

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