Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- final Context ctx = new Context();
- context.setVariable("data", data);
- templateEngine.process(template, context).trim();
- import org.thymeleaf.TemplateEngine;
- import org.thymeleaf.context.Context;
- <html xmlns:th="http://www.thymeleaf.org" th:inline="text" th:remove="tag">
- [[${data.fileName}]][[${T(abc.composer.NoteData).COMPLETED_NO_ERRORS}]]
- </html>
Add Comment
Please, Sign In to add comment