Implementing CViewAction