[seam-commits] Seam SVN: r9958 - trunk/src/pdf/org/jboss/seam/pdf/ui.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Tue Jan 20 12:46:51 EST 2009


Author: norman.richards at jboss.com
Date: 2009-01-20 12:46:51 -0500 (Tue, 20 Jan 2009)
New Revision: 9958

Modified:
   trunk/src/pdf/org/jboss/seam/pdf/ui/UICell.java
Log:
JBSEAM-3673

Modified: trunk/src/pdf/org/jboss/seam/pdf/ui/UICell.java
===================================================================
--- trunk/src/pdf/org/jboss/seam/pdf/ui/UICell.java	2009-01-20 11:07:32 UTC (rev 9957)
+++ trunk/src/pdf/org/jboss/seam/pdf/ui/UICell.java	2009-01-20 17:46:51 UTC (rev 9958)
@@ -146,6 +146,7 @@
 
     @Override
     public void createITextObject(FacesContext context) {
+        hasContent = false;
         PdfPCell defaultCell = getDefaultCellFromTable();
         if (defaultCell != null) {
             cell = new PdfPCell(defaultCell);
@@ -157,9 +158,9 @@
                 "horizontalAlignment", horizontalAlignment);
         if (horizontalAlignment != null) {
             cell.setHorizontalAlignment(ITextUtils
-                    .alignmentValue(horizontalAlignment));
+                    .alignmentValue(horizontalAlignment));            
         }
-
+        
         verticalAlignment = (String) valueBinding(context, "verticalAlignment",
                 verticalAlignment);
         if (verticalAlignment != null) {




More information about the seam-commits mailing list