On Mon, Jul 14, 2008 at 12:18 PM, Olivier Revollat <[EMAIL PROTECTED]> wrote:

> Ok that's me ... I'm stupid this morning :)
> the problem don't come from the code below ... i have to comment the code
> that retrive 'created_at' int the edit template ... that's all ;)

Glad you solved your problem ;-)

Just a side note, you can unset a field and its validator by unsetting
a form key:

class sfGuardUserForm extends BasesfGuardUserForm
{
  public function configure()
  {
    unset($this['created_at'], $this['updated_at'], );
  }
}

But this won't prevent exceptions to be thrown if you call these
fields within a template ;-)

++

-- 
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to