public void setActiveComponent(PageComponent pageComponent) {
if (pageComponent != null) {
// really necessary?
Content c = getContent(pageComponent.getId());
if (c != null) {
c.ensureVisible();
}
setActive(pageComponent.getId());
}
super.setActiveComponent(pageComponent);
}