As I tought it changed nothing...  :-/

--
Adrien

On 20 avr, 23:28, "FlyLM [ML]" <flylm...@gmail.com> wrote:
> 2009/4/20 Adrien Mogenet <adrien.moge...@gmail.com>
>
>
>
> > Hi all,
>
> > there is something - strange ? - that I don't understand.
> > Let say I have a field "updated_by" within the class "user".
>
> > In the class form :
>
> > public function configure()
> > {
> >   ..
> >   $this->setDefault('updated_by', '42');
> >   ...
> > }
>
> Try this :
>
> $this->widgetSchema->setDefault('updated_by', '42');
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@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
-~----------~----~----~----~------~----~------~--~---

Reply via email to