register an ajax view

register an ajax view