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