juplo:variables parses its parameter as JSON and can merge variable-defs
authorKai Moritz <kai@juplo.de>
Thu, 7 Jul 2016 11:42:56 +0000 (13:42 +0200)
committerKai Moritz <kai@juplo.de>
Mon, 18 Jul 2016 15:07:00 +0000 (17:07 +0200)
commit9df75bd83c2fd73df2aefdbb796424caccac6d4d
tree51d1c428473f407dddf8e23710de8fc9960b5c9f
parent5059ccf31513c67ef6fce671c3385888b92c4a86
juplo:variables parses its parameter as JSON and can merge variable-defs

 * If the parameter can be interpreted as valid JSON, juplo:variables uses
   it directly as input.
 * The parameter accepts special keywords, that controll, if variables, that
   have been imported earlier, by a call to juplo:variables from an
   ancestor-tag, will be merged or simply overwritten.
pom.xml
src/main/java/de/juplo/thymeleaf/ImportVariablesAttrProcessor.java
src/test/java/de/juplo/thymeleaf/ImportVariablesAttrProcessorTest.java [new file with mode: 0644]
src/test/resources/json/1.json [new file with mode: 0644]
src/test/resources/json/2.json [new file with mode: 0644]
src/test/resources/json/3.json [new file with mode: 0644]