Hello,

The sfForm constructor accepts a $defaults argument, now when we embed a
form, the embedForm set its own default values. So default values for
embeded forms provided at the actions level are ignored.

These two called does not provided the same results...

   - $this->form = new DemoGmapWidgetForm($defaults); // ignored
   - $this->form->setDefaults($defaults); // not ignored as configure method
   is only called in the constructor

Bug or conception design ?

--
Thomas Rabaix
http://rabaix.net

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

Reply via email to