Author: abelevich
Date: 2011-01-18 11:24:30 -0500 (Tue, 18 Jan 2011)
New Revision: 21059
Modified:
trunk/ui/iteration/ui/src/main/java/org/richfaces/component/AbstractDataTable.java
trunk/ui/iteration/ui/src/main/java/org/richfaces/component/AbstractExtendedDataTable.java
trunk/ui/iteration/ui/src/main/java/org/richfaces/component/UIDataTableBase.java
Log:
RF-10217 Collapsible Sub Table - attributes for classes present but has no effect
Modified:
trunk/ui/iteration/ui/src/main/java/org/richfaces/component/AbstractDataTable.java
===================================================================
---
trunk/ui/iteration/ui/src/main/java/org/richfaces/component/AbstractDataTable.java 2011-01-18
15:56:26 UTC (rev 21058)
+++
trunk/ui/iteration/ui/src/main/java/org/richfaces/component/AbstractDataTable.java 2011-01-18
16:24:30 UTC (rev 21059)
@@ -24,6 +24,7 @@
import javax.faces.component.UIComponent;
+import org.richfaces.cdk.annotations.Attribute;
import org.richfaces.cdk.annotations.JsfComponent;
import org.richfaces.cdk.annotations.JsfRenderer;
import org.richfaces.cdk.annotations.Tag;
@@ -49,7 +50,12 @@
public static final String CAPTION_FACET_NAME = "caption";
+ @Attribute
+ public abstract String getCaptionClass();
+ @Attribute
+ public abstract String getStyleClass();
+
public UIComponent getCaption() {
return getFacets().get(CAPTION_FACET_NAME);
}
Modified:
trunk/ui/iteration/ui/src/main/java/org/richfaces/component/AbstractExtendedDataTable.java
===================================================================
---
trunk/ui/iteration/ui/src/main/java/org/richfaces/component/AbstractExtendedDataTable.java 2011-01-18
15:56:26 UTC (rev 21058)
+++
trunk/ui/iteration/ui/src/main/java/org/richfaces/component/AbstractExtendedDataTable.java 2011-01-18
16:24:30 UTC (rev 21059)
@@ -77,6 +77,12 @@
@Attribute
public abstract int getFrozenColumns();
+ @Attribute
+ public abstract String getCaptionClass();
+
+ @Attribute
+ public abstract String getStyleClass();
+
@Attribute(events=@EventName(value="selectionchange", defaultEvent=true))
public abstract String getOnselectionchange();
Modified:
trunk/ui/iteration/ui/src/main/java/org/richfaces/component/UIDataTableBase.java
===================================================================
---
trunk/ui/iteration/ui/src/main/java/org/richfaces/component/UIDataTableBase.java 2011-01-18
15:56:26 UTC (rev 21058)
+++
trunk/ui/iteration/ui/src/main/java/org/richfaces/component/UIDataTableBase.java 2011-01-18
16:24:30 UTC (rev 21059)
@@ -117,9 +117,6 @@
public abstract String getRowClass();
@Attribute
- public abstract String getCaptionClass();
-
- @Attribute
public abstract String getHeaderClass();
@Attribute
@@ -133,9 +130,6 @@
@Attribute
public abstract String getStyle();
-
- @Attribute
- public abstract String getStyleClass();
@Attribute
public abstract Collection<Object> getSelection();
Show replies by date