Author: nbelaevski
Date: 2009-04-14 15:02:25 -0400 (Tue, 14 Apr 2009)
New Revision: 13586
Modified:
trunk/ui/columns/src/main/java/org/richfaces/taglib/ColumnsTag.java
Log:
https://jira.jboss.org/jira/browse/RF-6679
Modified: trunk/ui/columns/src/main/java/org/richfaces/taglib/ColumnsTag.java
===================================================================
--- trunk/ui/columns/src/main/java/org/richfaces/taglib/ColumnsTag.java 2009-04-14
18:43:50 UTC (rev 13585)
+++ trunk/ui/columns/src/main/java/org/richfaces/taglib/ColumnsTag.java 2009-04-14
19:02:25 UTC (rev 13586)
@@ -244,6 +244,12 @@
*/
private ValueExpression _rendered;
+ private ValueExpression _sortIcon;
+
+ private ValueExpression _sortIconAscending;
+
+ private ValueExpression _sortIconDescending;
+
/**
* SortOrder is an enumeration of the possible sort orderings. Setter for
* sortOrder
@@ -1126,4 +1132,28 @@
public void setRendered(ValueExpression __rendered) {
this._rendered = __rendered;
}
+
+ /**
+ * Defines sort icon. The value for the attribute is context related
+ * @param icon
+ */
+ public void setSortIcon(ValueExpression icon) {
+ _sortIcon = icon;
+ }
+
+ /**
+ * Defines sort icon for ascending order. The value for the attribute is context
related
+ * @param iconAscending
+ */
+ public void setSortIconAscending(ValueExpression iconAscending) {
+ _sortIconAscending = iconAscending;
+ }
+
+ /**
+ * Defines sort icon for descending order. The value for the attribute is context
related
+ * @param iconDescending
+ */
+ public void setSortIconDescending(ValueExpression iconDescending) {
+ _sortIconDescending = iconDescending;
+ }
}