Dear Experts,
I have just started using CeWolf-1.1.5 in a
JSP application to display bar graphs. I was able to come up with a vertical bar graph (single category).
By default, it is Red in color. I tried using SeriesPaintProcessor to change the color of the bars. The
J2ee engine is not able to parse the JSP and is giving the error:
The error is: com.sap.engine.services.servlets_jsp.lib.jspparser.exceptions.JspParseException: Cannot parse custom tag with short name [param].
Below is the relevant code that I am using:
<%@taglib uri='/WEB-INF/tld/cewolf.tld' prefix='cewolf' %>
<jsp:useBean id="seriesPaint" class="de.laures.cewolf.cpp.SeriesPaintProcessor" />
<html>
<body>
<jsp:useBean id="pageViews3" class="com.test.model.MyDataProducer"/>
<cewolf:chart
id="verticalbar"
title="Page View Statistics"
type="verticalbar"
xaxislabel="Page"
yaxislabel="Views">
<cewolf:data>
<cewolf:producer id="pageViews3"/>
</cewolf:data>
<cewolf:chartpostprocessor id="seriesPaint">
<cewolf:param name="0" value="#66bc29"/>
</cewolf:chartpostprocessor>
</cewolf:chart>
<cewolf:img chartid="verticalbar" renderer="cewolf" width="400" height="300">
</cewolf:img>
</body>
</html>
It works fine and displays the bar graph (in Red color) if I remove
<cewolf:chartpostprocessor id="seriesPaint">
<cewolf:param name="0" value="#66bc29"/>
</cewolf:chartpostprocessor>
Thanks for your help in advance.
Thanks,
aman