simple document base view in controller class