|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.web.servlet.view.InternalResourceViewResolver org.codehaus.groovy.grails.web.servlet.view.GrailsViewResolver org.codehaus.groovy.grails.scaffolding.view.ScaffoldingViewResolver
public class ScaffoldingViewResolver extends GrailsViewResolver
Overrides the default Grails view resolver and resolves scaffolded views at runtime.
Field Summary |
---|
Fields inherited from class GrailsViewResolver | |
---|---|
GSP_SUFFIX, JSP_SUFFIX, templateEngine |
Method Summary | |
---|---|
static void
|
clearViewCache()
Clears any cached scaffolded views. |
protected View
|
createScaffoldedView(java.lang.String viewName, java.lang.String viewCode)
|
protected java.lang.String
|
generateViewSource(GrailsWebRequest webRequest, GrailsDomainClass domainClass)
|
protected View
|
loadView(java.lang.String viewName, java.util.Locale locale)
|
void
|
setScaffoldedActionMap(java.util.Map scaffoldedActionMap)
|
void
|
setScaffoldedDomains(java.util.Map scaffoldedDomains)
|
void
|
setTemplateGenerator(GrailsTemplateGenerator templateGenerator)
|
Methods inherited from class GrailsViewResolver | |
---|---|
loadView, resolveViewForController, setPluginManager, setPrefix, setResourceLoader, setTemplateEngine |
Method Detail |
---|
public static void clearViewCache()
protected View createScaffoldedView(java.lang.String viewName, java.lang.String viewCode)
protected java.lang.String generateViewSource(GrailsWebRequest webRequest, GrailsDomainClass domainClass)
@Override protected View loadView(java.lang.String viewName, java.util.Locale locale)
@SuppressWarnings({ "unchecked", "rawtypes" }) public void setScaffoldedActionMap(java.util.Map scaffoldedActionMap)
@SuppressWarnings({ "unchecked", "rawtypes" }) public void setScaffoldedDomains(java.util.Map scaffoldedDomains)
public void setTemplateGenerator(GrailsTemplateGenerator templateGenerator)
Groovy Documentation