FriendsOfSymfony/FOSRestBundle — Issue #190: form in xml
Author: david42
Created: 2012-02-27 15:18:07+00:00
State: open

Hi,

I'm trying FOSRestBundle.
I created a controller to collect the form's elements in xml format :

class PersonneWSController extends Controller
{

public function newPersonne_wsAction()
{
$entity = new Personne();
$form = $this->createForm(new PersonneType(), $entity);

return $form;

}
....
}

but I get :

Tanks for your help.