code: @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);
  		}
  	}
docs: Override preparePaintComponent to register an AJAX operation if this list is AJAX enabled.
  
  @param request the request being responded to.