allow richtextpage template to be aware of inheritance