|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.context.support.ApplicationObjectSupport
org.springframework.web.context.support.WebApplicationObjectSupport
org.springframework.web.servlet.view.AbstractView
org.springframework.web.servlet.view.AbstractUrlBasedView
org.codehaus.groovy.grails.web.servlet.view.GroovyPageView
org.codehaus.groovy.grails.scaffolding.view.ScaffoldedGroovyPageView
public class ScaffoldedGroovyPageView
A special Spring View for scaffolding that renders an in-memory scaffolded view to the response.
| Field Summary |
|---|
| Fields inherited from class org.codehaus.groovy.grails.web.servlet.view.GroovyPageView |
|---|
EXCEPTION_MODEL_KEY, template, templateEngine |
| Fields inherited from class org.springframework.web.servlet.view.AbstractView |
|---|
DEFAULT_CONTENT_TYPE |
| Fields inherited from class org.springframework.context.support.ApplicationObjectSupport |
|---|
logger |
| Fields inherited from interface org.springframework.web.servlet.View |
|---|
PATH_VARIABLES, RESPONSE_STATUS_ATTRIBUTE |
| Constructor Summary | |
|---|---|
ScaffoldedGroovyPageView(java.lang.String uri,
java.lang.String contents)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getBeanName()
Used for debug reporting. |
protected void |
initTemplate()
|
protected void |
renderWithTemplateEngine(org.codehaus.groovy.grails.web.pages.GroovyPagesTemplateEngine templateEngine,
java.util.Map model,
javax.servlet.http.HttpServletResponse response,
javax.servlet.http.HttpServletRequest request)
Overrides the default implementation to render a GSP view using an in-memory representation held in the #contents property. |
| Methods inherited from class org.codehaus.groovy.grails.web.servlet.view.GroovyPageView |
|---|
afterPropertiesSet, createGroovyPageException, createResponseWriter, handleException, isExpired, renderMergedOutputModel, setScriptSource, setTemplateEngine |
| Methods inherited from class org.springframework.web.servlet.view.AbstractUrlBasedView |
|---|
checkResource, getUrl, isUrlRequired, setUrl, toString |
| Methods inherited from class org.springframework.web.servlet.view.AbstractView |
|---|
addStaticAttribute, createMergedOutputModel, createRequestContext, createTemporaryOutputStream, exposeModelAsRequestAttributes, generatesDownloadContent, getAttributesMap, getContentType, getRequestContextAttribute, getStaticAttributes, isExposePathVariables, prepareResponse, render, setAttributes, setAttributesCSV, setAttributesMap, setBeanName, setContentType, setExposePathVariables, setRequestContextAttribute, writeToResponse |
| Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport |
|---|
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext |
| Methods inherited from class org.springframework.context.support.ApplicationObjectSupport |
|---|
getApplicationContext, getMessageSourceAccessor, initApplicationContext, requiredContextClass, setApplicationContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ScaffoldedGroovyPageView(java.lang.String uri,
java.lang.String contents)
| Method Detail |
|---|
public java.lang.String getBeanName()
getBeanName in class org.springframework.web.servlet.view.AbstractView
protected void renderWithTemplateEngine(org.codehaus.groovy.grails.web.pages.GroovyPagesTemplateEngine templateEngine,
java.util.Map model,
javax.servlet.http.HttpServletResponse response,
javax.servlet.http.HttpServletRequest request)
throws java.io.IOException
renderWithTemplateEngine in class org.codehaus.groovy.grails.web.servlet.view.GroovyPageViewtemplateEngine - The GroovyPagesTemplateEngine instancemodel - The modelresponse - The HttpServletResponse instance
java.io.IOException - Thrown if there was an IO error rendering the view
protected void initTemplate()
throws java.io.IOException
initTemplate in class org.codehaus.groovy.grails.web.servlet.view.GroovyPageViewjava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||