Declare a view that should be displayed for the given resource (e.g. space, user, maintained resource).