thymeleaf / thymeleaf-extras-tiles2

Thymeleaf integration with Apache Tiles 2.x
http://www.thymeleaf.org
36 stars 18 forks source link

Is there an equivalent to tiles:insertDefinition #12

Closed floriankammermann closed 11 years ago

floriankammermann commented 11 years ago

I have several definitions which building the with preparer, jsp-fragments and hook them together. At the ende I insert them into the layout definition with an tiles:insertDefinition tag.

floriankammermann commented 11 years ago

Ok, was a problem in my tiles definition, its not thymeleaf-tiles2 related. I migrate from tiles1 to tiles2 and didn't see that I need to put the definition as attribute. In tiles1 you could access a definition with tiles:insert from everywhere. Now it works with tiles:include.