Author: norman.richards(a)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) {