Fix import of ResourceView.
Introduce a delegator in ResourceView which can be overridden.

ResourceView.getHeader() can be overridden and should provide html text.