Le 15/06/2011 16:49, eric.malzone a écrit :
Hi,
I don't know if is it, but I think the form of method call to create
the form is deprecated.
The current way to do it is :
$form = $this->get('form.factory')->create(new FormType());
if ($this->get('request')->getMethod() == 'POST') {
$form->bindRequest($this->get('request'));
}
Little things have changed and these changes should be the reason.
It is not deprecated. It is a shortcut of the base controller to avoid
newcomers to have to call the form factory explicitly
--
Christophe | Stof
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en