Re: [symfony-users] Re: Multiple submit buttons/Multiple forms

2010-10-21 Thread Gareth McCumskey
One of the reasons that I initialise the $request in my action definition (eg public function executeActionName(sfWebRequest $request) ) is that my IDE can then auto-complete the $request methods whenever I use it. In addition, defining it explicitly makes it clearer for anyone else coming along

Re: [symfony-users] Re: Multiple submit buttons/Multiple forms

2010-10-16 Thread Parijat Kalia
Hey Raphael, That is exactly what I am trying to achieve here. So thanks for your tip, I'll take yours over Gareths' I do wanna shoot a couple of more questions to both of you that is essentially a spin off the existing question. First of all, Raphael, I noticed you made use of regular HTML

[symfony-users] Re: Multiple submit buttons/Multiple forms

2010-10-14 Thread Raphael Schumacher
Provided that I haven't misunderstood your problem, I think that you can add multiple submit buttons to one form, and that you can differentiate them in the action through their name attributes. So there would be no need to have multiple instances of the (same) form. E.g. in the template for your