Thymeleaf support

Hi

I have interest to aquire the bootstrap studio. I am a spring developer and develop web applications. This framework uses thymeleaf to show your views, using your own tags with HTML5 to display data from the server or to import another HTML pages.

How bootstrap studio works on this case? What will happening with bootstrap studio whether a code like this was be used?

<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3"> <head> <title>Spring Security Example </title> </head> <body> <div th:if="${param.error}"> Invalid username and password. </div> <div th:if="${param.logout}"> You have been logged out. </div> <form th:action="@{/login}" method="post"> <div><label> User Name : <input type="text" name="username"/> </label></div> <div><label> Password: <input type="password" name="password"/> </label></div> <div><input type="submit" value="Sign In"/></div> </form> </body> </html>

1 Like

While it looks like this can be done in the app, one of the things you'll need to realize that scripting is stripped from the project so it does not run within the app it's self. Nor do I think it will run in the Preview if it's expecting server side functioning, you'd have to export to see that take effect.

With this though you can at least do the mark up in the app it appears as I recreated your example in a test project.

In my test export it doesn't seem to have rewritten any of the code so I'd think you'd be safe to use.

Saj