myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r1766121 - /myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/SheetRenderer.java
Date Fri, 21 Oct 2016 20:13:18 GMT
Author: lofwyr
Date: Fri Oct 21 20:13:18 2016
New Revision: 1766121

URL: http://svn.apache.org/viewvc?rev=1766121&view=rev
Log:
TOBAGO-1578: tc:sheet behavior of showHeader and columns are different to Tobago2
it might be better to check against NOT AbstractUIColumnEvent but against UIColumn

Modified:
    myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/SheetRenderer.java

Modified: myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/SheetRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/SheetRenderer.java?rev=1766121&r1=1766120&r2=1766121&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/SheetRenderer.java
(original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/SheetRenderer.java
Fri Oct 21 20:13:18 2016
@@ -700,7 +700,7 @@ public class SheetRenderer extends Rende
     int i = 0;
     int j = 0;
     for (AbstractUIColumnBase column : columns) {
-      if (column instanceof org.apache.myfaces.tobago.component.UIColumn) {
+      if (!(column instanceof AbstractUIColumnEvent)) {
         Integer newValue;
         if (j < samples.size()) {
           newValue = samples.get(j);
@@ -928,7 +928,7 @@ public class SheetRenderer extends Rende
 
     int i = 0;
     for (AbstractUIColumnBase column : columns) {
-      if (column instanceof org.apache.myfaces.tobago.component.UIColumn) {
+      if (!(column instanceof AbstractUIColumnEvent)) {
         if (column.isRendered()) {
           final Integer width = columnWidths.get(i);
           writeCol(writer, width >= 0 ? width : null);



Mime
View raw message