Author: manaRH
Date: 2012-05-28 09:06:48 -0400 (Mon, 28 May 2012)
New Revision: 14786
Modified:
branches/enterprise/WFK-2_0/jboss-seam-pdf/src/main/java/org/jboss/seam/pdf/ui/UIChart.java
Log:
JBSEAM-4899 back ported fix for multipie datasets
Signed-off-by: Marek Novotn?\195?\189 <hotmana76(a)gmail.com>
Modified:
branches/enterprise/WFK-2_0/jboss-seam-pdf/src/main/java/org/jboss/seam/pdf/ui/UIChart.java
===================================================================
---
branches/enterprise/WFK-2_0/jboss-seam-pdf/src/main/java/org/jboss/seam/pdf/ui/UIChart.java 2012-05-28
13:06:36 UTC (rev 14785)
+++
branches/enterprise/WFK-2_0/jboss-seam-pdf/src/main/java/org/jboss/seam/pdf/ui/UIChart.java 2012-05-28
13:06:48 UTC (rev 14786)
@@ -343,11 +343,8 @@
@Override
public void encodeBegin(FacesContext context) throws IOException {
- dataset = getDataset();
// bypass super to avoid createITextObject() before the chart is ready
- if (dataset == null) {
- dataset = createDataset();
- }
+ dataset = createDataset();
chart = getChart();
if (chart == null) {