我在尝试在我的 JSP 中创建饼图时遇到问题。我正在使用 Cewolf(和 Jfreechart)。我的代码如下:
<cewolf:chartpostprocessor id="pieChartPP">
<c:forEach items="${requestScope.statsClientGlobal}" var="statClient">
<cewolf:param name="${statClient.siteName}"value="${requestScope.colorMap[statClient.siteCode]}"/>
</c:forEach>
</cewolf:chartpostprocessor>
</cewolf:chart>
如您所见,我想动态创建 cewolf 参数行,但出现此错误:
错误 500:org.apache.taglibs.standard.tag.rt.core.ForEachTag 与 de.laures.cewolf.taglib.tags.Parameterized 不兼容。
知道如何使它工作吗?