vert-x3 / vertx-web

HTTP web applications for Vert.x
Apache License 2.0
1.11k stars 535 forks source link

Document MVEL limitation regarding file resolution #2549

Closed tsegismont closed 11 months ago

tsegismont commented 11 months ago

You may include a template file into an MVEL template using @include{}, as long as the templates reside on the filesystem.

Template inclusion doesn't work if the templates are loaded from the classpath using the Vert.x file resolver.

This is a limitation of the MVEL engine: some other engines let Vert.x plug in a custom template file resolver, MVEL doesn't.

tsegismont commented 11 months ago

Fixed by 17a04c0ca