/**
* @param TView the view to be activated
* @throws TInvalidOperationException if the view is not in the view collection
*/
public function setActiveView($value)
{
parent::setActiveView($value);
if ($this->getActiveControl()->canUpdateClientSide()) {
$this->getPage()->getAdapter()->registerControlToRender($this, $this->getResponse()->createHtmlWriter());
}
}