Home How to Render a Grails View Without a Layout
Reply: 0

How to Render a Grails View Without a Layout

user341
1#
user341 Published in July 18, 2018, 4:54 am

If you have a controller action, but don't want the view to be rendered with the default layout (in my case layout/main.gsp), is there a render option you can enter into the controller action or something similar?

def comingSoon {
  static layout = none;  //not correct, but something like this?
}
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.328018 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO