sitebricks
sitebricks copied to clipboard
How about use annotation to indicate template engine instead of file extention?
file extention just uses .html/.htm, and java class uses annotation like this:
@Show(template="SomePage.html", engine="mvel")
public class SomePage {}
Hmm, not a bad idea. Might take some doing to plumb it right through though. Do you want to submit a PR?