Hello, I am heavily using the form embedding feature in the admin interface (I have Polls with Choices and in Polls edit/add I list the choices inline and also add a few empty forms for adding new ones). To access embedded forms more easily i wanted to propose addition of sfForm::getEmbeddedForm($name) and making sfForm::embedForm($form) return the embedded form, but i noticed something I don't get - [1]. The form saved in $this->embeddedForms array is the one before cloning, why is that? And btw. why does the form have to be cloned in the first place?
Another thing i noticed but didn't manage to track down is that if a field of an embedded form causes an error, the main form gets the global error but the specific error is not rendered for that field nor global error for the embedded form. [1] - http://trac.symfony-project.org/browser/branches/1.2/lib/form/sfForm.class.php?rev=12636#L354 -- Best Regards, Piotr Jaroszyński --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
