Hi, Please have a look at https://github.com/nlebas/tiles/tree/resource. It is quite a large changeset. These URL things were everywhere :( 39 files changed, 1522 insertions(+), 1491 deletions(-)
I think the overall result is a simplified code base, but more complex unit tests, mostly because DefinitionDAO must now include a reference to ApplicationContext. But I think encapsulating all the URL rewriting code for the Locales is worth an extra reference to a singleton.
Thanks, Nick
