Or ... http://www.symfony-project.org/api/1_3/sfWidgetFormDoctrineChoice
your can specify your key_method
On 16 ún, 16:38, ReynierPM wrote:
> On 2/16/2010 10:12 AM, Tom Ptacnik wrote:
>
> > Is ID set as primary key in the TEspecialidad table?
>
> I found the problem, the PK is compound by 3 fi
On 2/16/2010 10:12 AM, Tom Ptacnik wrote:
Is ID set as primary key in the TEspecialidad table?
I found the problem, the PK is compound by 3 fields and Doctrine have
problems with this (as far as I know). The solution: leave the PK with
just one field.
--
Cheers
ReynierPM
--
You received t
Is ID set as primary key in the TEspecialidad table?
On 15 ún, 18:35, ReynierPM wrote:
> Hi every:
> I have this code in BaseTAfiliadoForm.class.php:
>
> 'id_especialidad' => new sfWidgetFormDoctrineChoice(array('model' =>
> $this->getRelatedModelName('TEspecialidad'), 'add_empty' => true)),
>