On Mar 17, 2009, at 9:08 AM, Bilgin Ibryam wrote:


On Mar 17, 2009, at 4:31 PM, Adrian Crum wrote:

It would be better to fix the Java code that reads the XML files so this doesn't happen.

Yes thats true, but I still think we need also a way for overriding the events as it is with request, views, handlers... How can I use a custom event instead of the one defined in common- controller?


One way or another I agree we should fix the code so that if there is a duplicate event (ie same location and same invoke) then we should only run it once.

As for overriding... that is why I originally wrote this so that if you had a "preprocessor" (or whatever) tag at all then the included preprocessor events would disappear and be replaced by your own. However, that involved getting rid of all of the events from the included controller.

A name or some sort of an identifier on each might be a good way to go...

-David

Reply via email to