Qute: user defined tags not working with .qute.html extension
See original GitHub issueDescribe the bug
Qute is using by convention extension .qute.html for templates
For example we have admin template /src/main/resources/templates/Admin/admin.qute.html
and it works out of the box.
We can’t do the same with user defined tags.
Expected behavior
Adding template /src/main/resources/templates/tags/validation.qute.html
should register tag validation
Actual behavior
Only template/src/main/resources/templates/tags/validation.html
is registering tag validation
How to Reproduce?
No response
Output of uname -a
or ver
No response
Output of java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
Build tool (ie. output of mvnw --version
or gradlew --version
)
No response
Additional information
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
Qute Reference Guide - Quarkus
Qute is a templating engine designed specifically to meet the Quarkus needs. The usage of reflection is minimized to reduce the size of...
Read more >Is it possible to use Qute templates in a custom extension?
Here is a solution: Put resources/templates/hello.html and this class in the deployment part of your custom extension. import java.io.
Read more >Qute Reference Guide - Quarkus
Expressions/tags starting with an invalid identifier are ignored. A closing curly bracket ( } ) is ignored if not inside an expression/tag. hello.html....
Read more >Quarkus Qute – A Test Ride - Gunnar Morling
Being mostly experienced with Java, server-side solutions are appealing to me, as they allow me to use the language I know and tooling...
Read more >Fix common formatting issues for custom parameters
If you're unsure, use the Google Tag Assistant chrome extension to verify ... Either single or double quotes will work, but should always...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@mkouba PR is ready: https://github.com/quarkusio/quarkus/pull/23330
I’ve found duplicated logic in EngineProducer