Yes, whenever you want to refresh such panels with Ajax. We could move this statement outside the component as well. Then it wont hurt others.