NetBeans 5.5.1 with VWP: Problem with ObjectArrayDataProvider, GenericDataSet and JSC Chart component
Posted on 2007-10-09
I'm using NetBeans 5.5.1 IDE with Visual Web Pack (VWP) to develop a web application. The OS: Linux FC6, The Server: Sun Java System Application Server.
One of my JSPs is to render a bar-chart graph.
I've successfully installed JSC chart components and these components are visible on the VWP palette.
1. I successfully retreave from database COUNT(*)s data to be bar-charted. These data values I store in a SessionBean1 Object Array
2. I also have an Object Array Data Provider (OADP) in SessionBean1. This OADP obtains data from the above mentioned object array.
3. I've used the Object Array Data Provider to provide data to a genericDataSet object
4. I've dropped a bar-chart component onto a JSF design page and selected the above mentioned genericDataSet object as the data source for the bar-chart component; expecting a bar chart of the COUNT(*)s when the application is run. But alas, there is no bar-chart rendered (It does not appear on the output page).
I get the following WARNING:
java.lang.RuntimeException: java.lang.ClassNotFoundException: com.sun.rave.propertyeditors.StringPropertyEditor
I'd appreciate your help in resolving this issue.