org.richfaces.component.util
Class ColumnUtil

java.lang.Object
  extended by org.richfaces.component.util.ColumnUtil

public class ColumnUtil
extends java.lang.Object

Author:
Maksim Kaszynski

Constructor Summary
ColumnUtil()
           
 
Method Summary
static java.lang.String getColumnSorting(javax.faces.component.UIComponent column)
          Extract sort expression from the column
static boolean isSortable(javax.faces.component.UIComponent component)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnUtil

public ColumnUtil()
Method Detail

getColumnSorting

public static java.lang.String getColumnSorting(javax.faces.component.UIComponent column)
Extract sort expression from the column

Parameters:
column -
Returns:
logical representation of sort field assigned to column component given In case of EL-expression, an expression string is returned instead of value - so that EL-expression can be evaluated later; If there's literal value of dedicated attribute is specified, return it; If attribute is not set, fall aback to component id

isSortable

public static boolean isSortable(javax.faces.component.UIComponent component)


Copyright © 2009. All Rights Reserved.