Letractively / jcatapult

Automatically exported from code.google.com/p/jcatapult
0 stars 0 forks source link

Add convention for different URI extensions #70

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Currently, if you make a request such as:

  /foo/bar.ajax

the same convention will be used as for:

  /foo/bar

resulting in this FLT being rendered:

  /WEB-INF/content/foo/bar.ftl

There should be a convention that provides an easy way for have different
results for different extensions. This will still fall back to the current
schema. The new convention will first look for an FTL file such as:

  /WEB-INF/content/foo/bar-ajax.ftl

before falling back to:

  /WEB-INF/content/foo/bar.ftl

Original issue reported on code.google.com by bpontare...@gmail.com on 4 Aug 2008 at 6:55

GoogleCodeExporter commented 8 years ago

Original comment by bpontare...@gmail.com on 4 Aug 2008 at 6:58

GoogleCodeExporter commented 8 years ago
Added this support to the MVC in revision 1513.

Original comment by bpontare...@gmail.com on 4 Aug 2008 at 7:42

GoogleCodeExporter commented 8 years ago

Original comment by leafkn...@gmail.com on 10 Sep 2008 at 8:16