I have been playing with Play!Framework recently (I will hopefully write more about this in the future), but the documentation is horrible!
I was interested in seeing if there was a better way to organise custom HTML template tags in the tags folder, in order to prevent any clashes in my templates. Non of the documentation explicitly explains how to do so; the only references as such only refer to writing custom Tags in Java and annotating with @FastTags.Namespace.
On a hunch, however, I tried creating a child folder in my Tags folder, and treated that as a namespace (as in Java) and it worked! For example:
#{admin.widget /}
would look for the HTML Template Tag as
/app/views/tags/admin/section.html
or
/app/views/tags/admin/section.tag
Hopefully this helps someone else who comes across this requirement in their project. Note that this might have side-effects that I am unaware of (other than clashes with existing template tags, or custom Java tags). As far as I’m aware, this is an unsupported feature of the template engine, so use at your own risk I suppose.