[symfony-users] How do I set a field value on a form?

2011-05-13 Thread user123
According to framework doc http://symfony.com/doc/2.0/book/forms.html#embedded-forms I can't set field value on a form. The reason on my form I have a drop down list /one-to-one relation/. My question is how to set field values by manually. I can't use $form-setData() method? -- If you want to

[symfony-users] FOS/User too many redirect problem

2011-05-13 Thread user123
Hi guys, I'm trying to use FOS/UserBundle. I'm done installation and when go to * http://app/web/app_dev.php/login* I get following error: The webpage at *http://app/web/app_dev.php/login* has resulted in too many redirects. Clearing your cookies for this site or allowing third- party cookies may

[symfony-users] FOS/UserBundle usernameCanonical field problem

2011-05-13 Thread user123
Hi, I'm install UserBundle and when I trying to login and I trying register new user. I get above errors: Trying to register new user: The PR\SecurityBundle\Entity\User class metadata does not have any usernameCanonical field or association mapping. Trying to login: Unrecognized field:

[symfony-users] One-to-one association in form

2011-05-11 Thread user123
Hi guys, I want to know how to create drop down list using one-to-one association in form? -- 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.

[symfony-users] How to implement relationship to form?

2011-05-10 Thread user123
Hi guys, I have a customer and state tables. Customer is mapped to state one-to- one. Now I want to add state list to new customer page. How to implement it using relationship? -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You

[symfony-users] ORM tutorials

2011-05-10 Thread user123
Hi guys, I need a ORM tutorial. I'm coded some ORM. But when I run app/ console doctrine:schema:create command relation between tables does not generated automatically / doesn't generate primary and foriegn key columns/. Please help me I need a very simple /one to one associated/ tutorial. --