chkal / mvc-spec-migration-test

0 stars 0 forks source link

Template engine association #21

Closed chkal closed 9 years ago

chkal commented 9 years ago

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.

chkal commented 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.

chkal commented 9 years ago

Comment by Santiago Pericas-Geertsen:

Association is done dynamically via the supports() method in the ViewEngine interface.