The CakePHP usually assumes that a table column named "name" or
"title" is the display field, but if you don't have one, it will ask
you what to do, as you have discovered :) So if you have a column that
you would like to be displayed by default, then define one.
Enjoy,
   John

On Apr 28, 9:50 pm, Johnathan Iannotti <jo...@blueclover.com> wrote:
> I'm doing some baking on the console with 1.3 and perhaps I didn't setup my 
> database correctly because I've never seen this message before:
>
> A displayField could not be automatically detected would you like to choose 
> one? (y/n)
>
> I am then presented with a list of options from the database table I am 
> trying to make my model from.  Is displayField supposed to be the primary 
> key?  Any input would be appreciated, thanks!
>
> -John
>
[snip]

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to