You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2011/11/21 17:36:50 UTC

svn commit: r1204581 - /myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/SheetRenderer.java

Author: lofwyr
Date: Mon Nov 21 16:36:49 2011
New Revision: 1204581

URL: http://svn.apache.org/viewvc?rev=1204581&view=rev
Log:
TOBAGO-1050: Sheet header should also have a "first" markup to CSS styling

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

Modified: myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/SheetRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/SheetRenderer.java?rev=1204581&r1=1204580&r2=1204581&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/SheetRenderer.java (original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/SheetRenderer.java Mon Nov 21 16:36:49 2011
@@ -786,6 +786,9 @@ public class SheetRenderer extends Layou
         }
       }
     }
+    if (columnIndex == 0) {
+      markup = markup.add(Markup.FIRST);
+    }
     writer.writeClassAttribute(Classes.create(sheet, "header", markup));
     writer.writeAttribute(HtmlAttributes.TITLE, tip, true);