JSF Chart Creator

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
robd
Posts: 1
Joined: Tue Aug 19, 2008 12:58 pm

Post by robd » Tue Aug 19, 2008 1:04 pm

I ran into terrible trouble getting chartcreator to work with icefaces (1.7.0_7) and liferay 5.0.1 running on tomcat 6.

There is a large amount of posts on various sites (including here) about similar such problems.

After much investigation and running of tomcat through eclipse debugger I found that this was due to a number of things:
  • Liferay munging the id of the chart making it impossible for the charlet servlet to find the chart in the session
    The session not being shared between portlet and main container
    The session not being shared between portlet and the phase listener.
The way I worked around this was to use the icefaces register in the same way the the icefaces chart component (based on jcharts) does. This now works perfectly.

NOTE: I used reflection so that there isn't a hard dependency on icefaces

NOTE2: The icefaces chart component only renders in JPEG so the image disappears if rendered as a PNG.

Diff below

Code: Select all

Index: C:/workspace/chartcreator/src/net/sf/jsfcomp/chartcreator/renderkit/ChartRenderer.java
===================================================================
--- C:/workspace/chartcreator/src/net/sf/jsfcomp/chartcreator/renderkit/ChartRenderer.java	(revision 828)
+++ C:/workspace/chartcreator/src/net/sf/jsfcomp/chartcreator/renderkit/ChartRenderer.java	(working copy)
@@ -17,6 +17,8 @@
 
 import java.io.ByteArrayOutputStream;
 import java.io.IOException;
+import java.lang.reflect.Method;
+import java.net.URI;
 import java.util.Iterator;
 import java.util.Map;
 
@@ -59,7 +61,31 @@
 		writer.writeAttribute("border", "0", null);
 		writer.writeAttribute("height", String.valueOf(chart.getHeight()),null);
 		
-		if(ChartUtils.useServlet(context))
+			
+		Class contextImplClass = context.getClass();
+		if (contextImplClass.getName().equals("com.icesoft.faces.context.BridgeFacesContext")) {
+			ChartData data = new ChartData(chart);
+			ByteArrayOutputStream bos = new ByteArrayOutputStream();
+			JFreeChart jchart = ChartUtils.createChartWithType(data);
+			ChartUtils.setGeneralChartProperties(jchart, data);
+			ChartUtilities.writeChartAsJPEG(bos, jchart, data.getWidth(), data.getHeight());
+			
+			try {
+				Class resourceInterface = Class.forName("com.icesoft.faces.context.Resource");
+				Class resourceClass = Class.forName("com.icesoft.faces.component.outputchart.ChartResource");
+				Object chartResource = resourceClass.getConstructor(ByteArrayOutputStream.class).newInstance(bos);
+				Method registerMethod = contextImplClass.getMethod("registerResource", String.class, resourceInterface);
+				URI uri = (URI) registerMethod.invoke(context, "image/jpeg", chartResource);
+	            
+				bos.flush();
+	            bos.close();
+				writer.writeAttribute("src", uri.getPath(), null);
+			}
+			catch (Exception e) {
+				throw new IOException("Error registering icefaces component: " + e.getMessage());
+			}
+		}
+		else if(ChartUtils.useServlet(context))
 			writer.writeAttribute("src", ChartConstants.CHART_REQUEST + ".chart?ts="+ System.currentTimeMillis() + "&chartId=" + clientId, null);
 		else {
 			String viewId = context.getViewRoot().getViewId();

subash_ks
Posts: 10
Joined: Thu Aug 21, 2008 9:38 am

JSF Chart creator print problem

Post by subash_ks » Sat Aug 23, 2008 6:26 am

Hi cagatay,
we r using JSF chart creator.We had succcessfully integreated with our data base and its working fine but we have a problem that we can not take print outs of this graph in IE.In IE browser its print preview is not coming.Whats reason behind it .Pleas help me its very urgent..

Waiting for your reply
Thanks and Regards,

Subash K S

yann
Posts: 1
Joined: Wed Oct 08, 2008 9:39 am

Session wihtout coockies

Post by yann » Wed Oct 08, 2008 9:47 am

Hi cagatay,

I tested the JSF chart creator with a browser not allowing coockies.
The session is in this situation maintained with URL rewriting (url;jsessionid=....)

JSF chart creator does not work in that situation.
I think it is because it does not ues URL rewritring.

Code: Select all

		if(ChartUtils.useServlet(context))
			writer.writeAttribute("src", ChartConstants.CHART_REQUEST + ".chart?ts="+ System.currentTimeMillis() + "&chartId=" + clientId, null);
		else {
			String viewId = context.getViewRoot().getViewId();
			String actionURL = context.getApplication().getViewHandler().getActionURL(context, viewId);
			writer.writeAttribute("src", actionURL + "?ts="+ System.currentTimeMillis() + "&chartId=" + clientId, null);
		}
could be:

Code: Select all

		if(ChartUtils.useServlet(context)) {
			String actionURL = ChartConstants.CHART_REQUEST + ".chart?ts="+ System.currentTimeMillis() + "&chartId=" + clientId;
			actionURL = context.getExternalContext().encodeActionURL(actionURL);
			writer.writeAttribute("src", actionURL, null);
		} else {
			String viewId = context.getViewRoot().getViewId();
			String actionURL = context.getApplication().getViewHandler().getActionURL(context, viewId);
			actionURL = context.getExternalContext().encodeActionURL(actionURL);
			writer.writeAttribute("src", actionURL + "?ts="+ System.currentTimeMillis() + "&chartId=" + clientId, null);
		}
I tested quickly and the issue was fixed.

ptn_gaye@yahoo.fr
Posts: 3
Joined: Wed Nov 26, 2008 11:03 am

Unable to create a Radar chart using Chart Creator and JFree

Post by ptn_gaye@yahoo.fr » Wed Nov 26, 2008 3:41 pm

Hi!
How can I create a radar chart andput it on my JSF page using JFreechart?
I try to user Chart Creator but in the available chart type, I don't see "radar"

Do you haave an idea?


thanks.

ransom
Posts: 1
Joined: Sun Jan 18, 2009 5:35 pm

using the chartcreator in JSF with OC4J shows nothing

Post by ransom » Sun Jan 18, 2009 5:47 pm

I have a problem with chartcreator , i dont wanna use the servlet way i wanna use the whats is called "phaselistener way" i applied the
jsf components default tutorial (the pie chart one)
tutorial but it didnt work, no exceptions no errors just blank image
what i make is the following
--------------------------------------------
web.xml :

<context-param>
<param-name>net.sf.jsfcomp.chartcreator.USE_CHARTLET</param-name>
<param-value>false</param-value>
</context-param>

<context-param>
<param-name>facelets.LIBRARIES</param-name>
<param-value>/WEB-INF/chartcreator.taglib.xml</param-value>
</context-param>
--------------------------------------------------------------
facesconfig.xml : (though it is not mentioned in the above website but i found it somewhere in a forum)

<component>
<component-type>net.sf.jsfcomp.chartcreator.component.UIChart</component-type>
<component-class>net.sf.jsfcomp.chartcreator.component.UIChart</component-class>
</component>

<lifecycle>
<phase-listener>net.sf.jsfcomp.chartcreator.ChartListener</phase-listener>
</lifecycle>
---------------------------------------
the managed bean :
private pieDataSet = new DefaultPieDataset ();

public DefaultPieDataset getPieDataSet() {
pieDataSet.setValue("A",52 );
pieDataSet.setValue("B", 18 );
pieDataSet.setValue("C", 30 );
return pieDataSet;

}
and the setter ...
--------------------------------------------
the jsp(jsf) page"

<c:chart id="chart1" datasource="#{messageAction.pieDataSet}" type="pie" is3d="true" antialias="true" title="Example Chart" xlabel="X Label" ylabel="Y Label" height="300" width="400"></c:chart>

FahadJan
Posts: 3
Joined: Mon Aug 27, 2007 5:37 pm

JSF Chart

Post by FahadJan » Wed Jan 21, 2009 12:13 pm

Hi,

I have created a Bar chart in JSF that has a tooltip value on each bar (by using 'usemap' and 'generateMap' properties). Can anybody tell me how i can get the tool tip value in java by clicking on a specific bar that is showing me the value e.g. a time bar(s) showing me the number of population in a certain year with birth rate.

Thanks in advance,

Fahad

oterral
Posts: 2
Joined: Fri Jan 23, 2009 3:25 pm

ChartCreator + A4J

Post by oterral » Fri Jan 23, 2009 3:46 pm

Hi guys,

I'm really interested about ChartCreator, and I would like to help if is possible to improve it.

I need to create SVG chart with interactive UI (zoom, drag, mouseover ....).

Here my questions :

anujcb: Is there an url where we can see you prototype?

I've tried with success to create SVG chart but now I would like to add some JavaScript in SVG elements created by Batik (mouseover event).
I've seen cagatay_civici have added JS events on Image map.
But how I could do the same thing on SVG dom ?
when JFreeChart is transforming to SVG, I don't know how I can link a plot to his corresponding SVG element.
May be anyone have already work on it so if you've an idea, tell me please


thanks in advance
anujcb wrote:
aloleary wrote:Any comments on JSF / Chart Creator having any Ajax support capability ? like Ajax4JSF wrapper etc ...

This would be fantastic... Imagine a JFree chart dynamically updating in the page without page re-load...

Any pointers on anyone working on this ... if not I will try and make something using Ajax4Jsf

-A-
I just completed a prototype application using ICE Faces components and Jfree charts. The best part is the interactiveness it gives, i can look at charts almost realtime, change the axis range, dynamically overlay multiple data sets all without refreshing the whole page.

dharmendra
Posts: 5
Joined: Wed Apr 23, 2008 1:31 pm

Dual Axis Chart using Jsf

Post by dharmendra » Wed Jan 28, 2009 10:06 am

Hi,
I want to make a dual axis chart.How can I do that.Plz help me.

daniel_r
Posts: 2
Joined: Mon Feb 09, 2009 7:26 am
Contact:

Addinng values or percents to 3D stacked bar ??

Post by daniel_r » Mon Feb 09, 2009 7:31 am

Hi, i want to create a 3d bar stacked with values on each part of the stacked bar... percents are ok too... any way to do that with ChartCreator?

dharmendra
Posts: 5
Joined: Wed Apr 23, 2008 1:31 pm

Post by dharmendra » Mon Feb 09, 2009 8:53 am

you are calling the addValue to your dataset object like :
categoryDataSet.addValue(pageCount, series1, className);
here in series is the variable for the values of your stacked bar.

daniel_r
Posts: 2
Joined: Mon Feb 09, 2009 7:26 am
Contact:

Post by daniel_r » Mon Feb 09, 2009 10:19 am

dharmendra wrote:you are calling the addValue to your dataset object like :
categoryDataSet.addValue(pageCount, series1, className);
here in series is the variable for the values of your stacked bar.

that I know and i did... my question was how to display inside the stacked bar the information of the value of each segment of the stacked bar,

I want to display data labels for bar segments as well as for whole bars...

oterral
Posts: 2
Joined: Fri Jan 23, 2009 3:25 pm

Re: ChartCreator + A4J

Post by oterral » Fri Mar 06, 2009 8:45 pm

I've succeed to done what I want.

A dynamic JSf chart with SVG-VML rendering and A4j , I'ven't had news from the leader of JSf comp project so I've commited my modification of JSF-comp on the svn of MapFaces project : http://svn.codehaus.org/mapfaces/
(need Maven for compile the project), see th mapfaces/exemple/charts/otherCharts.jsp for an example of use

Actally only TimeSeries chart is available because of my need.

You can render the chart in SVG or VML with popup on plot, wheel zoom , box zoom and drag.
the rendering is efficient on IE 6-7 and Firefox 3, for the other browsers you need to desactive the smooth reRender directly on the code (smooth reRender permitts to doesn't see the component reRendering) of the chart.

Actually I haven't time to develop more on it but feedbacks are always welcome.

I'll post an URL to see the result when I will have one.

Bye.

oterral wrote:Hi guys,

I'm really interested about ChartCreator, and I would like to help if is possible to improve it.

I need to create SVG chart with interactive UI (zoom, drag, mouseover ....).

Here my questions :

anujcb: Is there an url where we can see you prototype?

I've tried with success to create SVG chart but now I would like to add some JavaScript in SVG elements created by Batik (mouseover event).
I've seen cagatay_civici have added JS events on Image map.
But how I could do the same thing on SVG dom ?
when JFreeChart is transforming to SVG, I don't know how I can link a plot to his corresponding SVG element.
May be anyone have already work on it so if you've an idea, tell me please


thanks in advance
anujcb wrote:
aloleary wrote:Any comments on JSF / Chart Creator having any Ajax support capability ? like Ajax4JSF wrapper etc ...

This would be fantastic... Imagine a JFree chart dynamically updating in the page without page re-load...

Any pointers on anyone working on this ... if not I will try and make something using Ajax4Jsf

-A-
I just completed a prototype application using ICE Faces components and Jfree charts. The best part is the interactiveness it gives, i can look at charts almost realtime, change the axis range, dynamically overlay multiple data sets all without refreshing the whole page.
Terral Olivier
Mapfaces leader project
http://demo.geomatys.fr

braingler
Posts: 2
Joined: Mon Mar 09, 2009 12:24 pm

Re: JSF Chart Creator

Post by braingler » Mon Mar 09, 2009 12:48 pm

Hi All,

I need some help on JFreeChart usage with ADF JSF Faces since I am new to the JFreeChart usage.

I have a requirement to develop a line chart in Jdeveloper 10.1.3 on ADF Faces. In order to do this I referred to the following blog entry:-

http://biemond.blogspot.com/2008/12/cha ... -1013.html

I tried to develop the graph application referring to the example project available on the web page above using the following components:-

chartcreator-1.2.0.jar
jcommon-1.0.14.jar
jfreechart-1.0.11.jar

I have all these jars copied under the WEB-INF\lib folder of my ViewController project.

1) I setup the Chart Creator tld available under the chartcreator-1.2.0 jar file into the JSP Tag Libraries in the Project Properties section of my ViewController project.
2) I imported all the jars listed above into the Libraries section of my ViewController project.
3) Changed the web.xml to include the following components:-

<context-param>
<param-name>net.sf.jsfcomp.chartcreator.USE_CHARTLET</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>facelets.LIBRARIES</param-name>
<param-value>/WEB-INF/chartcreator.taglib.xml</param-value>
</context-param>

<servlet>
<servlet-name>Chartlet</servlet-name>
<servlet-class>net.sf.jsfcomp.chartcreator.Chartlet</servlet-class>
</servlet>

<servlet-mapping>
<servlet-name>Chartlet</servlet-name>
<url-pattern>*.chart</url-pattern>
</servlet-mapping>

4) The faces-config.xml has the following :-

<managed-bean>
<managed-bean-name>backing_graphtest</managed-bean-name>
<managed-bean-class>view.backing.Graphtest</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
<managed-property>
<property-name>bindings</property-name>
<value>#{bindings}</value>
</managed-property>
<!--oracle-jdev-comment:managed-bean-jsp-link:1graphtest.jspx-->
</managed-bean>

<lifecycle>
<!--
<phase-listener>oracle.adf.controller.faces.lifecycle.ADFPhaseListener</phase-listener>
-->
* <phase-listener>test.model.DynamicJDBCADFPhaseListener</phase-listener>*
</lifecycle>

<application>
<default-render-kit-id>oracle.adf.core</default-render-kit-id>
</application>

5) The JSF page used to display the graph was changed to have the following components:-


<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:af="http://xmlns.oracle.com/adf/faces"
xmlns:afh="http://xmlns.oracle.com/adf/faces/html"
xmlns:cust="http://xmlns.oracle.com/adf/faces/customizable"
xmlns:ch="http://sourceforge.net/projects/jsf-comp">


...


...


<ch:chart id="chartLine" datasource="#{backing_Graphtest.dataset}"
type="line" is3d="true" antialias="true" title="Line"
xlabel="Date" ylabel="Level" height="300" width="500"/>


...


...

6) Lastly the backing bean had the following code to generate the datasource for the line graph above:-

public DefaultCategoryDataset getDataset() throws ParseException,
* SQLException {*



System.out.println("Am into getDataset() function");
XYSeries series = new XYSeries("Installation Vessel Level Graph");

TimeSeries s1 = new TimeSeries("Year", Year.class);

DefaultCategoryDataset dataset = new DefaultCategoryDataset();

DCBindingContainer bc = getBindings();
if (bc != null) {

System.out.println("\n\n Am into getDataset() function --> bc not null");

DCIteratorBinding normIter =
bc.findIteratorBinding("ViewObj1Iterator");

RowSetIterator rsi = normIter.getRowSetIterator();
String[] attNames = rsi.getRowAtRangeIndex(0).getAttributeNames();

int readDateTimeNum = 0;
int levelNum = 0;

for (int j = 0; j < attNames.length; j++) {
if (attNames[j].equalsIgnoreCase("ReadingDatetime")) {
readDateTimeNum = j;
} else if (attNames[j].equalsIgnoreCase("PostFillLevel")) {
levelNum = j;
}
}

for (int i = 0; i < rsi.getRowCount(); i++) {

Row currentRow = rsi.getRowAtRangeIndex(i);
Object[] attValues = currentRow.getAttributeValues();

String readingDateStr = attValuesreadDateTimeNum.toString();

SimpleDateFormat format = new SimpleDateFormat("ddMMyy");
java.util.Date readingValue = format.parse(readingDateStr);

//Integer readingDate = Integer.parseInt(readingValue.toString());
Number levelValue = (Number)attValueslevelNum;



dataset.addValue(levelValue,
"Date", readingValue.toString());
}

}

return dataset;
}

7) Now when I try to run the JSF page, I get the following error in the projectname-oc4j-app.log file:-

09/03/05 16:23:48.771 TenorJavaGraph: 10.1.3.1.1 Started
09/03/05 16:23:57.115 TenorJavaGraph: Servlet error
java.lang.RuntimeException: Unsupported chart type

* at net.sf.jsfcomp.chartcreator.utils.ChartUtils.createChartWithType(Unknown Source)*
at net.sf.jsfcomp.chartcreator.Chartlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.1.1).server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:712)
at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.1.1).server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.1.1).server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:258)
at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.1.1).server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:50)
at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.1.1).server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:192)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.1.1).server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:197)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.1.1).server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:712)
at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.1.1).server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.1.1).server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.1.1).server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.1.1).server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.1.1).server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.1.1).server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.1.1).util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
09/03/05 16:25:05.584 TenorJavaGraph: Servlet error
java.lang.RuntimeException: Unsupported chart type

* at net.sf.jsfcomp.chartcreator.utils.ChartUtils.createChartWithType(Unknown Source)*
at net.sf.jsfcomp.chartcreator.Chartlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.1.1).server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:712)
at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.1.1).server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.1.1).server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:258)
at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.1.1).server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:50)
at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.1.1).server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:192)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.1.1).server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:197)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.1.1).server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:712)
at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.1.1).server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.1.1).server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.1.1).server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.1.1).server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.1.1).server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.1.1).server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.1.1).util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)

I was not able to find out why the "Unsupported Chart Type" error is coming up here. I tried this with pie, xyline, etc. However I still keep receiving this error. Please could some one help me out? I have been struggling with this for some time now. Tbe graph does not display and there are no errors in the JSF page/application server. A broken link appears in place of the graph.

Thanks a lot in advance and sorry for the gigantic mail...

Regards,
Lester.

NOTE: Some people have mentioned that they were able to see the graph when they changed the servlet mapping sequence, deleting title, etc. I have tried these but am not able to see the graph.

braingler
Posts: 2
Joined: Mon Mar 09, 2009 12:24 pm

Re: JSF Chart Creator

Post by braingler » Tue Mar 10, 2009 6:46 am

Hi All,

Please could someone reply on how to eliminate the exception shown above? This is urgent.

Thanks and Regards,
Lester.

castocolina
Posts: 2
Joined: Fri Jan 16, 2009 2:50 pm
Location: Venezuela

Re: JSF Chart Creator

Post by castocolina » Mon May 18, 2009 4:10 pm

Is this project already forgotten, is no longer supported?
I not wacht changes since 1.2 version and I see it replaced by "PrimeFaces".

In addition it is not available in any maven repository.

I made some changes to suit certain needs of a project want help to be present in a next revision.

What should I do?
Please let me know if this will not continue to support this project.
Thank you.

Locked