Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
djunhao opened this issue Mar 11, 2013 · 1 comment

Comments

@djunhao
Copy link

djunhao commented Mar 11, 2013

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

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

dhanji commented Mar 20, 2013

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants