|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectorg.grails.plugin.vaadin.gsp.GspResourcePageRenderer
class GspResourcePageRenderer
Similar to grails.gsp.PageRender, which is included in grails 2.0.x. However, it includes a few enhancements:
Field Summary | |
---|---|
protected org.codehaus.groovy.grails.web.pages.GroovyPagesTemplateEngine |
templateEngine
|
Property Summary | |
---|---|
org.springframework.context.ApplicationContext |
applicationContext
|
org.codehaus.groovy.grails.web.pages.discovery.GroovyPageStaticResourceLocator |
grailsResourceLocator
|
org.codehaus.groovy.grails.web.pages.discovery.GrailsConventionGroovyPageLocator |
groovyPageLocator
|
def |
log
|
ServletContext |
servletContext
|
Constructor Summary | |
GspResourcePageRenderer(org.codehaus.groovy.grails.web.pages.GroovyPagesTemplateEngine templateEngine)
|
Method Summary | |
---|---|
String
|
render(Map args)
Renders a page and returns the contents |
void
|
renderTo(Map args, java.io.Writer writer)
Renders a page and returns the contents |
void
|
renderTo(Map args, java.io.OutputStream stream)
Renders a page and returns the contents |
protected void
|
renderToWriter(Map args, java.io.Writer writer)
Internal method - renders a page and returns the contents. |
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
protected org.codehaus.groovy.grails.web.pages.GroovyPagesTemplateEngine templateEngine
Property Detail |
---|
org.springframework.context.ApplicationContext applicationContext
org.codehaus.groovy.grails.web.pages.discovery.GroovyPageStaticResourceLocator grailsResourceLocator
org.codehaus.groovy.grails.web.pages.discovery.GrailsConventionGroovyPageLocator groovyPageLocator
def log
ServletContext servletContext
Constructor Detail |
---|
GspResourcePageRenderer(org.codehaus.groovy.grails.web.pages.GroovyPagesTemplateEngine templateEngine)
Method Detail |
---|
String render(Map args)
args
- The named arguments
void renderTo(Map args, java.io.Writer writer)
args
- The named argumentswriter
- The target writer
void renderTo(Map args, java.io.OutputStream stream)
args
- The named argumentsstream
- The target stream
protected void renderToWriter(Map args, java.io.Writer writer)
args
- The named argumentswriter
- The target writer
Groovy Documentation