public static int [ ] getRowColFromComponentAttributes ( final UIComponent target ) { int rowIndex = ( Integer ) target . getAttributes ( ) . get ( "data-row" ) ; int colIndex = ( Integer ) target . getAttributes ( ) . get ( "data-column" ) ; int [ ] list = new int [ 2 ] ; list [ 0 ] = rowIndex ; list [ 1 ] = colIndex ; return list ; }
Gets the row col from component attributes .