sitebricks icon indicating copy to clipboard operation
sitebricks copied to clipboard

How about use annotation to indicate template engine instead of file extention?

Open djunhao opened this issue 11 years ago • 1 comments

file extention just uses .html/.htm, and java class uses annotation like this:

@Show(template="SomePage.html", engine="mvel")
public class SomePage {}

djunhao avatar Mar 11 '13 09:03 djunhao

Hmm, not a bad idea. Might take some doing to plumb it right through though. Do you want to submit a PR?

dhanji avatar Mar 20 '13 03:03 dhanji