/** * Uloží stav formuláře a přesměruje. * * @throw AbortException */ public function saveRequestAndRedirect() { $key = RequestButtonStorage::save($this->form->presenter->backlink(), $this->form->presenter->getParam(), $this->lookupPath('Nette\\Application\\UI\\Presenter', TRUE), $this->form->lookupPath('Nette\\Application\\UI\\Presenter', TRUE), $this->form->getValues()); $this->form->presenter->redirect($this->getDestination(), array(RequestButton::BACKLINK_KEY => $key) + $this->getDestinationArgs()); }