[symfony-users] Re: Custom Forms (sfWidgetFormDoctrineChoice)

2010-10-13 Thread omar
can u post your solution to help others pls? -- 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

Re: [symfony-users] Re: Custom Forms (sfWidgetFormDoctrineChoice)

2010-10-18 Thread Pavel Pecheny
Sorry for my late answer Solution: add to my /lib/form/doctrine/myclassFrom.class.php $this->widgetSchema['contractor_id ']->setOption('table_method','getContractorByCredentials'); and to /lib/model/doctrine/contractorTable.class.php for example public function getContractorByCredentials()