[seam-commits] Seam SVN: r14786 - branches/enterprise/WFK-2_0/jboss-seam-pdf/src/main/java/org/jboss/seam/pdf/ui.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon May 28 09:06:48 EDT 2012


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 at 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) {



More information about the seam-commits mailing list