Example #1
0
 /**
  * This method will be called when the component becomes attached to Form.
  *
  * @param Nette\ComponentModel\IComponent $something
  * @return void
  */
 protected function attached($something)
 {
     if ($this->form instanceof Nette\Application\UI\Form && $this->form->isAnchored() && $this->form->isSubmitted()) {
         $this->loadHttpData();
     }
 }