[seam-commits] Seam SVN: r14752 - branches/community/Seam_2_3/jboss-seam-pdf/src/main/java/org/jboss/seam/pdf/ui.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Sat May 26 15:52:46 EDT 2012


Author: manaRH
Date: 2012-05-26 15:52:46 -0400 (Sat, 26 May 2012)
New Revision: 14752

Modified:
   branches/community/Seam_2_3/jboss-seam-pdf/src/main/java/org/jboss/seam/pdf/ui/UIChart.java
Log:
JBSEAM-4899 back ported fix for multipie datasets

Modified: branches/community/Seam_2_3/jboss-seam-pdf/src/main/java/org/jboss/seam/pdf/ui/UIChart.java
===================================================================
--- branches/community/Seam_2_3/jboss-seam-pdf/src/main/java/org/jboss/seam/pdf/ui/UIChart.java	2012-05-26 19:52:34 UTC (rev 14751)
+++ branches/community/Seam_2_3/jboss-seam-pdf/src/main/java/org/jboss/seam/pdf/ui/UIChart.java	2012-05-26 19:52:46 UTC (rev 14752)
@@ -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