it's displayField, not displayName

On 14 mar, 17:18, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> in the model you can define the displayName
>
> var $displayName = 'codi';
>
> On 3/14/07, Alexandre <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Hi,
> > i'm leaner of cakephp.
>
> > I need to populate a select, and i do it
>
> > $idiomas = $this->I18ntag->Idioma->generateList();
>
> > but i doesn't have the title field, and i see only the id fields, i
> > would like get de filed codi.
>
> > CREATE TABLE `idiomas` (
> >   `id` int(3) NOT NULL auto_increment,
> >   `codi` char(3) NOT NULL,
> >   `descripcio` varchar(255) NOT NULL,
> >   PRIMARY KEY  (`id`),
> >   UNIQUE KEY `codi` (`codi`)
> > ) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8
> > AUTO_INCREMENT=4 ;
>
> > How I can do it?
>
> --
> (the old fart) the advice is free, the lack of crankiness will cost you
>
> - its a fine line between a real question and an idiot
>
> http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to