Closed chkal closed 9 years ago
Comment by Santiago Pericas-Geertsen:
In the initial prototype, this is done using extensions and priorities. See JspViewEngine in Ozark's repo.
Comment by Santiago Pericas-Geertsen:
Association is done dynamically via the supports() method in the ViewEngine interface.
Original issue MVC_SPEC-21 created by Santiago Pericas-Geertsen:
MVC should define a mechanism to associate templates with their engines. One such mechanism could be using file extensions (if template stored in a file). For example ".jsp" and the JSP engine.