[symfony-users] Re: Help with mixins!! Adding new actions in a module with the event dispatcher (MIXINS)

2009-10-12 Thread Jaime Suez
That it's an interesting idea, but how it's possible to solve that the in the modules generated in the admin generator the actions extends de "auto-generated action classes". Any idea?? Thanks for all your help. On Mon, Oct 12, 2009 at 2:46 PM, Alexandre SALOME < alexandre.sal...@gmail.com> wr

[symfony-users] Re: Help with mixins!! Adding new actions in a module with the event dispatcher (MIXINS)

2009-10-12 Thread Alexandre SALOME
You should create a class myActions that extends sfActions, with your new action. Then module classes extends myActions instead of sfActions, so they have the method. Alexandre 2009/10/12 Jaime Suez > I'm using 1.2. > > I'm using the new way, with listeners and the event dispatcher. > > I foun

[symfony-users] Re: Help with mixins!! Adding new actions in a module with the event dispatcher (MIXINS)

2009-10-12 Thread Jaime Suez
I'm using 1.2. I'm using the new way, with listeners and the event dispatcher. I found that there come implemented 3 kind of events in the controller: *controller * change_action notify sfController module, action method_not_found notifyUntil sfController method, arguments page_not_fo

[symfony-users] Re: Help with mixins!! Adding new actions in a module with the event dispatcher (MIXINS)

2009-10-12 Thread Lee Bolding
What version of Symfony are you using? I think mixins were replaced by the event system as of Symfony 1.1 On 12 Oct 2009, at 06:36, jaime wrote: > > Hi! > > I'm trying to add new actions to some modules with mixins and the > event dispatcher. > > I find the controller.page_not_found notify,