You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2009/07/10 02:36:51 UTC

svn commit: r792767 - /myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlColumn.java

Author: lu4242
Date: Fri Jul 10 00:36:51 2009
New Revision: 792767

URL: http://svn.apache.org/viewvc?rev=792767&view=rev
Log:
MYFACES-2278 Render columns with th instead td, according to HtmlColumn.isRowHeader

Modified:
    myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlColumn.java

Modified: myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlColumn.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlColumn.java?rev=792767&r1=792766&r2=792767&view=diff
==============================================================================
--- myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlColumn.java (original)
+++ myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlColumn.java Fri Jul 10 00:36:51 2009
@@ -62,4 +62,13 @@
   @JSFProperty
   public abstract String getFooterClass();
 
+  /**
+   * If true the column is rendered with "th" and scope="row" attribute,
+   * instead "td"
+   *
+   * @since 2.0
+   * @return
+   */
+  @JSFProperty (defaultValue="false")
+  public abstract boolean isRowHeader();
 }