I agree with Markus. However, to share Action code you could also make Listener for sfComponent. IVe done this to implement a method called getContentFromRequest in all my actions.
On Sep 25, 9:53 am, "markus.staab" <[EMAIL PROTECTED]> wrote: > maybe you should create a new subclass of sfForm which implements your > custom behaviour (or only the features the 2 usecases have in common) > > On 25 Sep., 15:08, kusum <[EMAIL PROTECTED]> wrote: > > > hi, > > i have created a registeration form.i want to use same action > > code in a different talktous partial. > > In registeration form and talktous layout is different but > > fields are same.registeration form > > submit is a http request and partial submit is a ajax request.But > > in registaration form user forward to login action after > > registeration and in partial its return a message of successfull > > registeration. what is the best way to share this code. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---