public Object getRowBeanForSubcontext ( final SubUIContext subContext ) { if ( subContext . repeatRoot != getRepeatRoot ( ) ) { // TODO: Is this still necessary? throw new IllegalArgumentException ( "SubUIContext is not for this WRepeater instance." ) ; } // We need to get the list using the parent context // so that e.g. caching in the scratch map works properly. UIContextHolder . pushContext ( subContext . getParentContext ( ) ) ; try { return getRowData ( subContext . getRowId ( ) ) ; } finally { UIContextHolder . popContext ( ) ; } }
Returns the row data for the given row context .