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

Document MVEL limitation regarding file resolution #2549

Closed
tsegismont opened this issue Dec 22, 2023 · 1 comment
Closed

Document MVEL limitation regarding file resolution #2549

tsegismont opened this issue Dec 22, 2023 · 1 comment
Assignees
Milestone

Comments

@tsegismont
Copy link
Contributor

tsegismont commented Dec 22, 2023

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
Copy link
Contributor Author

Fixed by 17a04c0

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

No branches or pull requests

1 participant