GithubHelp home page GithubHelp logo

pebbletemplates / pebble-example-spring Goto Github PK

View Code? Open in Web Editor NEW
19.0 19.0 9.0 10.87 MB

Example Application using Spring + Pebble

License: BSD 3-Clause "New" or "Revised" License

Java 74.90% HTML 21.08% CSS 4.01%

pebble-example-spring's People

Contributors

ebussieres avatar mbosecke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pebble-example-spring's Issues

accessing request/session data in spring boot 2

I've set the pebble.exposeRequestAttributes (and session setting) to equal true but not getting anything from {{ request.contextPath }} in my base template.

Using Spring Boot 2 with Session and Security configured. I'd like to switch on whether or not a user is logged in and also display logged in user info. All of the ThemeLeaf examples on the web don't seem to work either so I'm probably missing something but not sure what.

Trying to send Email to user

Hey there !
So I am just starting to work with Pebble & Spring Boot. One of my tasks for a project is to implement an email sender. I notice in your Home.pebble page, you have a form that takes a 'message'. The forms action is /emails. The same goes for the EmailController where your post mapping is also /emails. I am unable to find this 'emails' pebble page.
I am having a hard time figuring out how you're sending an email to a specific user.
Thanks in advance!

I am trying to apply to spring5 legacy

I am trying to apply to spring5 legacy

but
com.mitchellbosecke.pebble.PebbleEngine
com.mitchellbosecke.pebble.spring.servlet.PebbleViewResolver

It is set to bean, but an error occurs in the class setting below.
Please help me

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.