Re: [symfony-users] Symfony2 Form as a Standalone component

2011-12-22 Thread Hristo Salabashev
Hi Hari, you can check how is it done in Silex: https://github.com/fabpot/Silex/blob/master/src/Silex/Provider/FormServiceProvider.php The controller method createFormBuilder translates to public function createFormBuilder($data = null, array $options = array()) { return $this->

[symfony-users] Symfony2 Form as a Standalone component

2011-12-21 Thread Hari K T
Hi Guys , I downloaded the Symfony2 Form components . I was looking how to create the form object . Is it the FormFactory , FormBuilder or anything else ? I looked the book http://symfony.com/doc/current/book/forms.html#book-form-creating-form-classes But its mainly on the Symfony controller