Implemented juplo:variables, that imports variables from JSON-data
authorKai Moritz <kai@juplo.de>
Sat, 18 Jun 2016 10:26:02 +0000 (12:26 +0200)
committerKai Moritz <kai@juplo.de>
Mon, 18 Jul 2016 14:54:59 +0000 (16:54 +0200)
commit5059ccf31513c67ef6fce671c3385888b92c4a86
tree7fb05b2ad8687dca6153ab08c1a391baddf6760a
parent472c3d082ae6d6bebf44815c76871502eae88f02
Implemented juplo:variables, that imports variables from JSON-data

The processor interprets its argument as name of a thymeleaf-template and
parses the retrieved template as JSON-data. The root-element of the JSON-
data has to be an object. The variables, that are defined in this object,
are imported as node-local variables.
pom.xml
src/main/java/de/juplo/thymeleaf/ImportVariablesAttrProcessor.java [new file with mode: 0644]
src/main/java/de/juplo/thymeleaf/JuploDialect.java