public function run($writer)
{
Prado::trace("Running page life cycles", 'Prado\\Web\\UI\\TPage');
$this->_writer = $writer;
$this->determinePostBackMode();
if ($this->getIsPostBack()) {
if ($this->getIsCallback()) {
$this->processCallbackRequest($writer);
} else {
$this->processPostBackRequest($writer);
}
} else {
$this->processNormalRequest($writer);
}
$this->_writer = null;
}