public List<IHeaderContributor> getHeaderContributors()
{
Page renderedPage = getLastRenderedPage();
final List<IHeaderContributor> contributors = new ArrayList<IHeaderContributor>();
renderedPage.visitChildren(new IVisitor<Component, Void>()
{
public void component(Component component, IVisit<Void> visit)
{
for (Behavior behavior : component.getBehaviors())
if (behavior instanceof IHeaderContributor)