devided showAjaxView and showView