Hi

I have a module called Documents. In this modul I use few kinds of
documents. They use the same table in db but different fields. So that
I created few Forms for them.

I overridden executeNew() in order to call proper form class. And it
works well. Proper form object is created, template displayed,
document saved.

I overridden executeEdit() in order to call proper form class. And it
works well. Proper form object is created, template displayed with
data. But after saving Symfony still uses the DocumentForm class
instead of for example DocumentMyVerForm class. I overriden
executeUpdate action in order to use proper form class but it still
uses main DocumentForm. Any ideas how to set it up?
--~--~---------~--~----~------------~-------~--~----~
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