Esempio n. 1
0
 public function executeFormWidget(dmWebRequest $request)
 {
     $form = new ModelForm();
     if ($request->hasParameter($form->getName()) && $form->bindAndValid($request)) {
         $form->save();
         $this->redirectBack();
     }
     $this->forms['Model'] = $form;
 }