to refine thiago's 2. question:
what is the displayField of the country model? if it is not title or
name, you need to set displayField manually for bake and for scaffold
forms


On 19 Dez., 16:50, Thiago Belem <[email protected]> wrote:
>    1. The relation is defined on the models
>    2. You have defined the displayField of country?
>    3. Both models exist (file)?
>
> Regrads,
> --
> ***Thiago Belem*
> Desenvolvedor
> Rio de Janeiro - RJ - Brasil
>
> +55 (21) 8865.9250
> thiagobelem.net
> [email protected]
>
> *Skype / gTalk **»* thiago.belem.web
> *LinkedIn* *»* br.linkedin.com/in/thiagobelem/pt*
> Assando Sites*, curso de CakePHP *»* assando-sites.com.br
>
> 2011/12/19 Daniel Brandi <[email protected]>
>
>
>
>
>
>
>
> > Dear all,
>
> > I have a problem in cakephp 2.0.4 when use scaffold forms. The
> > situation is the following:
>
> > I have two models, one (User) belongs to second one (Country). When go
> > to view scaffold form of User, I can see the country info with a link
> > to view that county. But when I go to add scaffold form, country_id is
> > not a input select but a input text. In previuos version of cakephp
> > (1.3) it worked properly. Could you help me?
> > Regards
>
> > --
> > Our newest site for the community: CakePHP Video Tutorials
> >http://tv.cakephp.org
> > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help
> > others with their CakePHP related questions.
>
> > To unsubscribe from this group, send email to
> > [email protected] For more options, visit this group
> > athttp://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to