-
-
Notifications
You must be signed in to change notification settings - Fork 953
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grails 7.0.0-M1 - Application with layout within a layout throws grails exception #13988
Comments
This also explains what i what i am doing - https://blog.mrhaki.com/2011/04/grails-goodness-applying-layouts-in.html?m=1 I'm getting an error in Grails 7.0.0-M1 |
Just discovered codeconsole/grails-plugin-sitemesh3#3 which I think is related Don't seem to be able to apply nested layouts using nested tags though - the outer one is ignored |
@codeconsole can you think of other workarounds? |
Hi in case it's of use to anybody else - I have managed to engineer a workaround for by leveraging the Site Mesh class MetaTagBasedDecoratorSelector which has support for chaining layouts if you specify them comma separated. So, e.g, rather than having page1.gsp have a meta tag Instead I have a meta tag in page1.gsp thus:
and I removed the That appears to facilitate template chaining. I.e. having a layout use a layout |
Expected Behavior
I can embed layouts within layouts
This worked in Grail 6
Actual Behaviour
Get an error:
Steps To Reproduce
Environment Information
WSL2
Temurin JDK 17.14
example700M1Web_layout.zip
Example Application
No response
Version
7.0.0-M1
The text was updated successfully, but these errors were encountered: