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 2016/02/28 02:32:33 UTC
svn commit: r1732681 -
/myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlDataTable.java
Author: lu4242
Date: Sun Feb 28 01:32:33 2016
New Revision: 1732681
URL: http://svn.apache.org/viewvc?rev=1732681&view=rev
Log:
MYFACES-3905 The caption facet is not documented for the tag <h:datatable>.
Modified:
myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlDataTable.java
Modified: myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlDataTable.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlDataTable.java?rev=1732681&r1=1732680&r2=1732681&view=diff
==============================================================================
--- myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlDataTable.java (original)
+++ myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlDataTable.java Sun Feb 28 01:32:33 2016
@@ -18,9 +18,12 @@
*/
package javax.faces.component.html;
+import javax.faces.component.UIComponent;
import javax.faces.component.UIData;
import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent;
+import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFExclude;
+import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFFacet;
import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty;
/**
@@ -172,4 +175,13 @@ abstract class _HtmlDataTable extends UI
@JSFProperty
public abstract String getCaptionStyle();
+ /**
+ * The facet associated to the Caption.
+ *
+ * @return
+ */
+ @JSFFacet
+ @JSFExclude
+ public abstract UIComponent getCaption();
+
}