示例#1
0
 protected function afterRender()
 {
     parent::afterRender();
     if ($this->isAjax()) {
         // Redraw default snippets if enabled
         $this->redrawDefault();
     } else {
         $this->template->flashSession = $this->exportFlashSession();
     }
 }
示例#2
0
 protected function afterRender()
 {
     parent::afterRender();
     $this->template->title = $this->title;
     $this->template->tab = $this->tab;
     if ($this->isAjax()) {
         if (!$this->isSignalled() && !$this->isControlInvalid()) {
             $this->redrawControl('content');
             $this->payload->title = $this->title;
             $this->payload->tab = $this->tab;
         }
     }
 }
示例#3
0
 protected function afterRender()
 {
     parent::afterRender();
     if ($this->getModal()->isRequested() and !$this->isControlInvalid()) {
         $this->redrawControl("modalTitle");
         $this->redrawControl("modalContent");
     } else {
         if ($this->isAjax() and !$this->isControlInvalid() and $this->layout !== false) {
             $this->redrawControl("title");
             $this->redrawControl("content");
             $this->redrawControl("styles");
             $this->redrawControl("scripts");
         }
     }
 }
示例#4
0
 public function afterRender()
 {
     parent::afterRender();
     $this->template->active = $this->active;
 }
示例#5
0
 protected function afterRender()
 {
     parent::afterRender();
     if ($this->getParameter('_redirectByAjax', FALSE)) {
         $this->payload->url = $this->link('this');
     }
 }
 protected function afterRender()
 {
     parent::afterRender();
     $this->terminate();
 }
示例#7
0
 protected function afterRender()
 {
     parent::afterRender();
     $this->template->siteTitle = $this->context->parameters['siteTitle'];
 }