public Object getValueForCell ( final FacesContext context , final String rowKey , final int col ) { // if we have a local value, use it // note: can't check for null, as null may be the submitted value final SheetRowColIndex index = new SheetRowColIndex ( rowKey , col ) ; if ( localValues . containsKey ( index ) ) { return localValues . get ( index ) ; } setRowVar ( context , rowKey ) ; final SheetColumn column = getColumns ( ) . get ( col ) ; return column . getValueExpression ( "value" ) . getValue ( context . getELContext ( ) ) ; }
Gets the object value of the row and col specified . If a local value exists that is returned otherwise the actual value is return .