Display page in graph without html and body tags

I want to make a page in grails without tags <html>, <head>and <body>, I just want a DIV and a table.

I want to integrate this page on my Facebook page, and the requirement of the Facebook page is that the page should not contain tags <html>, <head>or <body>.

+5
source share
3 answers

You can use the gsp template (the GSP file name begins with "_"). What can you call a controller, use the rendering method.

class MyDomainController{
    def myAction = {
       ...
       render(template:'myTemplate', model: ...)
    }
}
+12
source

layout, <g:layoutBody />.

Grails Web Layer. : , . SiteMesh ( Grails) , . . SiteMesh, , .

+3

Grails , gsp html head tag, gsp , . , grails .

0

All Articles