Closed
Description
Antonio Petrelli opened SPR-14311 and commented
When using Tiles 3 in JSP pages, if I have a mutable container I can do:
<tiles:putAttribute name="myname">
<tiles:definition template="...">
</tiles:definition>
</tiles:putAttribute>
This does not work with SpringConfigurer.
It seems that the problem relies in:
TilesConfigurer.SpringTilesContainerFactory.createContainer
The problem is that the DefinitionRenderer takes the non-decorated container.
Solution that I suggest:
override method createDecoratedContainer instead of createContainer.
Workaround: use your own TilesInitializer.
Affects: 4.2.6
Backported to: 4.2.7