Hi, Try to write a __toString() method in your model classes which will return $this->getName(); or appropriate.
Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Thu, Feb 11, 2010 at 11:10 PM, ReynierPM <rper...@uci.cu> wrote: > Hi every: > I'm working with doctrine:generate-admin task for a while but now I have a > big problem. When I try to list/show states from state table wich have a > foreign key with province table I get numeric value for province instead of > string. Better explain: > > t_province: > id_province - name > 1 Province 1 > 2 Province 2 > > t_state: > id_state - id_province - name > 1 1 State 1 > 2 1 State 2 > 3 2 State 3 > > Understand now? > -- > Saludos > ReynierPM > > -- > You received this message because you are subscribed to the Google Groups > "symfony users" group. > To post to this group, send email to symfony-us...@googlegroups.com. > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.