I’ve got the line:
static layout = "loggedIn"
in one controller, and the loggedIn.gsp layout is used for views in this controller. I included the same line in another controller, but it doesn’t include this layout, rather using main.gsp in the layouts folder. Any thoughts on how I can resolve this / figure out what is going on? Note loggedIn.gsp is in the layouts folder, it is just ignored by the second controller for some reason, which includes the exact same
static layout = "loggedIn"
line
I’d guess that the view has a meta.layout property in it.
Layouts get triggered in this order of precedence:
<meta name="layout" content="main"/>grails.sitemesh.default.layoutpropertyhttp://www.slideshare.net/laelfrog/grails-layouts-sitemesh (slide 19)