code: public void onAdd(FavouriteEvent event) {
  		FavouriteListRecord flr = new FavouriteListRecord(event.getNewFavourite());
  		favouriteItems.addData(flr);
  	}
docs: ----------------------------------------------------------