Author: pgolawski
Date: 2008-07-28 03:05:25 -0400 (Mon, 28 Jul 2008)
New Revision: 9793
Modified:
trunk/ui/dataTable/src/main/java/org/richfaces/component/UIColumn.java
Log:
removed unused getColumnLabel method
Modified: trunk/ui/dataTable/src/main/java/org/richfaces/component/UIColumn.java
===================================================================
--- trunk/ui/dataTable/src/main/java/org/richfaces/component/UIColumn.java 2008-07-25
23:06:19 UTC (rev 9792)
+++ trunk/ui/dataTable/src/main/java/org/richfaces/component/UIColumn.java 2008-07-28
07:05:25 UTC (rev 9793)
@@ -75,31 +75,6 @@
}
//
- //Extended data table supports label attribute also
- /**
- * Get label for column. If label attribute is set returns attribute value,
- * otherwise try to get label from column header content.
- * @return label for column
- */
- //TODO what about extra "label" facet?
- public String getColumnLabel(){
- String label = (String)getAttributes().get("label");
- if ((label == null) || (label.length() == 0)){
- //try get header name
- UIComponent hFacet = getHeader();
- if ((hFacet != null) && (hFacet.isRendered())
- /* added check for rendered attribute */ && (hFacet instanceof UIOutput)) {
- UIOutput output = (UIOutput)hFacet;
-
- //TODO add conversion support here
- label = (String)output.getValue();
- }
- }
- return label;
- }//getColumnLabel
-
- //
-
public FilterField getFilterField(){
FilterField filterField = null;
MethodExpression filterMethod = getFilterMethod();
Show replies by date