Giter Site home page Giter Site logo

Comments (5)

dtrunk90 avatar dtrunk90 commented on August 15, 2024

Hi, I cannot reproduce your issue. Which Jawr version are you using? Try upgrading to 3.9 if necessary. You can take a look into my example webapp here.

EDIT/FYI: Your issue seems to be a part of Jawr itself as this Thymeleaf dialect doesn't set a debug parameter anywhere. It just renders what Jawr returns.

from thymeleaf-jawr-extension.

arapost-bmj avatar arapost-bmj commented on August 15, 2024

Hi,

Thanks for the response. I managed to solve the problem. It seems was a problem with the yaml format. I had it in the common yaml format:
jawr:
debug:
on: true
gzip:
on: false
I checked multiple times for indent issues or any other formatting issue, couldn't find anything. When I changed the format in my yaml to the following for jawr properties:
jawr.debug.on: true
jawr.gzip.on: false
the properties were picked up. It remains a mystery to me, but I can leave with that.
Thanks, I am closing this issue.

from thymeleaf-jawr-extension.

arapost-bmj avatar arapost-bmj commented on August 15, 2024

Hi,

Thanks for the response. I managed to solve the problem. It seems was a problem with the yaml format. I had it in the common yaml format:
jawr:
debug:
on: true
gzip:
on: false
I checked multiple times for indent issues or any other formatting issue, couldn't find anything. When I changed the format in my yaml to the following for jawr properties:
jawr.debug.on: true
jawr.gzip.on: false
the properties were picked up. It remains a mystery to me, but I can live with that.
Thanks, I am closing this issue.

from thymeleaf-jawr-extension.

dtrunk90 avatar dtrunk90 commented on August 15, 2024

Well, that sounds to be a side effect to put all the jawr properties into a map: https://github.com/j-a-w-r/jawr-main-repo/blob/master/jawr-spring/jawr-spring-extension/src/main/java/net/jawr/web/autoconfigure/JawrProperties.java

In the time of writing I was too lazy to write all the possible properties down into that class. Please open up a ticket there. Maybe me or any other will write down all the stuff then to be able to use a correct yaml style.

from thymeleaf-jawr-extension.

arapost-bmj avatar arapost-bmj commented on August 15, 2024

Thanks, that sounds sensible, I will raise an issue on the repo.

from thymeleaf-jawr-extension.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.