exactly

On 18 Okt., 04:26, cricket <[email protected]> wrote:
> On Sun, Oct 17, 2010 at 8:13 PM, cricket <[email protected]> wrote:
> > On Sun, Oct 17, 2010 at 5:23 PM, euromark <[email protected]> 
> > wrote:
> >>http://www.dereuromark.de/2010/06/23/working-with-forms/
>
> > Thanks, that looks good. And pretty obvious! I think it would be
> > better to get the values from the model, though:
>
> > $this->data['Country']['active'] = $this->Country->default_active;
>
> > I prefer something like this than a function in bootstrap, which
> > worked fine before but seems a bit unseemly with Cake.
>
> Although, surely you'd only want to do this in add()? In edit()
> $this->data would be set with the record's values.

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 [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