Guest User

Untitled

a guest
Jan 17th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. final Context ctx = new Context();
  2. context.setVariable("data", data);
  3. templateEngine.process(template, context).trim();
  4.  
  5. import org.thymeleaf.TemplateEngine;
  6. import org.thymeleaf.context.Context;
  7.  
  8. <html xmlns:th="http://www.thymeleaf.org" th:inline="text" th:remove="tag">
  9. [[${data.fileName}]][[${T(abc.composer.NoteData).COMPLETED_NO_ERRORS}]]
  10. </html>
Add Comment
Please, Sign In to add comment