Index: src/java/org/displaytag/model/Column.java
===================================================================
RCS file: /cvsroot/displaytag/displaytag2/src/java/org/displaytag/model/Column.java,v
retrieving revision 1.8
diff -u -r1.8 Column.java
--- src/java/org/displaytag/model/Column.java	29 Feb 2004 09:59:57 -0000	1.8
+++ src/java/org/displaytag/model/Column.java	5 Apr 2004 12:49:57 -0000
@@ -24,6 +24,11 @@
 public class Column
 {
 
+	/*
+	 * Stylesheet style to use for this row.
+	 */
+	private String style;
+	
     /**
      * Row this column belongs to.
      */
@@ -120,7 +125,9 @@
     public String getOpenTag() throws ObjectLookupException, DecoratorException
     {
         this.stringValue = createChoppedAndLinkedValue();
-
+        if (style!=null) {
+        	return "<TD class='" + style + "'>";
+        }
         return HtmlTagUtil.createOpenTagString(TagConstants.TAGNAME_COLUMN, this.htmlAttributes);
     }
 
@@ -272,4 +279,11 @@
             .append("stringValue", this.stringValue)
             .toString();
     }
+    
+	/**
+	 * @param pStyle The style to use for this td.
+	 */
+	public void setStyle(String pStyle) {
+		this.style = pStyle;
+	}
 }
