As you've got the same template for all your module's actions, I'd
include $this->setTemplate('my'); in the preExecute method...

On 16 avr, 19:54, Kevin Barsotti <[email protected]>
wrote:
> Thank you, that's exactly what I was looking for!
>
>
>
> Dheeraj Kumar Aggarwal wrote:
>
> > hi
> > you can do this by using
> > $this->setTemplate('my'); in actions class
> > On Thu, Apr 16, 2009 at 11:18 PM, Kevin Barsotti
> > <[email protected] <mailto:[email protected]>>
> > wrote:
>
> >     I'm working on making an existing module more efficient, and presently
> >     it has numerous (dozens) of actions which call upon an equal number of
> >     templates that are for all intents and purposes identical, but with
> >     differing data, i.e.
>
> >     executeA()-> aSuccess.php
> >     executeB()-> bSuccess.php
> >     executeC()-> cSuccess.php
> >     etc...
>
> >     Ideally I'd like to just use a single template, let's call it
> >     mySuccess.php, for numerous actions of this module (but not all of
> >     them!).  What would you recommend as the best way to handle this?
>
> >     --
> >     Kevin Barsotti
> >     Operations Director
> >     Tribal Dawn, LLC <www.tribaldawn.com<http://www.tribaldawn.com>>
> >     412.736.1357
>
> > --
> > Regards,
> > Dheeraj
>
> --
> Kevin Barsotti
> Operations Director
> Tribal Dawn, LLC <www.tribaldawn.com>
> 412.736.1357
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to