Hi all,
I'm using Tiles 2.1.1 + JSP + Spring MVC 3.0. I'm new to Tiles, coming from JSF + Facelets so my question may be a bit noob...
I have a master page standard.jsp which inserts a "body" template and a "header" template. I'm attempting to use a pageTitle attribute in both the master page and the header template, but I'd like to define it in the body template.
In the master page, I'm using and in the body I'm using . However, Tiles claims to not be able to find my attribute.
I'm guessing that this be because Tiles starts rendering me master page and only then attempts to load the body, so by the time I'm putting the title attribute, the area that's using it has already been rendered.
Am I correct? Is there any way to get around this other than defining the title in the Controller before the page gets rendered? This WAS possible in Facelets, so that's why I'm asking...
Thanks