If you would like to inform the user, that his changes were successfully saved, you could add the following line to your Controller: Yii::app()->user->setFlash('success',"Data saved!"); Displaying the flash message in a view is done by if( Yii::app()->user->hasFlash('success') ) { […]