public function executeForm(sfWebRequest $request) { if (!isset($this->form)) { $comment = new rtComment(); $comment->setModel($this->model); $comment->setModelId($this->model_id); $this->form = new rtCommentPublicForm($comment, array()); } }