public void setRowVar ( final FacesContext context , final String rowKey ) { if ( context == null ) { return ; } if ( rowKey == null ) { context . getExternalContext ( ) . getRequestMap ( ) . remove ( getVar ( ) ) ; } else { final Object value = getRowMap ( ) . get ( rowKey ) ; context . getExternalContext ( ) . getRequestMap ( ) . put ( getVar ( ) , value ) ; } }
Updates the row var for iterations over the list . The var value will be updated to the value for the specified rowKey .