There are a couple of things that I would like to ask, because it isn’t very clear.
When you say access with the mapping, are you talking about in the extends? I think that the mapping won’t come into play here, because that would affect the path, which I would expect should throw an error. Which could be being caught by you onError in Application.cfc but that is a guess.
Routes should go unchanged, but when you say it appears to not be working, I am almost inclined to think that you are still using the old routes, and not the modules routes.
If I am hearing you right, what I think is happening is that you are expecting the event handler to run the module handler first, which is not what will happen.
Now I have been talking to Luis, because one of the things that I have been trying to do is find an easier way to do this. I am close but still need Luis to give an example on how I might achieve this. But the idea is that you define your models and such with DSL names, then one can write an interceptor and replace the new handler/module/plugin and everything else with ease. This would mean that once you decide what you want to override, then no code gets changed because the DSL by name will be tricked into thinking it is retrieving the older handler/module/plugin etc.
I haven’t heard back on whether that is possible at the moment, as it appears to be, but I have not had success in getting this to be a solution.
Anyway that doesn’t help you right now, so if you can provide an example, nothing detailed on what you’re currently doing, but an example on how you are extending the handler for instance and how you are then calling then calling this.
That would help a lot more.
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/113032480415921517411