@ Override protected void preparePaintComponent ( final Request request ) { super . preparePaintComponent ( request ) ; if ( isAjax ( ) && UIContextHolder . getCurrent ( ) . getUI ( ) != null ) { AjaxTarget target = getAjaxTarget ( ) ; AjaxHelper . registerComponent ( target . getId ( ) , getId ( ) ) ; } String cacheKey = getListCacheKey ( ) ; if ( cacheKey != null ) { LookupTableHelper . registerList ( cacheKey , request ) ; } }
Override preparePaintComponent to register an AJAX operation if this list is AJAX enabled .