Ah - right. I haven't looked into that. I forked Gaelyk (its in github/rvowles) and I have a plugin architecture available to our little group. I had to butcher the servlets a bit to make it work the way I want, but essentially you get a filter like mechanism with all the bits you actually need to make pretty much anything work.
I added a slf4j plugin which allows you to add a "log" variable to your binding easily here:
I need to test it on the project we are working on, but that is here:
(registration system for CITCON)
Other examples of plugins that add extra functionality to the category (such as a model object, putAll on entities, etc) - the plugin that registers is here:
the extra Category functionality here (what is good about this is that it keeps you agile, adding category stuff in your own project and refactoring it out when you think you'll need it)
and the new model object that also directly injects its variables into the binding of the gtpl, which makes it really nice to use:
this means you go: model["address"] = address (for example) in your controller, and you can then just go ${address} in your gtpl.
For *your* particular project, the plugin architecture would help as you can intercept the scriptUri, pull it apart, stick the parameters into the binding and then pass the corrected scriptUri through to the next phase. Easy-peasy. You can do any kind of REST-like stuff with it as well.
But this is of course a departure from Gaelyk itself.
Richard